Repository navigation
why i can't connect iotdb 0.12.1 service by pyspark? #3851
Answered
by
SilverNarcissus
tvboy20082018
asked this question in
Q&A
Answered by
SilverNarcissus
Aug 27, 2021
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. |
1 reply
Answer selected by
qiaojialin
|
I will try it later. You can try with spark-shell as follow: |
5 replies
|
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! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment












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.