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]
Created 01-26-2022 04:34 AM
Hi,
I am trying to run this import command:
sqoop import --connect jdbc:postgresql://[host]:[port]/[db] --username [user] --password-file [path_to_pass] -table [table] --hive-import -hive-drop-import-delims --as-parquetfile --parquet-configurator-implementation hadoop --hive-table district_startdates_test --target-dir [target_with_db] -m 1 --hs2-url="jdbc:hive2://[cdp]/;ssl=true;transportMode=http;httpPath=[path_to_proxy];user=[user];password=[cluster_passw]" --verbose
but it gets stuck at
DEBUG manager.SqlManager: No connection paramenters specified. Using regular API for making connection.
...any idea?
thanks
Created on 02-03-2022 01:41 AM - edited 02-03-2022 01:43 AM
Hi @mszurap ,
thanks for the tool
So, somehow the connection is now working , namely the command we tried to cloudera support, like:
`sqoop eval --connect ...`
or
` sqoop list-databases --connect`
before running any sqoop command, we set up a ssh tunnel, with
ssh -o ServerAliveInterval=60 -M -S mktemp -fN -L local_port:psql_fqdn:remote_p user@host_IP
(which I was doing also before, so not sure why now it works...
I will mark it now as solved
thanks anyway,
Gr
Created on 02-03-2022 01:41 AM - edited 02-03-2022 01:43 AM
Hi @mszurap ,
thanks for the tool
So, somehow the connection is now working , namely the command we tried to cloudera support, like:
`sqoop eval --connect ...`
or
` sqoop list-databases --connect`
before running any sqoop command, we set up a ssh tunnel, with
ssh -o ServerAliveInterval=60 -M -S mktemp -fN -L local_port:psql_fqdn:remote_p user@host_IP
(which I was doing also before, so not sure why now it works...
I will mark it now as solved
thanks anyway,
Gr