hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11186) [SPS]: Daemon thread of SPS should start only in Active NN
Date Wed, 28 Dec 2016 02:31:58 GMT

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

Wei Zhou commented on HDFS-11186:
---------------------------------

Hi [~rakeshr], thanks for reviewing the patch! The reason is that it takes extra time to stop
NN than previous.
{code}
    try {
      storagePolicySatisfierThread.join(3000);
    } catch (InterruptedException ie) {
    }
{code}
It will take longer time to finish for tests that have to change NN HA states or restart NN,
and this leads to timeout failure.

> [SPS]: Daemon thread of SPS should start only in Active NN
> ----------------------------------------------------------
>
>                 Key: HDFS-11186
>                 URL: https://issues.apache.org/jira/browse/HDFS-11186
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>         Attachments: HDFS-11186-HDFS-10285.00.patch, HDFS-11186-HDFS-10285.01.patch,
HDFS-11186-HDFS-10285.02.patch
>
>
> As discussed in [HDFS-10885 |https://issues.apache.org/jira/browse/HDFS-10885], we need
to ensure that SPS is started only in Active NN. This JIRA is opened for discussion and tracking.



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

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


Mime
View raw message