hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ding Yuan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6144) Failing to delete balancer.id in close could prevent balancer from starting the next time
Date Sun, 23 Mar 2014 16:20:42 GMT
Ding Yuan created HDFS-6144:
-------------------------------

             Summary: 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)

Mime
View raw message