hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trupti Dhavle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8517) --config option does not work with Hadoop installation on Windows
Date Thu, 21 Jun 2012 17:50:48 GMT

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

Trupti Dhavle commented on 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

        

Mime
View raw message