[
https://issues.apache.org/jira/browse/HDFS-13399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450482#comment-16450482
]
Plamen Jeliazkov commented on HDFS-13399:
-----------------------------------------
I looked into the unit test failure.
When the timeout struck on
{{TestStateAlignmentContextWithHA.testMultiClientStatesWithRandomFailovers}} it
left dangling DFSClients that interrupted and bleed into other unit tests. I
was able to reproduce these same errors and some new ones by reducing the
timeout in that test to just 3000 (3 seconds).
I have modified {{TestStateAlignmentContextWithHA}} so that in the {{@Before}}
case it will now kill all Workers if they are not already closed / empty.
I am now able to isolate just the failure of
{{testMultiClientStatesWithRandomFailovers}}.
I have also addressed the unused imports. Oops.
Attaching patch.
> Make Client field AlignmentContext non-static.
> ----------------------------------------------
>
> Key: HDFS-13399
> URL: https://issues.apache.org/jira/browse/HDFS-13399
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Affects Versions: HDFS-12943
> Reporter: Plamen Jeliazkov
> Assignee: Plamen Jeliazkov
> Priority: Major
> Attachments: HDFS-13399-HDFS-12943.000.patch,
> HDFS-13399-HDFS-12943.001.patch, HDFS-13399-HDFS-12943.002.patch,
> HDFS-13399-HDFS-12943.003.patch
>
>
> In HDFS-12977, DFSClient's constructor was altered to make use of a new
> static method in Client that allowed one to set an AlignmentContext. This
> work is to remove that static field and make each DFSClient pass it's
> AlignmentContext down to the proxy Call level.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]