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 "Trupti Dhavle (JIRA)" <ji...@apache.org> on 2012/06/21 19:52:42 UTC

[jira] [Reopened] (HADOOP-8517) --config option does not work with Hadoop installation on Windows

     [ https://issues.apache.org/jira/browse/HADOOP-8517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trupti Dhavle reopened HADOOP-8517:
-----------------------------------


--config is a switch given to export the HADOOP_CONF_DIR path in the command line.
When I run this on non-windows environment, the command works-
/Users/trupti/WORK/Software/Hadoop/hadoop-1.0.3/bin/hadoop --config /Users/trupti/WORK/Software/Hadoop/hadoop-1.0.3/conf dfs -ls /
Found 3 items
drwxr-xr-x - trupti supergroup 0 2012-06-12 14:09 /hdfsRegressionData
drwxr-xr-x - trupti supergroup 0 2012-06-12 11:31 /tmp
drwxr-xr-x - trupti supergroup 0 2012-06-20 10:12 /user
/Users/trupti/WORK/Software/Hadoop/hadoop-1.0.3/bin/hadoop
Usage: hadoop [--config confdir] COMMAND
where COMMAND is one of:
namenode -format format the DFS filesystem
...
...
But the same switch is unavailable for Windows Hadoop.
                
> --config option does not work with Hadoop installation on Windows
> -----------------------------------------------------------------
>
>                 Key: HADOOP-8517
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8517
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Trupti Dhavle
>
> I ran following command
> hadoop --config c:\<directory>\hadoop\conf fs -ls /
> I get following error for --config option
> Unrecognized option: --config
> Could not create the Java virtual machine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira