[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934491#comment-14934491 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Hdfs-trunk #2371 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2371/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934392#comment-14934392 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #430 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/430/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934275#comment-14934275 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk #2398 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2398/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934183#comment-14934183 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Yarn-trunk #1192 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1192/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934139#comment-14934139 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #460 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/460/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934056#comment-14934056 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #453 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/453/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934018#comment-14934018 ] Hudson commented on HDFS-9148: -- FAILURE: Integrated in Hadoop-trunk-Commit #8533 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8533/]) HDFS-9148. Incorrect assert message in TestWriteToReplica#testWriteToTemporary (Tony Wu via Lei (Eddy) Xu) (lei: rev 50741cb568d4da30b92d4954928bc3039e583b22) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestWriteToReplica.java > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Fix For: 3.0.0, 2.8.0 > > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933910#comment-14933910 ] Tony Wu commented on HDFS-9148: --- I don't think the failed tests (TestDirectoryScanner, TestWebHDFS, TestWebHDFSOAuth2) has anything to do with this patch. > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933853#comment-14933853 ] Hadoop QA commented on HDFS-9148: - \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | pre-patch | 7m 45s | Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | javac | 7m 48s | There were no new javac warning messages. | | {color:green}+1{color} | release audit | 0m 20s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | checkstyle | 1m 23s | There were no new checkstyle issues. | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 27s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 31s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 2m 27s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | native | 1m 15s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 166m 43s | Tests failed in hadoop-hdfs. | | | | 189m 44s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.hdfs.server.datanode.TestDirectoryScanner | | | hadoop.hdfs.web.TestWebHDFS | | | hadoop.hdfs.web.TestWebHDFSOAuth2 | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12762484/hdfs-9148.patch | | Optional Tests | javac unit findbugs checkstyle | | git revision | trunk / 892ade6 | | Pre-patch Findbugs warnings | https://builds.apache.org/job/PreCommit-HDFS-Build/12713/artifact/patchprocess/trunkFindbugsWarningshadoop-hdfs.html | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12713/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/12713/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/12713/console | This message was automatically generated. > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933386#comment-14933386 ] Tony Wu commented on HDFS-9148: --- Than you Daniel, for looking at it quickly! > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9148) Incorrect assert message in TestWriteToReplica#testWriteToTemporary
[ https://issues.apache.org/jira/browse/HDFS-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908993#comment-14908993 ] Daniel Templeton commented on HDFS-9148: Looks good. Thanks, [~twu]. Just add some parentheses after "createTemporary", i.e. createTemporary(), and you have my +1. > Incorrect assert message in TestWriteToReplica#testWriteToTemporary > --- > > Key: HDFS-9148 > URL: https://issues.apache.org/jira/browse/HDFS-9148 > Project: Hadoop HDFS > Issue Type: Improvement > Components: test >Affects Versions: 2.7.1 >Reporter: Tony Wu >Assignee: Tony Wu >Priority: Trivial > Attachments: hdfs-9148.patch > > > The following assert text in TestWriteToReplica#testWriteToTemporary is not > correct: > {code:java} > Assert.fail("createRbw() Should have removed the block with the older " > + "genstamp and replaced it with the newer one: " + > blocks[NON_EXISTENT]); > {code} > If the assert is triggered, it can only be due to an temporary replica > already exists and has newer generation stamp. It should have nothing to do > with createRbw(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)