Example driver should check the arguments
-----------------------------------------
Key: HAMA-101
URL: https://issues.apache.org/jira/browse/HAMA-101
Project: Hama
Issue Type: New Feature
Components: scripts
Reporter: Edward J. Yoon
Fix For: 0.1.0
[EMAIL PROTECTED] ~/hama-trunk $ bin/hama examples
An example program must be given as the first argument.
Valid program names are:
add: matrix-matrix addition.
mult: matrix-matrix multiplication.
java.lang.IllegalArgumentException: An example program must be given as the
first argument.
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:123)
at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.