[ 
https://issues.apache.org/jira/browse/SPARK-16169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manish Kumar updated SPARK-16169:
---------------------------------
    Description: 
When a spark application is written in scala trying to save intermediate 
dataframe, the application is taking processing almost 5 times. 

Although the spark-UI clearly shows that all stages are completed but the spark 
application remains in running status.

Below is the command for saving the intermediate output and then using the 
dataframe.

{noformat}
saveDataFrame(flushPath, flushFormat, isCoalesce, flushMode, previousDataFrame, 
sqlContext)
previousDataFrame
{noformat}

here, previousDataFrame is the result of the last step and saveDataFrame is 
just saving the DataFrame as given location, then the previousDataFrame will be 
used by next steps/transformation. 




  was:
When, a spark application written in scala trying to save intermediate 
dataframe, the application is taking processing almost 5 times. 

Although the spark-UI clearly shows that all stages are completed but the spark 
apllication remains in running status.

Below is the command for saving intermediate output and than using the 
dataframe.

{noformat}
saveDataFrame(flushPath, flushFormat, isCoalesce, flushMode, previousDataFrame, 
sqlContext)
previousDataFrame
{noformat}

here, previousDataFrame is the result of the last step and saveDataFrame is 
just saving the DataFrame as given location, then the previousDataFrame will be 
used by next steps/transformation. 

Also there is some issue with SPARK UI. Please see below:





> Saving Intermediate dataframe increasing processing time upto 5 times.
> ----------------------------------------------------------------------
>
>                 Key: SPARK-16169
>                 URL: https://issues.apache.org/jira/browse/SPARK-16169
>             Project: Spark
>          Issue Type: Question
>          Components: Spark Submit, Web UI
>    Affects Versions: 1.6.1
>         Environment: Amazon EMR
>            Reporter: Manish Kumar
>              Labels: performance
>
> When a spark application is written in scala trying to save intermediate 
> dataframe, the application is taking processing almost 5 times. 
> Although the spark-UI clearly shows that all stages are completed but the 
> spark application remains in running status.
> Below is the command for saving the intermediate output and then using the 
> dataframe.
> {noformat}
> saveDataFrame(flushPath, flushFormat, isCoalesce, flushMode, 
> previousDataFrame, sqlContext)
> previousDataFrame
> {noformat}
> here, previousDataFrame is the result of the last step and saveDataFrame is 
> just saving the DataFrame as given location, then the previousDataFrame will 
> be used by next steps/transformation. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to