hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-3215) Block size is logging as zero Even blockrecevied command received by DN
Date Fri, 06 Apr 2012 14:41:24 GMT
Block size is logging as zero Even blockrecevied command received by DN 
------------------------------------------------------------------------

                 Key: HDFS-3215
                 URL: https://issues.apache.org/jira/browse/HDFS-3215
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 2.0.0
            Reporter: Brahma Reddy Battula
            Priority: Minor
             Fix For: 2.0.0, 3.0.0


Scenario
==========

Start NN and DN.
write file.
Block size is logging as zero Even blockrecevied command received by DN 

 *NN log*

2012-03-14 20:23:40,541 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* NameSystem.allocateBlock:
/hadoop-create-user.sh._COPYING_. BP-1166515020-10.18.40.24-1331736264353 blk_1264419582929433995_1002{blockUCState=UNDER_CONSTRUCTION,
primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[XXXXXXX:50010|RBW]]}

2012-03-14 20:24:26,357 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* addStoredBlock: blockMap
updated: XXXXXXX:50010 is added to blk_1264419582929433995_1002{blockUCState=UNDER_CONSTRUCTION,
primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[XXXXXXX:50010|RBW]]} size 0

 *DN log* 

2012-03-14 20:24:17,519 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving block
BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002 src: /XXXXXXX:53141 dest:
/XXXXXXX:50010

2012-03-14 20:24:26,517 INFO org.apache.hadoop.hdfs.server.datanode.DataNode.clienttrace:
src: /XXXXXXX:53141, dest: /XXXXXXX:50010, bytes: 512, op: HDFS_WRITE, cliID: DFSClient_NONMAPREDUCE_1612873957_1,
offset: 0, srvID: DS-1639667928-XXXXXXX-50010-1331736284942, blockid: BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002,
duration: 1286482503

2012-03-14 20:24:26,517 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: PacketResponder:
BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002, type=LAST_IN_PIPELINE, downstreams=0:[]
terminating
2012-03-14 20:24:31,533 INFO org.apache.hadoop.hdfs.server.datanode.BlockPoolSliceScanner:
Verification succeeded for BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002
[ Show ยป ] Brahma Reddy Battula added a comment - 16-Mar-12 10:13 AM Scenario 2: ==========
Start NN and DN. write file. Block size is logging as zero Even blockrecevied command received
by DN NN log 2012-03-14 20:23:40,541 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* NameSystem.allocateBlock:
/hadoop-create-user.sh._COPYING_. BP-1166515020-XXXXXXX-1331736264353 blk_1264419582929433995_1002{blockUCState=UNDER_CONSTRUCTION,
primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[XXXXXXX:50010|RBW]]}

2012-03-14 20:24:26,357 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* addStoredBlock: blockMap
updated: XXXXXXX:50010 is added to blk_1264419582929433995_1002{blockUCState=UNDER_CONSTRUCTION,
primaryNodeIndex=-1, replicas=[ReplicaUnderConstruction[XXXXXXX:50010|RBW]]} size 0
DN log 2012-03-14 20:24:17,519 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: Receiving
block BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002 src: /XXXXXXX:53141
dest: /XXXXXXX:50010

2012-03-14 20:24:26,517 INFO org.apache.hadoop.hdfs.server.datanode.DataNode.clienttrace:
src: /XXXXXXX:53141, dest: /XXXXXXX:50010, bytes: 512, op: HDFS_WRITE, cliID: DFSClient_NONMAPREDUCE_1612873957_1,
offset: 0, srvID: DS-1639667928-XXXXXXX-50010-1331736284942, blockid: BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002,
duration: 1286482503

2012-03-14 20:24:26,517 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: PacketResponder:
BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002, type=LAST_IN_PIPELINE, downstreams=0:[]
terminating
2012-03-14 20:24:31,533 INFO org.apache.hadoop.hdfs.server.datanode.BlockPoolSliceScanner:
Verification succeeded for BP-1166515020-XXXXXXX-1331736264353:blk_1264419582929433995_1002




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message