You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/09/14 21:15:34 UTC
[jira] [Moved] (HADOOP-11092) hdfs command does not explicitely
complain that the command I am trying to run is not valid
[ https://issues.apache.org/jira/browse/HADOOP-11092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer moved HDFS-2565 to HADOOP-11092:
-------------------------------------------------
Component/s: (was: scripts)
scripts
Assignee: (was: Chu Tong)
Affects Version/s: (was: 0.23.1)
(was: 0.23.0)
Issue Type: Improvement (was: Bug)
Key: HADOOP-11092 (was: HDFS-2565)
Project: Hadoop Common (was: Hadoop HDFS)
> hdfs command does not explicitely complain that the command I am trying to run is not valid
> -------------------------------------------------------------------------------------------
>
> Key: HADOOP-11092
> URL: https://issues.apache.org/jira/browse/HADOOP-11092
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Reporter: Bruno Mahé
> Labels: bigtop, noob
> Attachments: HDFS-2565.patch, HDFS-2565.patch
>
>
> [root@bigtop-fedora-15 ~]# hdfs foobar
> Exception in thread "main" java.lang.NoClassDefFoundError: foobar
> Caused by: java.lang.ClassNotFoundException: foobar
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: foobar. Program will exit.
> Instead of loading any class, it would be nice to explain the command is not valid and to call print_usage()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)