Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

install Streaming SQL Console error

avatar
Contributor

cdp7.1.6

SQL_STREAM_BUILDER-1.12-csa1.4.1.0-cdh7.1.6.0-297-15479260

 

dfdf_0-1653977014012.png

 

dfdf_1-1653977074571.png

 

6 REPLIES 6

avatar

@dfdf as the error suggests:  You need to install the mysql connector.  I believe this link will get you there:

 

https://docs.cloudera.com/csa/1.3.0/installation/topics/csa-ssb-configuring-mysql.html#ariaid-title3

 

 

 

avatar
Contributor

According to the above documents to install psycopg2, error remains

avatar
Contributor

dfdf_0-1654571537581.png

after install ,error remains

dfdf_1-1654571584421.png

 

avatar

Fun with python,  you are going to need to resolve all dependencies.  I am not familiar with the last error, but its definitely saying psycopg2 is not found.. 

avatar
Super Guru

@dfdf ,

 

In Cloudera Manager, please go to SQL Stream Builder > Configuration and check that the below property is set correctly:

araujo_0-1654745164574.png

If it's not set to the /usr/share/python3 directory, please set it to that, save and restart the service.

 

Cheers,

André

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Contributor

dfdf_0-1654845095103.png

Follow the steps to install, lack _psycopg psycopg2 package. Py files

The solution

1:wget https://github.com/psycopg/psycopg2/archive/refs/tags/2_8_5.tar.gz

2:tar -xf 2_8_5.tar.gz

3:python setup.py build

   python setup.py install
4:cp psycopg2-2.8.5-py3.7-linux-x86_64.egg/psycopg2 /usr/share/python3

dfdf_1-1654845427474.pngdfdf_2-1654845450266.png