You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/06/12 05:11:00 UTC

[jira] [Comment Edited] (SPARK-25246) When the spark.eventLog.compress is enabled, the Application is not showing in the History server UI ('incomplete application' page), initially.

    [ https://issues.apache.org/jira/browse/SPARK-25246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861755#comment-16861755 ] 

Dongjoon Hyun edited comment on SPARK-25246 at 6/12/19 5:10 AM:
----------------------------------------------------------------

Hi, [~shahid]. As [~devaraj.k] mentioned, you can use a different codec. The following is the `snappy` codec case, and I can see the entry from the Spark History UI from 2.3.3. The reported case is just the behavior of LZ4 codec although it's a default to the Spark.
{code}
$ bin/spark-shell --conf spark.eventLog.compress=true --conf spark.io.compression.codec=snappy
2019-06-11 22:04:26 WARN  NativeCodeLoader:62 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Spark context Web UI available at http://localhost:4040
Spark context available as 'sc' (master = local[*], app id = local-1560315870593).
Spark session available as 'spark'.
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 2.3.3
      /_/

Using Scala version 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_212)
Type in expressions to have them evaluated.
Type :help for more information.

scala>
{code}


was (Author: dongjoon):
Hi, [~shahid]. As [~devaraj.k] mentioned, you can use a different codec. The following is the `snappy` codec case, and I can see the entry from the Spark History UI from 2.3.3. It's the behavior of LZ4.
{code}
$ bin/spark-shell --conf spark.eventLog.compress=true --conf spark.io.compression.codec=snappy
2019-06-11 22:04:26 WARN  NativeCodeLoader:62 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Spark context Web UI available at http://localhost:4040
Spark context available as 'sc' (master = local[*], app id = local-1560315870593).
Spark session available as 'spark'.
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 2.3.3
      /_/

Using Scala version 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_212)
Type in expressions to have them evaluated.
Type :help for more information.

scala>
{code}

> When the spark.eventLog.compress is enabled, the Application is not showing in the History server UI ('incomplete application' page), initially.
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25246
>                 URL: https://issues.apache.org/jira/browse/SPARK-25246
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.1
>            Reporter: shahid
>            Priority: Major
>
> 1) bin/spark-shell --master yarn --conf "spark.eventLog.compress=true" 
> 2) hdfs dfs -ls /spark-logs 
> {code:java}
> -rwxrwx---   1 root supergroup          *0* 2018-08-27 03:26 /spark-logs/application_1535313809919_0005.lz4.inprogress
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org