mirror of
https://github.com/apache/impala.git
synced 2025-12-21 02:48:14 -05:00
When a task submitted via HdfsMonitoredOps fails, it raises TErrorCode::THREAD_POOL_TASK_TIMED_OUT or TErrorCode::THREAD_POOL_SUBMIT_FAILED errors. The error generated calls GetDescription() to provide information about the failed hdfs operation. This change appends the hostname to the description to enable the user to easily identify the host which has reached a bad connection state with the NameNode. Testing: Modified the test_hdfs_timeout.py to ensure that the hostname is logged in the error message. Change-Id: Ief1e21560b6fb54965f2fb2793c32c2ba5176ba2 Reviewed-on: http://gerrit.cloudera.org:8080/12593 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
3.9 KiB
3.9 KiB