خرید بک لینک

Vote count: 0

I'm trying to verify my installation following the Sqoop 5 minutes guide. However, I get the following error message:

$ sqoop2-shell
Sqoop home directory: /home/iidev20/sqoop-1.99.6-bin-hadoop200
Loading resource file .sqoop2rc
sqoop:000> set server --host 9.181.139.59
Server is set successfully
 ===> OK
Resource file loaded.
Sqoop Shell: Type 'help' or 'h' for help.

sqoop:000> show version --all
client version:
Sqoop 1.99.6 source revision 07244c3915975f26f03d9e1edf09ab7d06619bb8 
  Compiled by root on Wed Apr 29 10:40:43 CST 2015
 0    [main] WARN  org.apache.hadoop.util.NativeCodeLoader  - Unable to     load native-hadoop library for your platform... using builtin-java  classes where applicable
 Exception has occurred during processing command 
 Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0000:An unknown error has occurred

In my Hadoop machine, I'm trying to start sqoop2-server but it seems that it caot be launched:

[root@sandbox bin]# sqoop2-server start
Sqoop home directory: /usr/lib/sqoop2
Setting SQOOP_HTTP_PORT:     12000
Setting SQOOP_ADMIN_PORT:     12001
Using   CATALINA_OPTS:       
Adding to CATALINA_OPTS:    -Dsqoop.http.port=12000 -Dsqoop.admin.port=12001
Using CATALINA_BASE:   /usr/lib/sqoop2/server
Using CATALINA_HOME:   /usr/lib/sqoop2/server
Using CATALINA_TMPDIR: /usr/lib/sqoop2/server/temp
Using JRE_HOME:        /usr/lib/jvm/java-1.7.0-openjdk.x86_64
Using CLASSPATH:       /usr/lib/sqoop2/server/bin/bootstrap.jar
[root@sandbox bin]# netstat -apn|grep 12000

I got the verification success message after the installation and you can check my post on installation sqoop2 on HDP

I'm wondering what part goes wrong? According to the sqoop installation guide, the machine that holds sqoop2 client does not have to install Hadoop.

asked 16 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 16 تير 1395 ساعت: 15:51

صفحه بندی