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

Unknown database for INSERT target table gives frontend NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 0.7
    • Impala 0.7
    • None
    • None

    Description

      [localhost:21000] >  insert into table unknowndb.foo select 1 from functional.alltypes a
      Query: insert into table unknowndb.foo select 1 from functional.alltypes a
      ERROR: com.cloudera.impala.common.AnalysisException
              at com.cloudera.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:203)
              at com.cloudera.impala.service.Frontend.createExecRequest(Frontend.java:375)
              at com.cloudera.impala.service.JniFrontend.createExecRequest(JniFrontend.java:125)
      Caused by: java.lang.NullPointerException
              at com.cloudera.impala.analysis.InsertStmt.analyze(InsertStmt.java:77)
              at com.cloudera.impala.analysis.AnalysisContext.analyze(AnalysisContext.java:198)
      

      Attachments

        Activity

          People

            henryr Henry Robinson
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: