You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2013/09/09 11:11:04 UTC

issure about output of "hdfs dfsadmin -metasave"

hi,all:

i dump the info to a file use

# hdfs dfsadmin -metasave mysave
Created metasave file mysave in the log directory of namenode
hdfs://CH22:9000
# find /var -name 'mysave'
/var/log/hadoop-hdfs/mysave

when i read the mysave file ,some fields in record confuse me

/tmp/hadoop-mapred/mapred/staging/root/.staging/job_201307081702_0002/libjars/zookeeper-3.3.5-cdh3u4.jar:
blk_-13468897528190974_20279 (replicas: l: 3 d: 0 c: 0 e: 0)
192.168.10.35:50011 :  192.168.10.36:50011 :  192.168.10.34:50011 :
for example,from the content "replicas: l: 3 d: 0 c: 0 e: 0",it seems some
kind of replicas status,but
i do not know exact means of "l d c e",anyone can help?

Re: issure about output of "hdfs dfsadmin -metasave"

Posted by Kim Chew <kc...@gmail.com>.
l: live replicas
d: decomissioned replicas
c: corrupt replicas
e: excess replicas,

You can find the codes in "BlockManager.java" :)

Kim


On Mon, Sep 9, 2013 at 2:11 AM, ch huang <ju...@gmail.com> wrote:

> hi,all:
>
> i dump the info to a file use
>
> # hdfs dfsadmin -metasave mysave
> Created metasave file mysave in the log directory of namenode
> hdfs://CH22:9000
> # find /var -name 'mysave'
> /var/log/hadoop-hdfs/mysave
>
> when i read the mysave file ,some fields in record confuse me
>
> /tmp/hadoop-mapred/mapred/staging/root/.staging/job_201307081702_0002/libjars/zookeeper-3.3.5-cdh3u4.jar:
> blk_-13468897528190974_20279 (replicas: l: 3 d: 0 c: 0 e: 0)
> 192.168.10.35:50011 :  192.168.10.36:50011 :  192.168.10.34:50011 :
>  for example,from the content "replicas: l: 3 d: 0 c: 0 e: 0",it seems
> some kind of replicas status,but
> i do not know exact means of "l d c e",anyone can help?
>

Re: issure about output of "hdfs dfsadmin -metasave"

Posted by Kim Chew <kc...@gmail.com>.
l: live replicas
d: decomissioned replicas
c: corrupt replicas
e: excess replicas,

You can find the codes in "BlockManager.java" :)

Kim


On Mon, Sep 9, 2013 at 2:11 AM, ch huang <ju...@gmail.com> wrote:

> hi,all:
>
> i dump the info to a file use
>
> # hdfs dfsadmin -metasave mysave
> Created metasave file mysave in the log directory of namenode
> hdfs://CH22:9000
> # find /var -name 'mysave'
> /var/log/hadoop-hdfs/mysave
>
> when i read the mysave file ,some fields in record confuse me
>
> /tmp/hadoop-mapred/mapred/staging/root/.staging/job_201307081702_0002/libjars/zookeeper-3.3.5-cdh3u4.jar:
> blk_-13468897528190974_20279 (replicas: l: 3 d: 0 c: 0 e: 0)
> 192.168.10.35:50011 :  192.168.10.36:50011 :  192.168.10.34:50011 :
>  for example,from the content "replicas: l: 3 d: 0 c: 0 e: 0",it seems
> some kind of replicas status,but
> i do not know exact means of "l d c e",anyone can help?
>

Re: issure about output of "hdfs dfsadmin -metasave"

Posted by Kim Chew <kc...@gmail.com>.
l: live replicas
d: decomissioned replicas
c: corrupt replicas
e: excess replicas,

You can find the codes in "BlockManager.java" :)

Kim


On Mon, Sep 9, 2013 at 2:11 AM, ch huang <ju...@gmail.com> wrote:

> hi,all:
>
> i dump the info to a file use
>
> # hdfs dfsadmin -metasave mysave
> Created metasave file mysave in the log directory of namenode
> hdfs://CH22:9000
> # find /var -name 'mysave'
> /var/log/hadoop-hdfs/mysave
>
> when i read the mysave file ,some fields in record confuse me
>
> /tmp/hadoop-mapred/mapred/staging/root/.staging/job_201307081702_0002/libjars/zookeeper-3.3.5-cdh3u4.jar:
> blk_-13468897528190974_20279 (replicas: l: 3 d: 0 c: 0 e: 0)
> 192.168.10.35:50011 :  192.168.10.36:50011 :  192.168.10.34:50011 :
>  for example,from the content "replicas: l: 3 d: 0 c: 0 e: 0",it seems
> some kind of replicas status,but
> i do not know exact means of "l d c e",anyone can help?
>

Re: issure about output of "hdfs dfsadmin -metasave"

Posted by Kim Chew <kc...@gmail.com>.
l: live replicas
d: decomissioned replicas
c: corrupt replicas
e: excess replicas,

You can find the codes in "BlockManager.java" :)

Kim


On Mon, Sep 9, 2013 at 2:11 AM, ch huang <ju...@gmail.com> wrote:

> hi,all:
>
> i dump the info to a file use
>
> # hdfs dfsadmin -metasave mysave
> Created metasave file mysave in the log directory of namenode
> hdfs://CH22:9000
> # find /var -name 'mysave'
> /var/log/hadoop-hdfs/mysave
>
> when i read the mysave file ,some fields in record confuse me
>
> /tmp/hadoop-mapred/mapred/staging/root/.staging/job_201307081702_0002/libjars/zookeeper-3.3.5-cdh3u4.jar:
> blk_-13468897528190974_20279 (replicas: l: 3 d: 0 c: 0 e: 0)
> 192.168.10.35:50011 :  192.168.10.36:50011 :  192.168.10.34:50011 :
>  for example,from the content "replicas: l: 3 d: 0 c: 0 e: 0",it seems
> some kind of replicas status,but
> i do not know exact means of "l d c e",anyone can help?
>