Handling unknown command
------------------------
Key: HAMA-90
URL: https://issues.apache.org/jira/browse/HAMA-90
Project: Hama
Issue Type: Improvement
Components: scripts
Reporter: Edward J. Yoon
Fix For: 0.1.0
If we type unknown command, Usage shoulde be printed instead of
NoClassDefFoundError.
----
[EMAIL PROTECTED] hama-trunk]# bin/hama example addition -m 2 -r 1 2 2
Exception in thread "main" java.lang.NoClassDefFoundError: example
Caused by: java.lang.ClassNotFoundException: example
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: example. Program will exit.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.