Member since
03-09-2016
12
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1635 | 10-19-2016 07:02 PM |
08-11-2020
01:40 AM
I did this in root user, found the file and changed it there. But, how to change it for each node?
... View more
10-19-2016
07:02 PM
I have installed and uninstalled ambari so many times coz of that UUID and clusterd id is different from namenode and datanodes. thats why namenode is not started and datanodes too. So I did rm -rf /opt/hadoop/hdfs/data/* /tmp/hadoop/hdfs/data/*,
/var/hadoop/hdfs/data, /var/log/hadoop/hdfs/data, /var/log/audit/hadoop/hdfs/data/* sudo -u hdfs /usr/hdp/2.3.6.0-3796/hadoop/sbin/hadoop-daemon.sh --config /etc/hadoop/conf start namenode su root /usr/lib/hadoop/bin/hadoop-daemon.sh --config /etc/hadoop/conf start datanode By doing this I fixed my issue. Hopefull it will help someone. Thanks
... View more