Skip to content

Commit 02fb255

Browse files
Reconfigure the structure
1 parent f086568 commit 02fb255

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

chapters/apache-spark-distributed-execution.tex

+37-37
Original file line numberDiff line numberDiff line change
@@ -730,43 +730,43 @@ \subsection{Repartition vs. Coalesce}\label{subsec:repartition-vs-coalesce}
730730
\end{lstlisting}
731731

732732
\end{frame}
733-
%
734-
%\begin{frame}[fragile]
735-
% \frametitle{High-Level Code: Coalesce}
736-
% \begin{itemize}
737-
% \item \textbf{Key Points}:
738-
% \begin{itemize}
739-
% \item \textbf{Shuffle}: Optional; can perform a shuffle if `shuffle = true`.
740-
% \item \textbf{No Shuffle}: Default behavior (without shuffle) merges partitions locally.
741-
% \item \textbf{Usage}: Efficient for reducing the number of partitions without shuffling.
742-
% \end{itemize}
743-
% \end{itemize}
744-
%\end{frame}
745-
%
746-
%
747-
%
748-
%
749-
%\begin{frame}
750-
% \frametitle{High-Level Code: Coalesce}
751-
%
752-
% \begin{itemize}
753-
% \begin{itemize}
754-
% \item \textbf{Operation}: Can operate with or without shuffle.
755-
% \item \textbf{Process}:
756-
% \begin{itemize}
757-
% \item \textbf{No Shuffle (default)}: Merges partitions locally.
758-
% \item \textbf{With Shuffle}: Performs a shuffle for even data distribution if specified.
759-
% \end{itemize}
760-
% \item \textbf{Impact on Logs}:
761-
% \begin{itemize}
762-
% \item Decreased log entries when merging locally without shuffle.
763-
% \item Lower overhead and cost.
764-
% \item Efficient for reducing partitions, especially useful for write operations.
765-
% \item Optional shuffle provides flexibility for balanced distribution.
766-
% \end{itemize}
767-
% \end{itemize}
768-
% \end{itemize}
769-
%\end{frame}
733+
734+
\begin{frame}[fragile]
735+
\frametitle{High-Level Code: Coalesce}
736+
\begin{itemize}
737+
\item \textbf{Key Points}:
738+
\begin{itemize}
739+
\item \textbf{Shuffle}: Optional; can perform a shuffle if `shuffle = true`.
740+
\item \textbf{No Shuffle}: Default behavior (without shuffle) merges partitions locally.
741+
\item \textbf{Usage}: Efficient for reducing the number of partitions without shuffling.
742+
\end{itemize}
743+
\end{itemize}
744+
\end{frame}
745+
746+
747+
748+
749+
\begin{frame}
750+
\frametitle{High-Level Code: Coalesce}
751+
752+
\begin{itemize}
753+
\begin{itemize}
754+
\item \textbf{Operation}: Can operate with or without shuffle.
755+
\item \textbf{Process}:
756+
\begin{itemize}
757+
\item \textbf{No Shuffle (default)}: Merges partitions locally.
758+
\item \textbf{With Shuffle}: Performs a shuffle for even data distribution if specified.
759+
\end{itemize}
760+
\item \textbf{Impact on Logs}:
761+
\begin{itemize}
762+
\item Decreased log entries when merging locally without shuffle.
763+
\item Lower overhead and cost.
764+
\item Efficient for reducing partitions, especially useful for write operations.
765+
\item Optional shuffle provides flexibility for balanced distribution.
766+
\end{itemize}
767+
\end{itemize}
768+
\end{itemize}
769+
\end{frame}
770770
%
771771
%\subsection{Understanding Spark Application Concepts}\label{subsec:understanding-spark-application-concepts}
772772
%

0 commit comments

Comments
 (0)