Browse Source

Log the error causing validation failure.

bc Wong 15 years ago
parent
commit
6f62f5dbd8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py

+ 1 - 0
desktop/libs/hadoop/src/hadoop/fs/hadoopfs.py

@@ -140,6 +140,7 @@ def test_fs_configuration(fs_config, hadoop_bin_conf):
       r_file.read()
     except Exception:
       msg = 'Failed to read file. Are all datanodes configured with the HUE plugin?'
+      LOG.exception(msg)
       res.append((fs_config, msg))
   finally:
     # Cleanup. Ignore if file not found.