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 "Ashwin Shankar (JIRA)" <ji...@apache.org> on 2013/05/22 00:14:20 UTC

[jira] [Commented] (HADOOP-9581) Hadoop --config non-existent directory should result in error

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

Ashwin Shankar commented on HADOOP-9581:
----------------------------------------

I've added code to validate if the argument to "--config" option is a directory.
If not,I throw an error.
                
> Hadoop --config non-existent directory should result in error 
> --------------------------------------------------------------
>
>                 Key: HADOOP-9581
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9581
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.0, 0.23.7, 2.0.4-alpha
>            Reporter: Ashwin Shankar
>
> Courtesy : [~cwchung]
> {quote}Providing a non-existent config directory should result in error.
> $ hadoop dfs -ls /  : shows Hadoop DFS directory
> $ hadoop --config bad_config_dir dfs -ls : successful, showing Linux directory
> {quote}

--
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