You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Rakesh Radhakrishnan <ra...@apache.org> on 2016/11/10 10:05:17 UTC

Re: hdfs configuration on windows platform

Hi,

I could see your file path contains backward slash, this creates issues in
windows.

Could you try forward slashes instead of backward slashes.

Another way is to use valid URI, please refer:
https://en.wikipedia.org/wiki/File_URI_scheme#Windows_2
file:///D:/hadoop/file

Regards,
Rakesh

On Thu, Nov 10, 2016 at 3:07 PM, <sc...@163.com> wrote:

>
>
> Hello, I have compiled hadoop2.7.3 on Windows, but when I format the
> namenode , the cmd returns ERROR as follows:
>
>
>
>
>
>
>
> *Next is my configuration *
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> So, how shall I configure the Path URI in hdfs-site.xml on my cpmputor the
> right way?
>
>
>
>
>
>
>
> 发送自 Windows 10 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>应用
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
>

RE: hdfs configuration on windows platform

Posted by "R. Paul Warriner" <pa...@warriner.us>.
The following works on Windows 10:

 

<property>

    <name>hadoop.tmp.dir</name>

    <value>/C:/tmp/hadoop </value>

  </property>

 

From: Rakesh Radhakrishnan [mailto:rakeshr@apache.org] 
Sent: Thursday, November 10, 2016 5:05 AM
To: scyberway@163.com
Cc: user@hadoop.apache.org
Subject: Re: hdfs configuration on windows platform

 

Hi,

 

I could see your file path contains backward slash, this creates issues in windows.

 

Could you try forward slashes instead of backward slashes.

 

Another way is to use valid URI, please refer: https://en.wikipedia.org/wiki/File_URI_scheme#Windows_2

file:///D:/hadoop/file

 

Regards,

Rakesh

 

On Thu, Nov 10, 2016 at 3:07 PM, <scyberway@163.com <ma...@163.com> > wrote:

 

Hello, I have compiled hadoop2.7.3 on Windows, but when I format the namenode , the cmd returns ERROR as follows:

 

 

 

Next is my configuration 

 

 

 

 

 

 

 

So, how shall I configure the Path URI in hdfs-site.xml on my cpmputor the right way? 

 

 

 

发送自 Windows 10 版 <https://go.microsoft.com/fwlink/?LinkId=550986> 邮件应用

 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org <ma...@hadoop.apache.org> 
For additional commands, e-mail: user-help@hadoop.apache.org <ma...@hadoop.apache.org>