You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/10/12 02:49:00 UTC

[jira] [Commented] (IMPALA-12216) Print timestamp for impala-shell errors

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

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

Commit 2535e79491078a0353dbeed1a094e91366906149 in impala's branch refs/heads/master from Saurabh Katiyal
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2535e7949 ]

IMPALA-12216: Print timestamp for impala-shell errors

This change will print timestamp of an exception or warning
occurred during execution of a query via impala-shell.
The timestamp will use timezone of the machine running impala-shell.

example:
Query submitted at: 2024-08-22 16:17:57 (Coordinator: http://host:25000)
Query state can be monitored at:
http://localhost:25000/query_plan?query_id=e04dcc55e560d1ee:11173fe800000000
^C Cancelling Query
Opened TCP connection to localhost:21050
2024-08-22 16:17:58 [Exception] type=<class 'socket.error'> in FetchResults.
[Errno 4] Interrupted system call
2024-08-22 16:17:58 [Warning]  Cancelling Query
2024-08-22 16:17:58 [Warning] close session RPC failed: <class
'shell_exceptions.QueryCancelledByShellException'>
Opened TCP connection to localhost:21050
[localhost:21050] default>

Change-Id: I4abbd02aa9f61210b0333495bf191e72c22a5944
Reviewed-on: http://gerrit.cloudera.org:8080/21426
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Print timestamp for impala-shell errors
> ---------------------------------------
>
>                 Key: IMPALA-12216
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12216
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Clients
>            Reporter: Quanlong Huang
>            Assignee: Saurabh Katiyal
>            Priority: Major
>              Labels: newbie, ramp-up
>
> Impala-shell prints the query submit time. It should also print the timestamp when it encounter failures:
> {noformat}
> default> select ...
> Query: select ...
> Query submitted at: 2023-06-14 18:32:21 (Coordinator: ...)
> Query progress can be monitored at: ...
> Error communicating with impalad: TSocket read 0 bytes{noformat}
> So we know when exactly the connection is closed in client's pespective.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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