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 2021/01/13 01:09:01 UTC

[jira] [Commented] (IMPALA-9483) Add logs for debugging builtin functions throw unknown exception randomly

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

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

Commit f5988190e6a31d1f41b26543ba4987b3cb199bdc in impala's branch refs/heads/3.x from xiaomeng
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f598819 ]

IMPALA-9483 Add logs for debugging builtin functions throw unknown exception randomly

In secure env with high concurrency, queries that call builtin function
randomly fail when trying to find the function. For example,
"AnalysisException: trim() unknown".
Adding more info in exception message to help debugging when it happens
again.

Change-Id: I30d6eb697695da8d2521acb76d8310ec8f1bbda9
Reviewed-on: http://gerrit.cloudera.org:8080/15607
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
(cherry picked from commit 7fa43eef80bcb7823f144690bd1197276907b710)


> Add logs for debugging builtin functions throw unknown exception randomly
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-9483
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9483
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 3.4.0
>            Reporter: Xiaomeng Zhang
>            Assignee: Xiaomeng Zhang
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> This is a random issue happens in Impala 3.4.0 env:
>  # has sentry installed
>  # high concurrency on impalad
>  # happens on view that calls buildin functions
> It looks that restart impalad solves this problem. We should add more info in exception string to help identify the issue when it happens again.
> Error message as below:
> {code:java}
>  org.apache.impala.common.AnalysisException: trim() unknown
> at org.apache.impala.analysis.FunctionCallExpr.analyzeImpl(FunctionCallExpr.java:496)
> at org.apache.impala.analysis.Expr.analyze(Expr.java:357)
> at org.apache.impala.analysis.SelectStmt.analyze(SelectStmt.java:193)
> at org.apache.impala.analysis.InlineViewRef.analyze(InlineViewRef.java:166)
> at org.apache.impala.analysis.FromClause.analyze(FromClause.java:62)
> at org.apache.impala.analysis.SelectStmt.analyze(SelectStmt.java:169)
> at org.apache.impala.analysis.InlineViewRef.analyze(InlineViewRef.java:166)
> at org.apache.impala.analysis.FromClause.analyze(FromClause.java:62)
> at org.apache.impala.analysis.SelectStmt.analyze(SelectStmt.java:169)
> at org.apache.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:446)
> at org.apache.impala.analysis.AnalysisContext.analyzeAndAuthorize(AnalysisContext.java:416)
> at org.apache.impala.service.Frontend.doCreateExecRequest(Frontend.java:1244)
> at org.apache.impala.service.Frontend.getTExecRequest(Frontend.java:1212)
> at org.apache.impala.service.Frontend.createExecRequest(Frontend.java:1184)
> at org.apache.impala.service.JniFrontend.createExecRequest(JniFrontend.java:168)
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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