You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Ding Yuan (JIRA)" <ji...@apache.org> on 2014/03/23 17:20:42 UTC
[jira] [Created] (HDFS-6144) Failing to delete balancer.id in close
could prevent balancer from starting the next time
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)