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 on 07-15-2014 01:43 PM - edited 09-16-2022 02:02 AM
14/07/15 13:26:46 ERROR tool.BaseSqoopTool: Got error creating database manager: java.lang.NullPointerException
at java.util.Arrays.sort(Arrays.java:1078)
at org.apache.sqoop.ConnFactory.loadManagersFromConfDir(ConnFactory.java:289)
at org.apache.sqoop.ConnFactory.instantiateFactories(ConnFactory.java:85)
at org.apache.sqoop.ConnFactory.<init>(ConnFactory.java:62)
at com.cloudera.sqoop.ConnFactory.<init>(ConnFactory.java:36)
at org.apache.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:225)
at org.apache.sqoop.tool.ExportTool.run(ExportTool.java:89)
at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
Thank you for any help.
Created 07-17-2014 01:39 PM
chmod 755 /etc/sqoop/conf/managers.d
chmod 644 /etc/sqoop/conf/managers.d/cldra_td_connector.txt
The commands above have solved the issue. This should be added to the guide.
Thanks!
Created 07-16-2014 12:09 PM
Created 07-17-2014 01:39 PM
chmod 755 /etc/sqoop/conf/managers.d
chmod 644 /etc/sqoop/conf/managers.d/cldra_td_connector.txt
The commands above have solved the issue. This should be added to the guide.
Thanks!
Created 08-22-2014 11:38 AM
Hi Sebastian,
can you please help me in two points
1) where do put the connector jar file?
I placed it in /var/lib/scoop
2) t what should be the content of this file /etc/sqoop/conf/managers.d/cldra_td_connector.tx?
i did
manager.class.name=/var/lib/sqoop/sqoop-connector-teradata-1.2c5.jar
I have been struggeling to get this thig work ... so far no luck
Documentation is really bad ...
Thanks,
Amit
Created 08-25-2014 07:50 AM
Hi Amit,
This is what is in my cldra_td_connector.txt
However you need to change the path to the full path of the location of your connector jar file. I assume yours will be the 2nd option above.
What error are you getting? Make sure your folders/files have read access for the user executing sqoop.
Sebastien
Created 08-25-2014 08:19 AM
Thanks a lot Sebastien....