You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "ZhangZhengming (Jira)" <ji...@apache.org> on 2022/01/19 04:43:00 UTC

[jira] [Created] (IOTDB-2438) [Spark-IoTDB] refer to the official document and it cannot be used

ZhangZhengming created IOTDB-2438:
-------------------------------------

             Summary: [Spark-IoTDB] refer to the official document and it cannot be used
                 Key: IOTDB-2438
                 URL: https://issues.apache.org/jira/browse/IOTDB-2438
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.13.0-SNAPSHOT
            Reporter: ZhangZhengming
         Attachments: image-2022-01-19-12-41-23-471.png, image-2022-01-19-12-41-45-128.png

1、官方文档没有说明iotdb-jdbc-0.13.0-jar-with-dependencies.jar的打包方式

-Pget-jar-with-dependencies

2、java.lang.NoSuchMethodError: org.apache.thrift.transport.TSocket.<init>

!image-2022-01-19-12-41-23-471.png!

spark2.4.5使用的thrift版本为0.9.3,IoTDB_0.13使用的thrift版本为0.14.1

删除spark/jars/ libthrift-0.9.3.jar,将iotdb/lib下的libthrift-0.14.1.jar拷贝到spark/jars下解决

3、df.show()    java.lang.NoSuchMethodError

!image-2022-01-19-12-41-45-128.png!
h4.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)