I wonder if you can help me. I am a newbie to Hadoop.
I am running Sqoop import on a hadoop image of BigTop on Centos6.
I think I have everything set up correctly and I have run some introductory tutorials, however, I am now wanting to import a mySQL database table into my Hadoop instance.
Here is the command that I am using.
sqoop import --connect jdbc:mysql://192.168.1.15:3306/world --table city --username root --password <myrootpassword>
The error that I get back is:
sqoop home directory: /usr/lib/sqoop...
Exception in
thread "main" java.io.FileNotFoundException: /var/log/sqoop/import (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.io.FileReader.<init>(FileReader.java:72)
at org.apache.sqoop.client.shell.SqoopShell.interpretFileContent(SqoopShell.java:146)
at org.apache.sqoop.client.shell.SqoopShell.main(SqoopShell.java:134)