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

Hudson commented on TAJO-1578:
------------------------------

FAILURE: Integrated in Tajo-master-CODEGEN-build #579 (See 
[https://builds.apache.org/job/Tajo-master-CODEGEN-build/579/])
TAJO-1578: User configuration for pull server port is ignored. (jihoonson: rev 
4189f91d78e01d2a9524b44990093db4c435dc17)
* 
tajo-pullserver/src/main/java/org/apache/tajo/pullserver/TajoPullServerService.java
* CHANGES


> User configuration for pull server port is ignored.
> ---------------------------------------------------
>
>                 Key: TAJO-1578
>                 URL: https://issues.apache.org/jira/browse/TAJO-1578
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Jihoon Son
>            Assignee: Dongkyu Hwangbo
>              Labels: newbie
>             Fix For: 0.12.0, 0.11.1
>
>
> See the title.
> When TajoPullServerService is initialized, it overwrites user-configured pull 
> server port with the default value as follows.
> {code}
> ...
> @Override
>   public void init(Configuration conf) {
>     try {
>       manageOsCache = conf.getBoolean(SHUFFLE_MANAGE_OS_CACHE,
>           DEFAULT_SHUFFLE_MANAGE_OS_CACHE);
>       readaheadLength = conf.getInt(SHUFFLE_READAHEAD_BYTES,
>           DEFAULT_SHUFFLE_READAHEAD_BYTES);
>       int workerNum = conf.getInt("tajo.shuffle.rpc.server.worker-thread-num",
>           Runtime.getRuntime().availableProcessors() * 2);
>       selector = 
> RpcChannelFactory.createServerChannelFactory("TajoPullServerService", 
> workerNum)
>                    .option(ChannelOption.TCP_NODELAY, true)
>                    .childOption(ChannelOption.ALLOCATOR, 
> PooledByteBufAllocator.DEFAULT)
>                    .childOption(ChannelOption.TCP_NODELAY, true);
>       localFS = new LocalFileSystem();
>       conf.setInt(TajoConf.ConfVars.PULLSERVER_PORT.varname
>           , TajoConf.ConfVars.PULLSERVER_PORT.defaultIntVal);
>       super.init(conf);
>       LOG.info("Tajo PullServer initialized: readaheadLength=" + 
> readaheadLength);
>     } catch (Throwable t) {
>       LOG.error(t, t);
>     }
>   }
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to