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

Unable to close the connection when fetching data from two databases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • None
    • None
    • Clients
    • None
    • Important
    • ghx-label-13

    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

        1. JDBCExample2.java
          2 kB
          Tim Armstrong

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              jayashree jayashree
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: