Sqoop, mail # dev - Re: starting sqoop2 server - 2014-04-01, 20:21
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: starting sqoop2 server
I am doing a manual deploy of sqoop2 server from instructions here.
https://cwiki.apache.org/confluence/display/SQOOP/Sqoop2+Manual+Setup

As detailed in the instructions, I am able to start sqoop server listening
on
http://localhost:8080/sqoop

But I also see a couple of properties being passed to CATALINA_OPTS for
starting sqoop server on port 12000, which is completely ignored. Any idea *how
I can send the sqoop server web application to listen on a configurable
port*?

Also, *whats the best location for putting the mysql jdbc driver jar file*?
Right now I have it under
s2test/tomcat-deployment/lib/
along with tomcat jars and I include this directory on the tomcat classpath
thru setenv.sh

Note: s2test is the equivalent of /var/lib/sqoop2 in cdh.

ps axu | grep 17349

root     17349 11.3  1.9 4229428 158440 pts/7  Sl   13:07   0:09
/usr/lib/jvm/java-6-oracle/bin/java
-Djava.util.logging.config.file=/opt/mapr/sqoop/s2test/server/conf/logging.properties
-Dsqoop.config.dir=/opt/mapr/sqoop/s2test/conf
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
*-Dsqoop.http.port=12000
-Dsqoop.admin.port=12001*-Djava.endorsed.dirs=/opt/mapr/sqoop/s2test/server/endorsed
-classpath
/opt/mapr/sqoop/s2test/server/bin/tomcat-juli.jar:/opt/mapr/sqoop/s2test/server/bin/bootstrap.jar::server/bin/../lib/annotations-api.jar:server/bin/../lib/catalina-ant.jar:server/bin/../lib/catalina-ha.jar:server/bin/../lib/catalina-tribes.jar:server/bin/../lib/catalina.jar:server/bin/../lib/ecj-3.7.2.jar:server/bin/../lib/el-api.jar:server/bin/../lib/jasper-el.jar:server/bin/../lib/jasper.jar:server/bin/../lib/jsp-api.jar:server/bin/../lib/mysql-connector-java-5.1.30-bin.jar:server/bin/../lib/servlet-api.jar:server/bin/../lib/tomcat-api.jar:server/bin/../lib/tomcat-coyote.jar:server/bin/../lib/tomcat-dbcp.jar:server/bin/../lib/tomcat-i18n-es.jar:server/bin/../lib/tomcat-i18n-fr.jar:server/bin/../lib/tomcat-i18n-ja.jar:server/bin/../lib/tomcat-jdbc.jar:server/bin/../lib/tomcat-util.jar:
Thanks,
Suhas.

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB