Home Forums Hortonworks Sandbox Why there is more than one fsimage file in dfs.namenode.name.dir

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  iandr413 6 months, 2 weeks ago.

  • Creator
    Topic
  • #50169

    Majid Azimi
    Participant

    Hi guys,

    I have launched sandbox and inside /hadoop/hdfs/namenode/current there is two fsimage file and multiple edit file. Is this normal? which one is correct fsimage file? When I reboot the sandbox it should merge edit files and fsimage and remove edit files. But it doesn’t. I don’t see any problem in hdfs logs and everything is working fine.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #50431

    iandr413
    Moderator

    Hi Majid,
    This is because it is a sandbox. You are correct in that there should be one fsimage file and a restart would normally merge the edit files. I am sure you could change the namenode directory or format HDFS and it would then behave correctly.

    Ian

    Collapse
Viewing 1 replies (of 1 total)