hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shinichi Yamashita (JIRA)" <>
Subject [jira] [Created] (HIVE-11123) Fix how to confirm the RDBMS product name at Metastore.
Date Fri, 26 Jun 2015 04:15:04 GMT
Shinichi Yamashita created HIVE-11123:

             Summary: Fix how to confirm the RDBMS product name at Metastore.
                 Key: HIVE-11123
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 1.2.0
         Environment: PostgreSQL
            Reporter: Shinichi Yamashita
            Assignee: Shinichi Yamashita

I use PostgreSQL to Hive Metastore. And I saw the following message at PostgreSQL log.

< 2015-06-26 10:58:15.488 JST >ERROR:  syntax error at or near "@@" at character 5
< 2015-06-26 10:58:15.488 JST >STATEMENT:  SET @@session.sql_mode=ANSI_QUOTES
< 2015-06-26 10:58:15.489 JST >ERROR:  relation "v$instance" does not exist at character
< 2015-06-26 10:58:15.489 JST >STATEMENT:  SELECT version FROM v$instance
< 2015-06-26 10:58:15.490 JST >ERROR:  column "version" does not exist at character
< 2015-06-26 10:58:15.490 JST >STATEMENT:  SELECT @@version

When Hive CLI and Beeline embedded mode are carried out, this message is output to PostgreSQL
These queries are called from MetaStoreDirectSql#determineDbType. And if we use MetaStoreDirectSql#getProductName,
we need not to call these queries.

This message was sent by Atlassian JIRA

View raw message