hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil Govindan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7578) Extend TestDiskFailures.waitForDiskHealthCheck() sleeping time.
Date Sat, 17 Nov 2018 03:23:15 GMT

     [ https://issues.apache.org/jira/browse/YARN-7578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sunil Govindan updated YARN-7578:
---------------------------------
    Target Version/s: 3.3.0  (was: 3.2.0)

Bulk update: moved all 3.2.0 non-blocker issues, please move back if it is a blocker.

> Extend TestDiskFailures.waitForDiskHealthCheck() sleeping time.
> ---------------------------------------------------------------
>
>                 Key: YARN-7578
>                 URL: https://issues.apache.org/jira/browse/YARN-7578
>             Project: Hadoop YARN
>          Issue Type: Test
>    Affects Versions: 3.1.0
>         Environment: ARMv8 AArch64, Ubuntu16.04
>            Reporter: Guangming Zhang
>            Priority: Minor
>              Labels: dtest, patch, test
>         Attachments: YARN-7578.0.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Thread.sleep() function is called to wait for NodeManager to identify disk failures.
But in some cases, for example the lower-end hardware computer, the sleep time is too short
so that the NodeManager may haven't finished identifying disk failures. This will occur test
errors:
> {code:java}
> 	Running org.apache.hadoop.yarn.server.TestDiskFailures
> 	Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 17.686 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.TestDiskFailures
> 	testLocalDirsFailures(org.apache.hadoop.yarn.server.TestDiskFailures)  Time elapsed:
10.412 sec  <<< FAILURE!
> 	java.lang.AssertionError: NodeManager could not identify disk failure.
> 			at org.junit.Assert.fail(Assert.java:88)
> 			at org.junit.Assert.assertTrue(Assert.java:41)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.verifyDisksHealth(TestDiskFailures.java:239)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.testDirsFailures(TestDiskFailures.java:186)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.testLocalDirsFailures(TestDiskFailures.java:99)
> 	testLogDirsFailures(org.apache.hadoop.yarn.server.TestDiskFailures)  Time elapsed: 5.99
sec  <<< FAILURE!
> 	java.lang.AssertionError: NodeManager could not identify disk failure.
> 			at org.junit.Assert.fail(Assert.java:88)
> 			at org.junit.Assert.assertTrue(Assert.java:41)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.verifyDisksHealth(TestDiskFailures.java:239)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.testDirsFailures(TestDiskFailures.java:186)
> 			at org.apache.hadoop.yarn.server.TestDiskFailures.testLogDirsFailures(TestDiskFailures.java:111)
> {code}
>  So extend the sleep time from 1000ms to 1500ms to avoid some unit test errors.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message