You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/06/04 17:05:59 UTC

[jira] [Reopened] (SPARK-15564) App name is the main class name in Spark streaming jobs

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

Sean Owen reopened SPARK-15564:
-------------------------------

I don't see a local master specified here, but, OK I think the change you have in mind is probably a good one no matter what. You can go ahead.

> App name is the main class name in Spark streaming jobs
> -------------------------------------------------------
>
>                 Key: SPARK-15564
>                 URL: https://issues.apache.org/jira/browse/SPARK-15564
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.1
>            Reporter: Steven Lowenthal
>            Priority: Minor
>
> I've tried everything to set the app name to something other than the class name of the job, but spark reports the application name as the class.  This adversely affects the ability to monitor jobs, we can't have dots in the reported app name. 
> {code:title=job.scala}
>   val defaultAppName = "NDS Transform"
>    conf.setAppName(defaultAppName)
>    println (s"App Name: ${conf.get("spark.app.name")}")
>   ...
>   val ssc = new StreamingContext(conf, streamingBatchWindow)
> {code}
> {code:title=output}
> App Name: NDS Transform
> {code}
> Application ID                            Name
> app-20160526161230-0017 (kill)  com.gracenote.ongo.spark.NDSStreamAvro



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

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