Browse Source

Actually make MINI_CLUSTER_CLEANUP do something useful.

Aaron T. Myers 15 years ago
parent
commit
694e3abce5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/hadoop/src/hadoop/mini_cluster.py

+ 1 - 1
desktop/libs/hadoop/src/hadoop/mini_cluster.py

@@ -307,7 +307,7 @@ rpc.class=org.apache.hadoop.metrics.spi.NoEmitMetricsContext
       os.kill(self.secondary_proc.pid, signal.SIGKILL)
       self.secondary_proc.wait()
 
-    if CLEANUP_TMP_DIR:
+    if CLEANUP_TMP_DIR != 'false':
       logging.info("Cleaning up self.tmpdir.  Use $MINI_CLUSTER_CLEANUP to avoid.")
       shutil.rmtree(self.tmpdir)