incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HAMA-90) Handling unknown command
Date Thu, 23 Oct 2008 05:30:45 GMT

    [ https://issues.apache.org/jira/browse/HAMA-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642058#action_12642058
] 

Edward J. Yoon commented on HAMA-90:
------------------------------------

Oh.... I found a ' CLASSNAME        run the class named CLASSNAME'.
It seems difficult problem.


> 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.
> ----
> [root@udanax 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.


Mime
View raw message