Skip to content

Instantly share code, notes, and snippets.

@byronyi
Created December 29, 2015 08:39
Show Gist options
  • Select an option

  • Save byronyi/cef726eac9cc122a2cc6 to your computer and use it in GitHub Desktop.

Select an option

Save byronyi/cef726eac9cc122a2cc6 to your computer and use it in GitHub Desktop.
$ yarn jar target/ml-0.0.1-SNAPSHOT.jar com.tencent.ml.example.LDA.LDA job.xml
15/12/29 16:38:31 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
15/12/29 16:38:32 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8032
Exception in thread "main" java.io.IOException: java.lang.IllegalArgumentException: Can not create a Path from a null string
at com.tencent.ml.client.yarn.AngelYarnClient.submitApplication(AngelYarnClient.java:186)
at com.tencent.ml.example.LDA.LDA.main(LDA.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.IllegalArgumentException: Can not create a Path from a null string
at org.apache.hadoop.fs.Path.checkPathArg(Path.java:122)
at org.apache.hadoop.fs.Path.<init>(Path.java:134)
at com.tencent.ml.client.yarn.AngelYarnClient.submitApplication(AngelYarnClient.java:117)
... 7 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment