Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1579

JDBC connection failed: enable rpcThriftCompressionEnable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Client/JDBC

    Description

      Firstly, I set org.apache.iotdb.jdbc.Config.rpcThriftCompressionEnable = true; in code, then I use DriverManager.getConnection() to connect, but it failed.

      Some logs:

      org.apache.iotdb.rpc.IoTDBConnectionException: org.apache.thrift.transport.TTransportException: Socket is closed by peer.

      java.sql.SQLException: Can not establish connection with jdbc:iotdb://127.0.0.1:6667/ : Socket is closed by peer..

      cn.edu.tsinghua.iotdb.benchmark.tsdb.TsdbException: cn.edu.tsinghua.iotdb.benchmark.tsdb.TsdbException: java.sql.SQLException: Can not establish connection with jdbc:iotdb://127.0.0.1:6667/ : Socket is closed by peer..

      Attachments

        Activity

          People

            spricoder Hongyin Zhang
            spricoder Hongyin Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: