incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Re: [jira] Commented: (HAMA-90) Handling unknown command
Date Thu, 23 Oct 2008 06:42:41 GMT
>> You can't have your cake and eat it too.

:-) Hmm... Yes.....
Then, Should it be closed?

/Edward

On Thu, Oct 23, 2008 at 3:32 PM, Samuel Guo (JIRA) <jira@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/HAMA-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642075#action_12642075
]
>
> Samuel Guo commented on HAMA-90:
> --------------------------------
>
> hmm, forget my first comment.
> You can't have your cake and eat it too.
>
> we just let it to run a CLASS like what hadoop's script do.
>
>> 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
>>            Assignee: Samuel Guo
>>             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.
>
>



-- 
Best regards, Edward J. Yoon
edwardyoon@apache.org
http://blog.udanax.org

Mime
View raw message