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/20 17:41:43 UTC
[jira] [Created] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Trupti Dhavle created HADOOP-8517:
-------------------------------------
Summary: --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
[jira] [Commented] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Posted by "Trupti Dhavle (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398794#comment-13398794 ]
Daryn Sharp commented on HADOOP-8517:
-------------------------------------
My apologies... Too many variations of specifying a config.
> --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
[jira] [Commented] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398461#comment-13398461 ]
Daryn Sharp commented on HADOOP-8517:
-------------------------------------
The correct switch is {{-conf}} and ordering of the args is wrong. The correct cmdline is: {{hadoop fs -conf XXX -ls /}}
> --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
[jira] [Resolved] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-8517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daryn Sharp resolved HADOOP-8517.
---------------------------------
Resolution: Not A Problem
> --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
[jira] [Reopened] (HADOOP-8517) --config option does not work with
Hadoop installation on Windows
Posted by "Trupti Dhavle (JIRA)" <ji...@apache.org>.
[ 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