Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3114

Sqlline throws exception at launch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.0.0
    • 1.0.0
    • Client - CLI
    • None

    Description

      # ./sqlline -u jdbc:drill:zk=10.10.103.32:5181
      Error: Can't change transaction isolation level to Connection.TRANSACTION_REPEATABLE_READ (from Connection.TRANSACTION_NONE).  (Drill is not transactional.) (state=,code=0)
      java.sql.SQLFeatureNotSupportedException: Can't change transaction isolation level to Connection.TRANSACTION_REPEATABLE_READ (from Connection.TRANSACTION_NONE).  (Drill is not transactional.)
      	at org.apache.drill.jdbc.DrillConnectionImpl.setTransactionIsolation(DrillConnectionImpl.java:275)
      	at sqlline.Commands.isolation(Commands.java:679)
      	at sqlline.DatabaseConnection.connect(DatabaseConnection.java:186)
      	at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:203)
      	at sqlline.Commands.connect(Commands.java:1064)
      	at sqlline.Commands.connect(Commands.java:996)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
      	at sqlline.SqlLine.dispatch(SqlLine.java:803)
      	at sqlline.SqlLine.initArgs(SqlLine.java:588)
      	at sqlline.SqlLine.begin(SqlLine.java:656)
      	at sqlline.SqlLine.start(SqlLine.java:398)
      	at sqlline.SqlLine.main(SqlLine.java:292)
      sqlline version 1.1.9
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: