Piotr Grabuszynski created GEARPUMP-254:
-------------------------------------------

             Summary: 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)

Reply via email to