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

Steve Loughran commented on SLIDER-1097:
----------------------------------------

LGTM, +1

interesting that even though the webapps are being shutdown after every method, 
the shutdown hooks are still there
{code}
Mar 29, 2016 1:13:59 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
2016-03-29 13:13:59,872 [main] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Started SslSelectChannelConnector@0.0.0.0:50000
2016-03-29 13:13:59,888 [main] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Started SslSelectChannelConnector@0.0.0.0:50001
2016-03-29 13:13:59,889 [main] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Stopped SslSelectChannelConnector@0.0.0.0:50001
2016-03-29 13:13:59,890 [main] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Stopped SslSelectChannelConnector@0.0.0.0:50000
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.941 sec - in 
org.apache.slider.server.appmaster.web.rest.agent.TestAMAgentWebServices
2016-03-29 13:13:59,899 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook executing
2016-03-29 13:13:59,900 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook complete
2016-03-29 13:14:00,904 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook complete
2016-03-29 13:14:01,907 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook complete
2016-03-29 13:14:02,909 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook complete
2016-03-29 13:14:03,913 [Shutdown] INFO  mortbay.log (Slf4jLog.java:info(67)) - 
Shutdown hook complete
{code}

> Agent Web App does not respect slider.allowed.ports 
> ----------------------------------------------------
>
>                 Key: SLIDER-1097
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1097
>             Project: Slider
>          Issue Type: Bug
>          Components: appmaster
>    Affects Versions: Slider 0.81
>         Environment: Hadoop 2.6.0
>            Reporter: Tim Israel
>         Attachments: SLIDER-1097.patch
>
>
> In Slider 0.81.1-incubating Agent Web App does not respect 
> slider.allowed.ports.  Instead, it allocated two random ports (one for 1-way 
> ssl, one for 2-way ssl) 
> This is particularly problematic for installs where firewalls are required.  



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

Reply via email to