installation - Hadoop 2.7.3 always tries to format /dfs/nn -


i trying install hadoop 2.7.3 on existing installation of previous cloudera cdh 5.9.0 . following guidelines specified here setup single node cluster: http://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-common/singlecluster.html

the issue when try $ bin/hdfs namenode -format

this step asks re-format filesystem in storage directory /dfs/nn ? (y or n) since have existing installation don't want format /dfs/nn , rather want use new folder . tried setting below property @ hadoop-2.7.3/share/doc/hadoop/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml :

<name>dfs.namenode.name.dir</name>   <value>file:///new_folder/dfs_nn</value> 

i tried setting below property in hadoop-2.7.3/etc/hadoop/hdfs-site.xml :

<property>  <name>dfs.namenode.name.dir</name>  <value>file://new_folder/dfs_nn</value>  </property> 

but after still asks format /dfs/nn .

i testing version , if looks remove cdh , not before . please , if can .

-rahul


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -