sqoop import issue with mysql

前端 未结 9 1755
情深已故
情深已故 2021-01-13 04:07

I have a hadoop ha setup based on cdh5.I have tried to import tables from mysql by using sqoop failed with following error.

15/03/20 12:47:53 ERROR manager.         


        
9条回答
  •  庸人自扰
    2021-01-13 04:30

    Sqoop does not ship with third party JDBC drivers. You must download them separately and save them to the /var/lib/sqoop/ directory on the server.

    Note: The JDBC drivers need to be installed only on the machine where Sqoop runs. You do not need to install them on all hosts in your Hadoop cluster.

    You can download driver from here : https://dev.mysql.com/downloads/connector/j/5.1.html

提交回复
热议问题