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

Unable to close the connection when fetching data from two databases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:
      None
    • Epic Color:
      ghx-label-14

      Description

      Hi Team,

      I am connecting two databases using cloudera.impala.jdbc41.Driver.

      I have two classes with two different connections, each having different SQLs to perform in respective database.

      When I am executing these two classes together, I am getting below error though I am closing first connection and then connecting to other Database.

      Error: 

      j*ava.sql.SQLException: [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Could not resolve table reference:* 
      Caused by: java.sql.SQLException:
      [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Could not resolve table reference: 
      Caused by: com.cloudera.support.exceptions.GeneralException:
      [Simba][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Could not resolve table reference: 

       

      Seems its not able to close first connection.

      Can you please check it

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jayashree jayashree
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: