not seeing datanode

Discussion in 'Big Data and Analytics' started by Sidhant_1, Aug 6, 2016.

  1. Sidhant_1

    Sidhant_1 Member

    Joined:
    May 18, 2016
    Messages:
    6
    Likes Received:
    0
    jps command not showing datanode running
     

    Attached Files:

    #1
  2. DeshDeep Singh

    DeshDeep Singh Well-Known Member
    Simplilearn Support Alumni

    Joined:
    Sep 22, 2015
    Messages:
    935
    Likes Received:
    66

    Hi Sidhant,

    You need to do something like this:

    • bin/stop-all.sh (or stop-dfs.sh and stop-yarn.sh in the 2.x serie)
    • rm -Rf /app/tmp/hadoop-your-username/*
    • bin/hadoop namenode -format (or hdfs in the 2.x serie)
    the solution was taken from: http://pages.cs.brandeis.edu/~cs147a/lab/hadoop-troubleshooting/. Basically it consists in restarting from scratch, so make sure you won't loose data by formating the hdfs.
     
    #2

Share This Page