You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ben (JIRA)" <ji...@apache.org> on 2014/03/20 06:27:42 UTC
[jira] [Created] (HIVE-6705) hive jdbc can not used by jmeter,
because of unsupported auto commit feature
Ben created HIVE-6705:
-------------------------
Summary: hive jdbc can not used by jmeter, because of unsupported auto commit feature
Key: HIVE-6705
URL: https://issues.apache.org/jira/browse/HIVE-6705
Project: Hive
Issue Type: Bug
Components: JDBC
Affects Versions: 0.12.0
Environment: CentOS_X86_64
JMeter 2.11
Reporter: Ben
Fix For: 0.12.0
In apache jmeter ,the autocommit property is required.
but in the hive jdbc the auto commit is unsupported method.
in
/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java
{quote}
public void setAutoCommit(boolean autoCommit) throws SQLException {
// TODO Auto-generated method stub
throw new {color:red} SQLException("Method not supported");
{color}
}
{quote}
so ,should we make a mock to support the auto commit property == false ?
{quote}
public void setAutoCommit(boolean autoCommit) throws SQLException {
// TODO Auto-generated method stub
{color:red}if(autoCommit) {color}
throw new SQLException("Method not supported");
else
return;
}
{quote}
--
This message was sent by Atlassian JIRA
(v6.2#6252)