[ 
https://issues.apache.org/jira/browse/HDFS-9574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064026#comment-15064026
 ] 

Kihwal Lee commented on HDFS-9574:
----------------------------------

All failed test cases pass when run locally, except this one.
{noformat}
Running org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 48.968 sec <<< 
FAILURE!
 - in org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint
testWithRemoteClient(org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint)
  Time elapsed: 16.784 sec  <<< ERROR!
java.io.IOException: Not ready to serve the block pool, Dummy-pool.
        at 
org.apache.hadoop.hdfs.server.datanode.DataXceiver.checkAndWaitForBP(DataXceiver.java:218)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.issueWriteBlockCall(TestDataXceiverLazyPersistHint.java:118)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.testWithRemoteClient(TestDataXceiverLazyPersistHint.java:90)

testOverrideWithRemoteClient(org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint)
  Time elapsed: 16.047 sec  <<< ERROR!
java.io.IOException: Not ready to serve the block pool, Dummy-pool.
        at 
org.apache.hadoop.hdfs.server.datanode.DataXceiver.checkAndWaitForBP(DataXceiver.java:218)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.issueWriteBlockCall(TestDataXceiverLazyPersistHint.java:118)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.testOverrideWithRemoteClient(TestDataXceiverLazyPersistHint.java:107)

testWithLocalClient(org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint)
  Time elapsed: 16.049 sec  <<< ERROR!
java.io.IOException: Not ready to serve the block pool, Dummy-pool.
        at 
org.apache.hadoop.hdfs.server.datanode.DataXceiver.checkAndWaitForBP(DataXceiver.java:218)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.issueWriteBlockCall(TestDataXceiverLazyPersistHint.java:118)
        at 
org.apache.hadoop.hdfs.server.datanode.TestDataXceiverLazyPersistHint.testWithLocalClient(TestDataXceiverLazyPersistHint.java:75)
{noformat}

> Reduce client failures during datanode restart
> ----------------------------------------------
>
>                 Key: HDFS-9574
>                 URL: https://issues.apache.org/jira/browse/HDFS-9574
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>         Attachments: HDFS-9574.patch
>
>
> Since DataXceiverServer is initialized before BP is fully up, client requests 
> will fail until the datanode registers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to