sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suhas Satish <suhas.sat...@gmail.com>
Subject Re: starting sqoop2 server
Date Wed, 02 Apr 2014 17:58:59 GMT
Thanks a lot for pointing me in the right direction Vasanth, you saved me
 a great deal of time!

 I see the change in server.xml which makes the port configurable now

    <Connector port="${sqoop.http.port}" protocol="HTTP/1.1"


Cheers,
Suhas.


On Wed, Apr 2, 2014 at 4:25 AM, vasanth kumar <rj.vasanthkumar@gmail.com>wrote:

> Hi Suhas,
>
> Check tomcat's connector port in server.xml
>
> You are using old svn code build and setup.
>
> Check this link to build:
> http://sqoop.apache.org/docs/1.99.3/BuildingSqoop2.html
>
> Installation part given in :
> http://sqoop.apache.org/docs/1.99.3/Installation.html
>
>
>
>
> On Wed, Apr 2, 2014 at 1:50 AM, Suhas Satish <suhas.satish@gmail.com>wrote:
>
>> 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.
>>
>
>
>
> --
> Regards
> Vasanth kumar RJ
>

Mime
View raw message