You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Adrian Petrescu (JIRA)" <ji...@apache.org> on 2018/12/04 20:00:00 UTC
[jira] [Commented] (LIVY-539) Incorrect default value for
livy.rsc.launcher.port.range in livy-client.conf
[ https://issues.apache.org/jira/browse/LIVY-539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16709200#comment-16709200 ]
Adrian Petrescu commented on LIVY-539:
--------------------------------------
Pull Request: https://github.com/apache/incubator-livy/pull/132
> Incorrect default value for livy.rsc.launcher.port.range in livy-client.conf
> ----------------------------------------------------------------------------
>
> Key: LIVY-539
> URL: https://issues.apache.org/jira/browse/LIVY-539
> Project: Livy
> Issue Type: Documentation
> Components: RSC
> Affects Versions: 0.5.0
> Reporter: Adrian Petrescu
> Priority: Major
>
> The template for {{livy-client.conf}} implies that the default value of {{livy.rsc.launcher.port.range}} is {{10000~10110}}, but this is in fact incorrect - the real default value is {{10000~10010}}, as you can [see here|https://github.com/apache/incubator-livy/blob/master/rsc/src/main/java/org/apache/livy/rsc/RSCConf.java#L54] This is really confusing, especially since:
> a) 10110 is wrong on the Spark side, the default configuration there won't open that many ports
> b) 10010 and 10110 look very similar to the human eye so it can take a long time to notice the discrepancy
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)