You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by EdwardKing <zh...@neusoft.com> on 2014/04/10 03:52:54 UTC

fsimage directory

I want to use verify fsimage by following command:
$ md5sum /var/hadoop/dfs/name/image/fsimage

but I don't know where is the fsimage under Hadoop2.2.0. There is no directory of  /var/hadoop/dfs/name/image/fsimage. Where is it? Thanks



 
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

Re: fsimage directory

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Thu, Apr 10, 2014 at 9:52 AM, EdwardKing <zh...@neusoft.com> wrote:

> but I don't know where is the fsimage under Hadoop2.2.0. There is no
> directory of  /var/hadoop/dfs/name/image/fsimage. Where is it? Thanks


The fsimage is in ${dfs.namenode.name.dir}/current. Take a look at your
hdfs-site.xml to see the value of the dfs.namenode.name.dir

-- 
Cheers
-MJ

Re: fsimage directory

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Thu, Apr 10, 2014 at 9:52 AM, EdwardKing <zh...@neusoft.com> wrote:

> but I don't know where is the fsimage under Hadoop2.2.0. There is no
> directory of  /var/hadoop/dfs/name/image/fsimage. Where is it? Thanks


The fsimage is in ${dfs.namenode.name.dir}/current. Take a look at your
hdfs-site.xml to see the value of the dfs.namenode.name.dir

-- 
Cheers
-MJ

Re: fsimage directory

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Thu, Apr 10, 2014 at 9:52 AM, EdwardKing <zh...@neusoft.com> wrote:

> but I don't know where is the fsimage under Hadoop2.2.0. There is no
> directory of  /var/hadoop/dfs/name/image/fsimage. Where is it? Thanks


The fsimage is in ${dfs.namenode.name.dir}/current. Take a look at your
hdfs-site.xml to see the value of the dfs.namenode.name.dir

-- 
Cheers
-MJ

Re: fsimage directory

Posted by Mingjiang Shi <ms...@gopivotal.com>.
On Thu, Apr 10, 2014 at 9:52 AM, EdwardKing <zh...@neusoft.com> wrote:

> but I don't know where is the fsimage under Hadoop2.2.0. There is no
> directory of  /var/hadoop/dfs/name/image/fsimage. Where is it? Thanks


The fsimage is in ${dfs.namenode.name.dir}/current. Take a look at your
hdfs-site.xml to see the value of the dfs.namenode.name.dir

-- 
Cheers
-MJ