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

Hemanth Boyina commented on HDFS-15569:
---------------------------------------

One solution can be rename the current directory to current.tmp directory and 
delete the current.tmp in parallel , as the current directory doesn't exists 
now datanode upgrade can be proceeded 

> Speed up the Storage#doRecover during datanode rolling upgrade 
> ---------------------------------------------------------------
>
>                 Key: HDFS-15569
>                 URL: https://issues.apache.org/jira/browse/HDFS-15569
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Hemanth Boyina
>            Assignee: Hemanth Boyina
>            Priority: Major
>
> When upgrading datanode from hadoop 2.7.2 to 3.1.1 , because of jvm not 
> having enough memory upgrade failed , Adjusted memory configurations and re 
> upgraded datanode ,
> Now datanode upgrade has taken more time , on analyzing found that 
> Storage#deleteDir has taken more time in Recover_Upgrade state 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to