hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yangfang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15862) beeline always have a warning "Hive does not support autoCommit=false"
Date Thu, 09 Feb 2017 13:03:41 GMT

     [ https://issues.apache.org/jira/browse/HIVE-15862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

yangfang updated HIVE-15862:
----------------------------
            Assignee: yangfang
        Release Note: set the autoCommit default value to true in BeeLineOpts
    Target Version/s: 2.1.1, 2.1.0
              Status: Patch Available  (was: Open)

> beeline always have a warning "Hive does not support autoCommit=false"
> ----------------------------------------------------------------------
>
>                 Key: HIVE-15862
>                 URL: https://issues.apache.org/jira/browse/HIVE-15862
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.1.0
>         Environment: hive2.1.0
>            Reporter: yangfang
>            Assignee: yangfang
>
> When we use beeline, there is always a warning::"Request to set autoCommit to false;
Hive does not support autoCommit=false",
> For example, we use beeline excute a sql:
> beeline -u "jdbc:hive2://localhost:10000/default" -n mr -e  "show tables" --hivevar taskNO=10111,
we got this warning.
> When I looked at the hive source code, I found the BeeLineOpts set the  autoCommit default
value to false, It always triggers an alarm when beeline connect to the hiveserver2 in DatabaseConnection.connect:
>  getConnection().setAutoCommit(beeLine.getOpts().getAutoCommit());



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message