Explorar o código

Log the error causing validation failure.

bc Wong %!s(int64=15) %!d(string=hai) anos
pai
achega
6f62f5dbd8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.