hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11148) Update DataNode to use StorageLocationChecker at startup
Date Wed, 16 Nov 2016 23:42:59 GMT

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

ASF GitHub Bot commented on HDFS-11148:
---------------------------------------

Github user arp7 commented on a diff in the pull request:

    https://github.com/apache/hadoop/pull/162#discussion_r88357293
  
    --- Diff: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
---
    @@ -1935,6 +1937,10 @@ public void shutdown() {
           }
         }
     
    +    if (storageLocationChecker != null) {
    +      storageLocationChecker.shutdownAndWait(10, TimeUnit.SECONDS);
    --- End diff --
    
    Good point. We can exit much quicker since a stalled disk check need not block shutdown
at all. I'll change it to 1 second.


> Update DataNode to use StorageLocationChecker at startup
> --------------------------------------------------------
>
>                 Key: HDFS-11148
>                 URL: https://issues.apache.org/jira/browse/HDFS-11148
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>
> The DataNode can use the {{StorageLocationChecker}} introduced by HDFS-11119 to parallelize
checking Storage Locations at process startup.



--
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