Kaynağa Gözat

Log the error causing validation failure.

bc Wong 15 yıl önce
ebeveyn
işleme
6f62f5dbd8

+ 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()
       r_file.read()
     except Exception:
     except Exception:
       msg = 'Failed to read file. Are all datanodes configured with the HUE plugin?'
       msg = 'Failed to read file. Are all datanodes configured with the HUE plugin?'
+      LOG.exception(msg)
       res.append((fs_config, msg))
       res.append((fs_config, msg))
   finally:
   finally:
     # Cleanup. Ignore if file not found.
     # Cleanup. Ignore if file not found.