You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi,
I have a problem about sqoop.
When I execute tsqoopimport component that show a error about
"Cannot run program "sqoop":java.io.IOException:error=2,No such file or directory"
what's wrong with sqoop,and how to specify SQOOP client dir?
I install sqoop,hadoop,TOSBD on a same server,and run sqoop-import command is ok.
Have someone help me?I need to install a JobServer?

Hi
Here is the code in this component.
String[] cmd_tSqoopImport_1 = new String[] { "sqoop", "import",
"--connect", "jdbc:mysql://localhost/database_name",
"--table", "table_name", "--username", "",
"--password", ""
};
final Process ps_tSqoopImport_1 = runtime_tSqoopImport_1
.exec(cmd_tSqoopImport_1);The component executes "sqoop". Please check whether "sqoop" is internal or external command in cmd.
Regards,
Pedro
Offline
Thanks,The problem is resolve
We can export SQOOP path in ./bash_profile and then execute SQOOP on external command,than then open TosBD to execute tsqoopImport
Pages: 1