[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Gour Saha (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285913#comment-15285913 ] Gour Saha commented on SLIDER-1121: --- [~billie.rinaldi] the 4.patch looks good. Only one more comment,

Re: What does PER_CONTAINER in port allocation does ? Facing AM start error ...

2016-05-16 Thread Manoj Samel
Here is slider.log for Slider AM. Note the port range does not always fails - it does work occassionally ! "appConf" :{ "schema" : "http://example.org/specification/v2.0.0;, "metadata" : { }, "global" : { "site.global.qaprod___gms.tenant" : "qaprod___gms", "site.global.memory_val"

[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285828#comment-15285828 ] Billie Rinaldi commented on SLIDER-1121: [~gsaha], [~jmaron], here's a new patch for review. I

[jira] [Updated] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billie Rinaldi updated SLIDER-1121: --- Attachment: SLIDER-1121.4.patch > Slider AM has a race condition in port allocation >

[jira] [Resolved] (SLIDER-1122) make SliderKeys constants public

2016-05-16 Thread Sergey Shelukhin (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shelukhin resolved SLIDER-1122. -- Resolution: Invalid Nm, I didn't realize it was already public > make SliderKeys

[jira] [Updated] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billie Rinaldi updated SLIDER-1121: --- Attachment: SLIDER-1121.3.patch > Slider AM has a race condition in port allocation >

[jira] [Commented] (SLIDER-1122) make SliderKeys constants public

2016-05-16 Thread Jonathan Maron (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285810#comment-15285810 ] Jonathan Maron commented on SLIDER-1122: Are you referencing java visibility or some other

[jira] [Commented] (SLIDER-1122) make SliderKeys constants public

2016-05-16 Thread Gour Saha (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285806#comment-15285806 ] Gour Saha commented on SLIDER-1122: --- SliderKeys is an interface. Hence SliderKeys.APP_TYPE =

Re: What does PER_CONTAINER in port allocation does ? Facing AM start error ...

2016-05-16 Thread Billie Rinaldi
Manoj, Attachments don't come through on ASF mailing lists. What value are you using for site.global.slider.allowed.ports? Billie On Mon, May 16, 2016 at 4:20 PM, Manoj Samel wrote: > Hi Tim, > > Thanks for your reply > > In my case, the slider AM itself fails to

[jira] [Created] (SLIDER-1122) make SliderKeys constants public

2016-05-16 Thread Sergey Shelukhin (JIRA)
Sergey Shelukhin created SLIDER-1122: Summary: make SliderKeys constants public Key: SLIDER-1122 URL: https://issues.apache.org/jira/browse/SLIDER-1122 Project: Slider Issue Type:

Re: What does PER_CONTAINER in port allocation does ? Facing AM start error ...

2016-05-16 Thread Manoj Samel
Hi Tim, Thanks for your reply In my case, the slider AM itself fails to start. The app remains in accepted state and the container_001 log (the slider AM) errors. I have attached the container_001 slider.log below. It has all the configs, including app config (host names and some other info is

Re: What does PER_CONTAINER in port allocation does ? Facing AM start error ...

2016-05-16 Thread Tim I
I'm pretty sure the PER_CONTAINER statement works as follows for a each instantiation of a particular service within a slider app: 1) check the allowable port range 2) look for an available port on the machine within the allowed port range 3) launch with selected port In the case of Accumulo, if

[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Gour Saha (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285362#comment-15285362 ] Gour Saha commented on SLIDER-1121: --- Absolutely. If we go this route, that's the last thing we need to

[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285357#comment-15285357 ] Billie Rinaldi commented on SLIDER-1121: Good find. I'll convert the code to use YARN's infinite

[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Jonathan Maron (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285354#comment-15285354 ] Jonathan Maron commented on SLIDER-1121: I suppose in that instance you'd just have to call

[jira] [Commented] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Gour Saha (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15285343#comment-15285343 ] Gour Saha commented on SLIDER-1121: --- So basically, if we find a free port (say A) at a given point in

[jira] [Updated] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billie Rinaldi updated SLIDER-1121: --- Attachment: SLIDER-1121.2.patch > Slider AM has a race condition in port allocation >

[jira] [Updated] (SLIDER-1121) Slider AM has a race condition in port allocation

2016-05-16 Thread Billie Rinaldi (JIRA)
[ https://issues.apache.org/jira/browse/SLIDER-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billie Rinaldi updated SLIDER-1121: --- Attachment: SLIDER-1121.1.patch > Slider AM has a race condition in port allocation >