[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated HDFS-9476: - Fix Version/s: 2.8.0 > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Masatake Iwasaki > Fix For: 2.8.0, 2.7.3, 3.0.0-alpha1 > > Attachments: HDFS-9476.002.patch, HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated HDFS-9476: Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.7.3 Status: Resolved (was: Patch Available) Committed to branch-2.7 and above. Thanks [~iwasakims] for finding the root cause and updating the patch, and thanks [~xiaobingo] and [~walter.k.su] for reviewing. > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Masatake Iwasaki > Fix For: 2.7.3 > > Attachments: HDFS-9476.002.patch, HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated HDFS-9476: Assignee: Masatake Iwasaki (was: Akira AJISAKA) > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Masatake Iwasaki > Attachments: HDFS-9476.002.patch, HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Masatake Iwasaki updated HDFS-9476: --- Attachment: HDFS-9476.002.patch bq. This looks like not a test problem but real race. This was not true. Checking return value of {{recoverLease}} and retrying in {{TestDFSUpgradeFromImage#recoverAllLeases}} fixed the issue. I attached update patch. > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Akira AJISAKA > Attachments: HDFS-9476.002.patch, HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated HDFS-9476: Status: Patch Available (was: Open) > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Akira AJISAKA > Attachments: HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-9476) TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail
[ https://issues.apache.org/jira/browse/HDFS-9476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira AJISAKA updated HDFS-9476: Attachment: HDFS-9476.01.patch It seems that lease recovery did not completed even after 10 retries. 01 patch raise the number of retries from 10 to 30. > TestDFSUpgradeFromImage#testUpgradeFromRel1BBWImage occasionally fail > - > > Key: HDFS-9476 > URL: https://issues.apache.org/jira/browse/HDFS-9476 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Wei-Chiu Chuang >Assignee: Akira AJISAKA > Attachments: HDFS-9476.01.patch > > > This test occasionally fail. For example, the most recent one is: > https://builds.apache.org/job/Hadoop-Hdfs-trunk/2587/ > Error Message > {noformat} > Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > {noformat} > Stacktrace > {noformat} > java.io.IOException: Cannot obtain block length for > LocatedBlock{BP-1371507683-67.195.81.153-1448798439809:blk_7162739548153522810_1020; > getBlockSize()=1024; corrupt=false; offset=0; > locs=[DatanodeInfoWithStorage[127.0.0.1:33080,DS-c5eaf2b4-2ee6-419d-a8a0-44a5df5ef9a1,DISK]]} > at > org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:399) > at > org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:343) > at > org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:275) > at org.apache.hadoop.hdfs.DFSInputStream.(DFSInputStream.java:265) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1046) > at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1011) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.dfsOpenFileWithRetries(TestDFSUpgradeFromImage.java:177) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyDir(TestDFSUpgradeFromImage.java:213) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.verifyFileSystem(TestDFSUpgradeFromImage.java:228) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.upgradeAndVerify(TestDFSUpgradeFromImage.java:600) > at > org.apache.hadoop.hdfs.TestDFSUpgradeFromImage.testUpgradeFromRel1BBWImage(TestDFSUpgradeFromImage.java:622) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)