[ 
https://issues.apache.org/jira/browse/IMPALA-8245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778709#comment-16778709
 ] 

ASF subversion and git services commented on IMPALA-8245:
---------------------------------------------------------

Commit 72fd7c3d4d50f30479b5f6d50b327dff9ff013ac in impala's branch 
refs/heads/master from poojanilangekar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=72fd7c3 ]

IMPALA-8245: Add hostname to the error message in HdfsMonitoredOps

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-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Add hostname to timeout error message in HdfsMonitoredOps
> ---------------------------------------------------------
>
>                 Key: IMPALA-8245
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8245
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.2.0
>            Reporter: Joe McDonnell
>            Assignee: Pooja Nilangekar
>            Priority: Major
>
> If a DiskIo operation times out, it generates a 
> TErrorCode::THREAD_POOL_TASK_TIMED_OUT or 
> TErrorCode::THREAD_POOL_SUBMIT_FAILED error codes. These call 
> GetDescription() to get DiskIo related context. That information should 
> include the hostname where the error occurred to allow tracking down a 
> problematic host that is seeing DiskIo timeouts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to