[ 
https://issues.apache.org/jira/browse/SQOOP-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633697#comment-13633697
 ] 

Mark Grover commented on SQOOP-990:
-----------------------------------

For the benefit of the readers:
the default value of HTTP port is 12000 and that of admin port is 1 more than 
HTTP port (i.e. 12001).

In order to override the values, the user can set environment variables like:
{code}
export SQOOP_HTTP_PORT=12008
export SQOOP_ADMIN_PORT=12020
{code}

Alternatively, the following parameters can be sent to catalina.sh (SQOOP-982 
allows to do this via sqoop.sh script)
{code}
-Dsqoop.http.port=12008 -Dsqoop.admin.port=12020
{code}

                
> Sqoop2: Allow users to override Sqoop2's default http port and admin port
> -------------------------------------------------------------------------
>
>                 Key: SQOOP-990
>                 URL: https://issues.apache.org/jira/browse/SQOOP-990
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: sqoop2-server
>    Affects Versions: 1.99.1
>            Reporter: Mark Grover
>            Assignee: Mark Grover
>             Fix For: 1.99.3
>
>         Attachments: SQOOP-990.1.patch
>
>
> Sqoop2 presently doesn't provide an option for the user to override the 
> tomcat http port and the admin port. We should create properties so that 
> these ports can be overriden by specifiying properties like: 
> {code}
> export SQOOP_HTTP_PORT=12000
> export SQOOP_ADMIN_PORT=12001
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to