[
https://issues.apache.org/jira/browse/HADOOP-9581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashwin Shankar updated HADOOP-9581:
-----------------------------------
Status: Patch Available (was: Open)
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: 2.0.4-alpha, 0.23.7, 3.0.0
> Reporter: Ashwin Shankar
> Attachments: HADOOP-9581.txt
>
>
> 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