eagle-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huizhi Lu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (EAGLE-521) Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.
Date Fri, 02 Sep 2016 03:08:20 GMT

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

Huizhi Lu resolved EAGLE-521.
-----------------------------
    Resolution: Fixed

> Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.
> -------------------------------------------------------------------------------
>
>                 Key: EAGLE-521
>                 URL: https://issues.apache.org/jira/browse/EAGLE-521
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Huizhi Lu
>            Assignee: Huizhi Lu
>             Fix For: v0.5.0
>
>
> Sparking running app fails to run in cluster mode.
> LOG:
> 272  [main] INFO  org.apache.eagle.app.environment.ExecutionRuntimeManager - Created
new execution runtime org.apache.eagle.app.environment.impl.StormExecutionRuntime@74650e52
for environment: org.apache.eagle.app.environment.impl.StormEnvironment@9d15d03c
> Exception in thread "main" com.typesafe.config.ConfigException$Missing: No configuration
setting found for key 'envContextConfig.env'
>        	at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)
>        	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145)
>        	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151)
>        	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)
>        	at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)
>        	at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)
>        	at org.apache.eagle.jpm.spark.running.SparkRunningJobAppConfig.init(SparkRunningJobAppConfig.java:153)
>        	at org.apache.eagle.jpm.spark.running.SparkRunningJobAppConfig.getInstance(SparkRunningJobAppConfig.java:147)
>        	at org.apache.eagle.jpm.spark.running.SparkRunningJobApp.execute(SparkRunningJobApp.java:33)
>        	at org.apache.eagle.jpm.spark.running.SparkRunningJobApp.execute(SparkRunningJobApp.java:29)
>        	at org.apache.eagle.app.environment.impl.StormExecutionRuntime.start(StormExecutionRuntime.java:100)
>        	at org.apache.eagle.app.AbstractApplication.run(AbstractApplication.java:26)
>        	at org.apache.eagle.app.ApplicationTool.run(ApplicationTool.java:32)
>        	at org.apache.eagle.jpm.spark.running.SparkRunningJobMain.main(SparkRunningJobMain.java:23)
> Solution:
> Since the execution environment has been set with "mode" : "local" in application framework,
we should remove envContext.env config in SparkRunningJobAppConfig.



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

Mime
View raw message