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

Ding Yuan commented on HDFS-6144:
---------------------------------

Ping. Is there anything else I can help from my side?

> Failing to delete balancer.id in close could prevent balancer from starting 
> the next time
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-6144
>                 URL: https://issues.apache.org/jira/browse/HDFS-6144
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Ding Yuan
>
> Line: 215, File: 
> "org/apache/hadoop/hdfs/server/balancer/NameNodeConnector.java"
> {noformat}
> 199: void close() {
> 212:       try {
> 213:         fs.delete(BALANCER_ID_PATH, true);
> 214:       } catch(IOException ioe) {
> 215:         LOG.warn("Failed to delete " + BALANCER_ID_PATH, ioe);
> 216:       }
> {noformat}
> If the FS cannot delete this file for some reason, it will prevent any 
> balancers from running in the future. Should at least retry in this case (or 
> warn the users about this and suggesting them to manually delete this file)?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to