Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6705

hive jdbc can not used by jmeter, because of unsupported auto commit feature

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 0.12.0
    • 2.0.0
    • JDBC
    • None
    • CentOS_X86_64
      JMeter 2.11

    Description

      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

      public void setAutoCommit(boolean autoCommit) throws SQLException {
      // TODO Auto-generated method stub

      throw new SQLException("Method not supported");
      }

      so ,should we make a mock to support the auto commit property == false ?

      public void setAutoCommit(boolean autoCommit) throws SQLException {
      // TODO Auto-generated method stub
      if(autoCommit)
      throw new SQLException("Method not supported");
      else
      return;
      }

      Attachments

        1. HIVE-6705.2.patch.txt
          4 kB
          Navis Ryu
        2. HIVE-6705.1.patch.txt
          3 kB
          Navis Ryu

        Issue Links

          Activity

            People

              navis Navis Ryu
              Benn.cs Ben
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: