• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to import from mysql to hdfs using sqoop

 
akshay naidu
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i am trying to import a table from mysql to hdfs with command ->

but i am getting this error->



note that as i run sqoop command it warns that -

i dont understand how to deal with zookeeper here.

hadoop version is hadoop-2.7.0
sqoop version is sqoop-1.4.6
mysql connector is - mysql-connector-java-5.1.39

i am able to view databases and tables in mysql using

and

but when i try to import it gives me error.
i've already set .bashrc.

Please someone help. Thank you.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!