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 19:57:00 UTC

[jira] [Created] (LIVY-539) Incorrect default value for livy.rsc.launcher.port.range in livy-client.conf

Adrian Petrescu created LIVY-539:
------------------------------------

             Summary: 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


The template for {{livy-client.conf}} implies that the default value of {{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)