[jira] [Updated] (HDFS-15147) LazyPersistTestCase wait logic is error pruned
[ https://issues.apache.org/jira/browse/HDFS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated HDFS-15147: - Status: Patch Available (was: Open) > LazyPersistTestCase wait logic is error pruned > -- > > Key: HDFS-15147 > URL: https://issues.apache.org/jira/browse/HDFS-15147 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > > {{LazyPersistTestCase}} has some issues hat lead to inconsistent result of > the test cases: > * the wait periods to change of status is too long. It reaches 10 secs in > some cases. > * triggerBlockReport() only triggers FBR of DN with index 0. This is counter > intuitive because the JUnit tests restart the DN assuming that the restarted > DN will send a FBR. However, this never happens because the DN will get a new > index post restart. > {code:java} > protected final void triggerBlockReport() > throws IOException, InterruptedException { > // Trigger block report to NN > DataNodeTestUtils.triggerBlockReport(cluster.getDataNodes().get(0)); > Thread.sleep(10 * 1000); > } > {code} > [~inigoiri] suggested that we propagate the findings and fixes from > HDFS-13179 and HDFS-15144 into {{LazyPersistTestCase.java}}. This will > eventually reduce the runtime and make the test cases more stable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15147) LazyPersistTestCase wait logic is error pruned
[ https://issues.apache.org/jira/browse/HDFS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated HDFS-15147: - Attachment: HDFS-15147.001.patch > LazyPersistTestCase wait logic is error pruned > -- > > Key: HDFS-15147 > URL: https://issues.apache.org/jira/browse/HDFS-15147 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > Attachments: HDFS-15147.001.patch > > > {{LazyPersistTestCase}} has some issues hat lead to inconsistent result of > the test cases: > * the wait periods to change of status is too long. It reaches 10 secs in > some cases. > * triggerBlockReport() only triggers FBR of DN with index 0. This is counter > intuitive because the JUnit tests restart the DN assuming that the restarted > DN will send a FBR. However, this never happens because the DN will get a new > index post restart. > {code:java} > protected final void triggerBlockReport() > throws IOException, InterruptedException { > // Trigger block report to NN > DataNodeTestUtils.triggerBlockReport(cluster.getDataNodes().get(0)); > Thread.sleep(10 * 1000); > } > {code} > [~inigoiri] suggested that we propagate the findings and fixes from > HDFS-13179 and HDFS-15144 into {{LazyPersistTestCase.java}}. This will > eventually reduce the runtime and make the test cases more stable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15147) LazyPersistTestCase wait logic is error pruned
[ https://issues.apache.org/jira/browse/HDFS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated HDFS-15147: - Attachment: HDFS-15147-branch-2.10.001.patch > LazyPersistTestCase wait logic is error pruned > -- > > Key: HDFS-15147 > URL: https://issues.apache.org/jira/browse/HDFS-15147 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > Attachments: HDFS-15147-branch-2.10.001.patch, HDFS-15147.001.patch > > > {{LazyPersistTestCase}} has some issues hat lead to inconsistent result of > the test cases: > * the wait periods to change of status is too long. It reaches 10 secs in > some cases. > * triggerBlockReport() only triggers FBR of DN with index 0. This is counter > intuitive because the JUnit tests restart the DN assuming that the restarted > DN will send a FBR. However, this never happens because the DN will get a new > index post restart. > {code:java} > protected final void triggerBlockReport() > throws IOException, InterruptedException { > // Trigger block report to NN > DataNodeTestUtils.triggerBlockReport(cluster.getDataNodes().get(0)); > Thread.sleep(10 * 1000); > } > {code} > [~inigoiri] suggested that we propagate the findings and fixes from > HDFS-13179 and HDFS-15144 into {{LazyPersistTestCase.java}}. This will > eventually reduce the runtime and make the test cases more stable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15147) LazyPersistTestCase wait logic is error pruned
[ https://issues.apache.org/jira/browse/HDFS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated HDFS-15147: - Attachment: HDFS-15147.002.patch > LazyPersistTestCase wait logic is error pruned > -- > > Key: HDFS-15147 > URL: https://issues.apache.org/jira/browse/HDFS-15147 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > Attachments: HDFS-15147-branch-2.10.001.patch, HDFS-15147.001.patch, > HDFS-15147.002.patch > > > {{LazyPersistTestCase}} has some issues hat lead to inconsistent result of > the test cases: > * the wait periods to change of status is too long. It reaches 10 secs in > some cases. > * triggerBlockReport() only triggers FBR of DN with index 0. This is counter > intuitive because the JUnit tests restart the DN assuming that the restarted > DN will send a FBR. However, this never happens because the DN will get a new > index post restart. > {code:java} > protected final void triggerBlockReport() > throws IOException, InterruptedException { > // Trigger block report to NN > DataNodeTestUtils.triggerBlockReport(cluster.getDataNodes().get(0)); > Thread.sleep(10 * 1000); > } > {code} > [~inigoiri] suggested that we propagate the findings and fixes from > HDFS-13179 and HDFS-15144 into {{LazyPersistTestCase.java}}. This will > eventually reduce the runtime and make the test cases more stable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-15147) LazyPersistTestCase wait logic is error pruned
[ https://issues.apache.org/jira/browse/HDFS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated HDFS-15147: - Attachment: HDFS-15147.003.patch > LazyPersistTestCase wait logic is error pruned > -- > > Key: HDFS-15147 > URL: https://issues.apache.org/jira/browse/HDFS-15147 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Ahmed Hussein >Assignee: Ahmed Hussein >Priority: Minor > Attachments: HDFS-15147-branch-2.10.001.patch, HDFS-15147.001.patch, > HDFS-15147.002.patch, HDFS-15147.003.patch > > > {{LazyPersistTestCase}} has some issues hat lead to inconsistent result of > the test cases: > * the wait periods to change of status is too long. It reaches 10 secs in > some cases. > * triggerBlockReport() only triggers FBR of DN with index 0. This is counter > intuitive because the JUnit tests restart the DN assuming that the restarted > DN will send a FBR. However, this never happens because the DN will get a new > index post restart. > {code:java} > protected final void triggerBlockReport() > throws IOException, InterruptedException { > // Trigger block report to NN > DataNodeTestUtils.triggerBlockReport(cluster.getDataNodes().get(0)); > Thread.sleep(10 * 1000); > } > {code} > [~inigoiri] suggested that we propagate the findings and fixes from > HDFS-13179 and HDFS-15144 into {{LazyPersistTestCase.java}}. This will > eventually reduce the runtime and make the test cases more stable. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org