eagle-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-521) Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.
Date Fri, 02 Sep 2016 00:15:22 GMT

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

ASF GitHub Bot commented on EAGLE-521:
--------------------------------------

GitHub user pkuwm opened a pull request:

    https://github.com/apache/incubator-eagle/pull/415

    [EAGLE-521] Remove envContextConfig.env in SparkRunningJobAppConfig f…

    …or SparkRunningJobApp.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pkuwm/incubator-eagle EAGLE-521

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-eagle/pull/415.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #415
    
----
commit cdb5a82b2de5eafbeea6ad579636d36e444ec2fe
Author: pkuwm <ihuizhi.lu@gmail.com>
Date:   2016-09-02T00:14:14Z

    [EAGLE-521] Remove envContextConfig.env in SparkRunningJobAppConfig for SparkRunningJobApp.

----


> 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