Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> starting sqoop2 server


Copy link to this message
-
starting sqoop2 server
Hi
I am trying to start cdh5b2 sqoop2 server from the linux command line.
I see that the catalina tomcat server starts listening on port 8080 instead
of the sqoop server starting up on port 12000. There are no logs that tell
me whats going wrong.

Any ideas?

Here's some diagnosis -

 $SQOOP_HOME/bin/sqoop.sh server start

Sqoop home directory:
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/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:
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server
Using CATALINA_HOME:
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server
Using CATALINA_TMPDIR:
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/temp
Using JRE_HOME:        /usr
Using CLASSPATH:
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/bin/bootstrap.jar
 ps axu | grep sqoop2

root     14130  6.1  0.7 3168652 69424 pts/0   Sl   17:00   0:01
/usr/bin/java
-Djava.util.logging.config.file=/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Dsqoop.http.port=12000 -Dsqoop.admin.port=12001
-Djava.endorsed.dirs=/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/endorsed
-classpath
/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/bin/bootstrap.jar
-Dcatalina.base=/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server
-Dcatalina.home=/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server
-Djava.io.tmpdir=/opt/cloudera/parcels/CDH-5.0.0-0.cdh5b2.p0.27/lib/sqoop2/server/temp
org.apache.catalina.startup.Bootstrap start
root     14545  0.0  0.0   9384   920 pts/0    S+   17:01   0:00 grep
ls $SQOOP_HOME
bin  client-lib  cloudera  server  webapps

sqoop.war is under
webapps/sqoop.war

Thanks,
Suhas.