[
https://issues.apache.org/jira/browse/HDFS-9376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki updated HDFS-9376:
-----------------------------------
Attachment: HDFS-9376.001.patch
If we set time between failover to greater value, we might not get enough
failovers kicking in while test threads are doing operations. I think it would
be better to set smaller maximum sleep time for clients by setting
{{dfs.client.failover.sleep.max.millis}} to make test stable and shorter.
{code}
String SLEEPTIME_BASE_KEY = PREFIX + "sleep.base.millis";
int SLEEPTIME_BASE_DEFAULT = 500;
String SLEEPTIME_MAX_KEY = PREFIX + "sleep.max.millis";
int SLEEPTIME_MAX_DEFAULT = 15000;
{code}
In addition, test should exit immediately after all test threads finish the
work.
> TestSeveralNameNodes fails occasionally
> ---------------------------------------
>
> Key: HDFS-9376
> URL: https://issues.apache.org/jira/browse/HDFS-9376
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Kihwal Lee
> Assignee: Masatake Iwasaki
> Attachments: HDFS-9376.001.patch
>
>
> TestSeveralNameNodes has been failing in precommit builds. It usually times
> out on waiting for the last thread to finish writing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)