Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9483

Add logs for debugging builtin functions throw unknown exception randomly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 3.4.0
    • Fix Version/s: Impala 4.0, Impala 3.4.1
    • Component/s: Frontend
    • Labels:
      None
    • Epic Color:
      ghx-label-6

      Description

      This is a random issue happens in Impala 3.4.0 env:

      1. has sentry installed
      2. high concurrency on impalad
      3. 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:

       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)
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Xiaomeng Zhang Xiaomeng Zhang
                Reporter:
                Xiaomeng Zhang Xiaomeng Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: