MuhammadBilalYar / Hadoop-On-Window

HADOOP 2.8.0 (22 March, 2017) INSTALLATION ON WINDOW 10
153 stars 167 forks source link

hdfs-site.xml configuration #12

Closed rjudet closed 5 years ago

rjudet commented 5 years ago

You might want to set the hdfs in the following way in hdfs-site.xml, otherwise might get a java.net.URISyntaxException: Illegal character in opaque part at index 2:

   <property>
       <name>dfs.namenode.name.dir</name>
       <value>file:///C:/hadoop-2.8.0/data/namenode</value>
   </property>
   <property>
       <name>dfs.datanode.data.dir</name>
       <value>file:///C:/hadoop-2.8.0/data/datanode</value>
   </property>

Also, I think the JAVA_HOME and HADOOP_HOME environment variables should be set without the trailing /bin. Otherwise very good step by step instructions. Thanks.

carlvice commented 5 years ago

I followed all steps as is it. They worked for me. I did not faced any errors. Please make sure you followed all steps, drive name, folder name as they have mentioned.

MuhammadBilalYar commented 5 years ago

@rjudet are you able to resolve the issue?

rjudet commented 5 years ago

@MuhammadBilalYar yes, I was - as explained above. @carlvice To be more clear:

Cheers

@carlvice - and I see that you in fact agree with me, and disperse my advice in the thread "Windows 10, Hadoop 2.7.6, JAVA_HOME error, classpath is not recognized". Maybe I should ask for royalties? lol

MuhammadBilalYar commented 5 years ago

Sounds good!