浏览代码

[desktop] Stop eating exceptions if a pseudo cluster fails to start

Erick Tryzelaar 10 年之前
父节点
当前提交
d19fd78
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      desktop/libs/hadoop/src/hadoop/pseudo_hdfs4.py

+ 1 - 4
desktop/libs/hadoop/src/hadoop/pseudo_hdfs4.py

@@ -554,10 +554,7 @@ def shared_cluster():
       cluster = PseudoHdfs4()
       cluster = PseudoHdfs4()
       atexit.register(cluster.stop)
       atexit.register(cluster.stop)
 
 
-      try:
-        cluster.start()
-      except Exception, ex:
-        LOG.exception("Failed to fully bring up test cluster: %s" % (ex,))
+      cluster.start()
 
 
       fqdn = socket.getfqdn()
       fqdn = socket.getfqdn()
       webhdfs_url = "http://%s:%s/webhdfs/v1" % (fqdn, cluster.dfs_http_port,)
       webhdfs_url = "http://%s:%s/webhdfs/v1" % (fqdn, cluster.dfs_http_port,)