hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11150) hadoop command should accept CLASSNAME without package name
Date Mon, 29 Sep 2014 08:09:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14151470#comment-14151470
] 

Masatake Iwasaki commented on HADOOP-11150:
-------------------------------------------

Thanks for the comment [~aw]. I misunderstood that the change came from HADOOP-9902. I assumed
the situation like trivial experiment by writing a few lines of code and javac'ing it and
run.
If this is the spec, how about showing the message like "The first argument is not valid command
nor fully qualified class name" before usage? Otherwise, is it worth to add command such as
"run" which takes main class name as argument?


> hadoop command should accept CLASSNAME without package name
> -----------------------------------------------------------
>
>                 Key: HADOOP-11150
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11150
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>         Attachments: HADOOP-11150-0.patch
>
>
> hadoop_validate_classname checks whether the classname contains ".". It is possible that
classname without package is used in some examples or tutorials.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message