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] [Created] (EAGLE-521) Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.
Date Fri, 02 Sep 2016 00:03:20 GMT
Huizhi Lu created EAGLE-521:
-------------------------------

             Summary: Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.
                 Key: EAGLE-521
                 URL: https://issues.apache.org/jira/browse/EAGLE-521
             Project: Eagle
          Issue Type: Bug
            Reporter: Huizhi Lu
            Assignee: Huizhi Lu


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