You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gearpump.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/04 03:48:58 UTC
[jira] [Commented] (GEARPUMP-254) gearpump.yarn.user field in
gear.conf is obligatory while spawning Gearpump on Yarn
[ https://issues.apache.org/jira/browse/GEARPUMP-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15797066#comment-15797066 ]
ASF GitHub Bot commented on GEARPUMP-254:
-----------------------------------------
GitHub user huafengw opened a pull request:
https://github.com/apache/incubator-gearpump/pull/128
[GEARPUMP-254] fix gearpump on Yarn
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the commit message is formatted like:
`[GEARPUMP-<Jira issue #>] Meaningful description of pull request`
- [ ] Make sure tests pass via `sbt clean test`.
- [ ] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/huafengw/incubator-gearpump fixYarn
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-gearpump/pull/128.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 #128
----
commit f40bedf916864c4ac5b573287c6429a7b2ce8892
Author: huafengw <fv...@gmail.com>
Date: 2017-01-04T03:27:16Z
[GEARPUMP-254] fix gearpump on Yarn
----
> gearpump.yarn.user field in gear.conf is obligatory while spawning Gearpump on Yarn
> -----------------------------------------------------------------------------------
>
> Key: GEARPUMP-254
> URL: https://issues.apache.org/jira/browse/GEARPUMP-254
> Project: Apache Gearpump
> Issue Type: Bug
> Reporter: Piotr Grabuszynski
> Priority: Trivial
>
> This option should probably be optional. When I try to create instance on yarn w/o changing gear.conf file, such error occurs: {code}
> [ClusterConfig$] loading config file application.conf...
> Help:
> -package (required:false, default:)<Please specify the gearpump.zip package path on HDFS. If not specified, we will use default value /user/gearpump/gearpump.zip>
> -name (required:false, default:Gearpump)<Application name showed in YARN>
> -verbose (required:false, default:false)<print verbose log on console>
> -output (required:false, default:)<output path for configuration file>
> Exception in thread "main" com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'gearpump.yarn.user'
> at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:152)
> at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170)
> at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:176)
> at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:176)
> at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184)
> at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)
> at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:246)
> at org.apache.gearpump.experiments.yarn.client.LaunchCluster$.main(LaunchCluster.scala:188)
> at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
> at org.apache.gearpump.util.AkkaApp$$anonfun$main$1.apply(AkkaApp.scala:42)
> at scala.util.Try$.apply(Try.scala:192)
> at org.apache.gearpump.util.AkkaApp$class.main(AkkaApp.scala:41)
> at org.apache.gearpump.experiments.yarn.client.LaunchCluster$.main(LaunchCluster.scala:160)
> at org.apache.gearpump.experiments.yarn.client.Client$.main(Client.scala:49)
> at org.apache.gearpump.experiments.yarn.client.Client.main(Client.scala)
> {code}
> When value for key gearpump.yarn.user is set, I get another error: GEARPUMP-253
> commit used: 1bf6a9ba8fa774b985fcd90a5d6bef129a4fb9a5
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)