why i can't connect iotdb 0.12.1 service by pyspark? #3851
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
From you error log. The cause of this error is the port of JDBC connection. If you use default config, you should connect to port NO.6667 rather than 6668. |
Beta Was this translation helpful? Give feedback.
-
I will try it later. You can try with spark-shell as follow:
|
Beta Was this translation helpful? Give feedback.
-
I've solved the problem by replacing spark cluster server and using spark-iotdb-connector-0.12.0 to connect iotdb 0.12.1. thanks for SilverNarcissus and qiaojialin's help and patience! |
Beta Was this translation helpful? Give feedback.
From you error log. The cause of this error is the port of JDBC connection. If you use default config, you should connect to port NO.6667 rather than 6668.
For trouble shooting, you can firstly use command line or java example to connect iotdb without spark. Then you can try use spark locally in our spark example. Finally, submit this job by spark-submit. During these step you can figure out where is the problem.