[jira] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15581151#comment-15581151 ] Takanobu Asanuma commented on HDFS-10827: - [~jingzhao] Thank you for reviewing and committing! [~shahrs87] Although I couldn't reproduce the same problem for replication, this change may fix it. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Fix For: 3.0.0-alpha2 > > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, HDFS-10827.4.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576415#comment-15576415 ] Hudson commented on HDFS-10827: --- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10614 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10614/]) HDFS-10827. When there are unrecoverable ec block groups, Namenode Web (jing9: rev adb96e109f1ab4a2c3d469e716c084d0a891b951) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeMXBean.java > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Fix For: 3.0.0-alpha2 > > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, HDFS-10827.4.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574328#comment-15574328 ] Hadoop QA commented on HDFS-10827: -- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 12m 47s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 35s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 28s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 51s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 13s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 41s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 40s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 47s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 51s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 10s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 50s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 35s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} unit {color} | {color:red} 62m 25s{color} | {color:red} hadoop-hdfs in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 19s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 94m 24s{color} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | hadoop.hdfs.TestAppendSnapshotTruncate | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Issue | HDFS-10827 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12833293/HDFS-10827.4.patch | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux e95e5c016e87 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / cf3f43e | | Default Java | 1.8.0_101 | | findbugs | v3.0.0 | | unit | https://builds.apache.org/job/PreCommit-HDFS-Build/17148/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/17148/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/17148/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS
[jira] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574154#comment-15574154 ] Takanobu Asanuma commented on HDFS-10827: - bq. As follow-on work, maybe we can create a utility function to check if a block is corrupted/missing, considering this is widely used in BlockManager/FSNamesystem. I agree with you. It is also useful for others. For example, fsck counts some low-redundancy metrics in its own way at the moment. It would be good if it uses the same logic with {{LowRedundancyBlocks}}. I will consider it more and create a new jira. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, HDFS-10827.4.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15571411#comment-15571411 ] Takanobu Asanuma commented on HDFS-10827: - This jira will solve HDFS-10975. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15571403#comment-15571403 ] Takanobu Asanuma commented on HDFS-10827: - Thanks for your confirmation. I will upload the next patch soon. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15569512#comment-15569512 ] Jing Zhao commented on HDFS-10827: -- [~tasanuma0829], I think you're right. We actually do not need to add that extra check there. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS-10827.3.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568374#comment-15568374 ] Hadoop QA commented on HDFS-10827: -- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 13s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 49s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 49s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 30s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 54s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 13s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 52s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 39s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 46s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 43s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 27s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 52s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 11s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 2m 6s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 37s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 58m 55s{color} | {color:green} hadoop-hdfs in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 18s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 79m 8s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Issue | HDFS-10827 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12832857/HDFS-10827.3.patch | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux dad7290f7f85 3.13.0-93-generic #140-Ubuntu SMP Mon Jul 18 21:21:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 6476934 | | Default Java | 1.8.0_101 | | findbugs | v3.0.0 | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/17119/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/17119/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, > HDFS
[jira] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568062#comment-15568062 ] Takanobu Asanuma commented on HDFS-10827: - Thank you for your kind review, [~jingzhao]! On second thought, we may not need to check it, like below. Because the blocks in {{priorityQueues.get(QUEUE_WITH_CORRUPT_BLOCKS)}} is already took into account various cases in {{LowRedundancyBlocks.getPriority}}. What do you think? {code:title=FSNameSystem.listCorruptFileBlocks|borderStyle=solid} while (blkIterator.hasNext()) { BlockInfo blk = blkIterator.next(); final INodeFile inode = getBlockCollection(blk); skip++; if (inode != null) { ... } } {code} > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, case_2.png, > case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1949#comment-1949 ] Jing Zhao commented on HDFS-10827: -- Thanks for working on this, [~tasanuma0829]! The patch looks good to me overall. Some minors: # I think we can rename "isCorrupt" to "isMissing". In the outer "while" loop, we're scanning all the blocks with {{QUEUE_WITH_CORRUPT_BLOCKS}} priority, and this "if" logic is to select missing blocks. # We may also want to take into account the decommissioning/decommissioned internal blocks for the check. # As follow-on work, maybe we can create a utility function to check if a block is corrupted/missing, considering this is widely used in BlockManager/FSNamesystem. # For the unit test, do you think we can use {{MiniDFSCluster#corruptReplica}} to simplify the code? > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, case_2.png, > case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541441#comment-15541441 ] Takanobu Asanuma commented on HDFS-10827: - The failed test can pass in my local computer. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, HDFS-10827.2.patch, case_2.png, > case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541431#comment-15541431 ] Hadoop QA commented on HDFS-10827: -- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 16s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 6m 58s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 44s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 28s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 51s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 13s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 40s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 55s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 42s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 42s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 25s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 47s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 10s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 46s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 52s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} unit {color} | {color:red} 58m 53s{color} | {color:red} hadoop-hdfs in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 21s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 77m 59s{color} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | hadoop.hdfs.server.namenode.TestDecommissioningStatus | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Issue | HDFS-10827 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12831262/HDFS-10827.2.patch | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux 17a7e7d4d59f 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / fe9ebe2 | | Default Java | 1.8.0_101 | | findbugs | v3.0.0 | | unit | https://builds.apache.org/job/PreCommit-HDFS-Build/16971/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/16971/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/16971/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Proje
[jira] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526650#comment-15526650 ] Takanobu Asanuma commented on HDFS-10827: - The failed test is passed in my local computer. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: HDFS-10827.1.patch, case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 out of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 out of 9 internal blocks are missing, NN Web UI shows "There are 1 > missing blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525837#comment-15525837 ] Hadoop QA commented on HDFS-10827: -- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 17s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 17s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 52s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 29s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 55s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 15s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 54s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 59s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 52s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 52s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 10s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 2m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} unit {color} | {color:red} 61m 55s{color} | {color:red} hadoop-hdfs in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 18s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 82m 52s{color} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | hadoop.hdfs.server.namenode.TestAddStripedBlockInFBR | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Issue | HDFS-10827 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12830474/HDFS-10827.1.patch | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux 10727b9a923f 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / e17a497 | | Default Java | 1.8.0_101 | | findbugs | v3.0.0 | | unit | https://builds.apache.org/job/PreCommit-HDFS-Build/16879/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/16879/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/16879/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Projec
[jira] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457817#comment-15457817 ] Takanobu Asanuma commented on HDFS-10827: - Thank you for the information. Although we haven't seen this problem for replication blocks, I will keep in mind it. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 of 9 internal blocks are missing, NN Web UI shows "There are 1 missing > blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 of 9 internal blocks are missing, NN Web UI shows "There are 1 missing > blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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] [Commented] (HDFS-10827) When there are unrecoverable ec block groups, Namenode Web UI shows "There are X missing blocks." but doesn't show the block names.
[ https://issues.apache.org/jira/browse/HDFS-10827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455653#comment-15455653 ] Rushabh S Shah commented on HDFS-10827: --- We don't use ec in our builds but we see the error as shown in case_2.png but we were not able to track down the root cause. > When there are unrecoverable ec block groups, Namenode Web UI shows "There > are X missing blocks." but doesn't show the block names. > --- > > Key: HDFS-10827 > URL: https://issues.apache.org/jira/browse/HDFS-10827 > Project: Hadoop HDFS > Issue Type: Sub-task >Reporter: Takanobu Asanuma >Assignee: Takanobu Asanuma > Attachments: case_2.png, case_3.png > > > For RS-6-3, when there is one ec block group and > 1) 0~3 of 9 internal blocks are missing, NN Web UI doesn't show any warns. > 2) 4~8 of 9 internal blocks are missing, NN Web UI shows "There are 1 missing > blocks." but doesn't show the block names. (please see case_2.png) > 3) 9 of 9 internal blocks are missing, NN Web UI shows "There are 1 missing > blocks." and also shows the block name. (please see case_3.png) > We should fix the case 2). I think NN Web UI should show the block names > since the ec block group is unrecoverable. > The values come from JMX. "There are X missing blocks." is > {{NumberOfMissingBlocks}} and the block names are {{CorruptFiles}}. -- 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