hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4145) Merge hdfs cmd line scripts from branch-1-win
Date Sun, 04 Nov 2012 07:33:12 GMT

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

Chris Nauroth commented on HDFS-4145:
-------------------------------------

Ivan, I think there is an issue with handling of the --config option to override the configuration
directory.  hdfs.cmd has code to parse --config and then shift away the arguments.  Later,
it calls hadoop-config.cmd.  Inside hadoop-config.cmd, it resets HADOOP_CONF_DIR to a default
of %HADOOP_HOME%\etc\hadoop.  hadoop-config.cmd then repeats the check for --config, but by
now hdfs.cmd has already shifted the arguments out, so the config directory override isn't
found.

I temporarily hacked around this on my machine by commenting out the line in hadoop-config.cmd
that sets it to %HADOOP_HOME%\etc\hadoop.  After that, it worked for me.  I successfully formatted
and started a namenode.

                
> Merge hdfs cmd line scripts from branch-1-win
> ---------------------------------------------
>
>                 Key: HDFS-4145
>                 URL: https://issues.apache.org/jira/browse/HDFS-4145
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: trunk-win
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HDFS-4145.branch-trunk-win.scripts.2.patch, HDFS-4145.branch-trunk-win.scripts.patch
>
>
> Tracking Jira for merging hdfs cmd line scripts from branch-1-win to trunk. Scripts also
have to be updated to reflect their unix equivalents.

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

Mime
View raw message