hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9900) Backport HADOOP-9582 to branch-1
Date Mon, 26 Aug 2013 22:46:52 GMT

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

Akira AJISAKA commented on HADOOP-9900:
---------------------------------------

I attached a patch to backport. I ran "hadoop fs -conf NON_EXISTENT_FILE -ls /" with the patch.

{code}
[hadoop@hadoop ~]$ hadoop fs -conf NON_EXISTENT_FILE -ls /
Exception in thread "main" java.lang.RuntimeException: NON_EXISTENT_FILE not found
        at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1224)
        at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1154)
        at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1090)
        at org.apache.hadoop.conf.Configuration.set(Configuration.java:443)
        at org.apache.hadoop.conf.Configuration.setBoolean(Configuration.java:632)
        at org.apache.hadoop.util.GenericOptionsParser.processGeneralOptions(GenericOptionsParser.java:303)
        at org.apache.hadoop.util.GenericOptionsParser.parseGeneralOptions(GenericOptionsParser.java:413)
        at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:164)
        at org.apache.hadoop.util.GenericOptionsParser.<init>(GenericOptionsParser.java:147)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:59)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.fs.FsShell.main(FsShell.java:1934)
{code}
                
> Backport HADOOP-9582 to branch-1
> --------------------------------
>
>                 Key: HADOOP-9900
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9900
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 1.3.0
>            Reporter: Akira AJISAKA
>            Assignee: Akira AJISAKA
>         Attachments: HADOOP-9900-branch-1.patch
>
>
> When we run : hadoop fs -conf NON_EXISTENT_FILE -ls /
> hadoop (trunk, branch-2, branch-0.23) throws an RuntimeException, but hadoop (branch-1)
doesn't.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message