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

Xiao Chen updated HDFS-9429:
----------------------------
    Attachment: HDFS-9429.001.patch

It seems to me that the root cause is there's no wait-for-active mechanism for 
journal nodes in {{MinijournalCluster}}.
Attached patch 1 to add the {{waitActive}} method.
Also, the failures are very hard to reproduce, since the rpc race has to be 
very exact. I'm not sure how to programmatically reproduce them yet....
Any feedback/comments are high appreciated.

> Tests in TestDFSAdminWithHA intermittently fail with EOFException
> -----------------------------------------------------------------
>
>                 Key: HDFS-9429
>                 URL: https://issues.apache.org/jira/browse/HDFS-9429
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: HDFS
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HDFS-9429.001.patch
>
>
> I have seen this fail a handful of times for {{testMetaSave}}, but from my 
> understanding this is from {{setUpHaCluster}} so theoretically it could fail 
> for any cases in the class.



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

Reply via email to