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

Steve Loughran commented on SLIDER-797:
---------------------------------------

1. Test failed after 60 of trying (not that many probes though; we can increase 
the frequency

{code}
12:34:00,754 [JUnit] INFO  test.SliderTestUtils 
(SliderTestUtils.groovy:repeatUntilSuccess(1015)) - probe timed out after 60000 
and 2 attempts
12:34:00,755 [JUnit] INFO  test.SliderTestUtils 
(SliderTestUtils.groovy:describe(75)) -
12:34:00,755 [JUnit] INFO  test.SliderTestUtils 
(SliderTestUtils.groovy:describe(76)) - ===============================
12:34:00,755 [JUnit] INFO  test.SliderTestUtils 
(SliderTestUtils.groovy:describe(77)) - Not able to access registry after after 
60000
12:34:00,756 [JUnit] INFO  test.SliderTestUtils 
(SliderTestUtils.groovy:describe(78)) - ===============================
{code}

2. A response of {{text/plain}} came back which Jersey couldn't auto-convert 
into XML. 
{code}
 GET http://rm1:53371/ws/v1/slider/publisher/exports
2015-02-25 12:34:17,381  2015-02-25 12:34:16,704 [main] ERROR 
main.ServiceLauncher (ServiceLauncher.java:error(344)) - Exception: A message 
body reader for Java class 
org.apache.slider.core.registry.docstore.PublishedExportsSet, and Java type 
class org.apache.slider.core.registry.docstore.PublishedExportsSet, and MIME 
media type text/plain; charset=UTF-8 was not found
2015-02-25 12:34:17,383  com.sun.jersey.api.client.ClientHandlerException: A 
message body reader for Java class 
org.apache.slider.core.registry.docstore.PublishedExportsSet, and Java type 
class org.apache.slider.core.registry.docstore.PublishedExportsSet, and MIME 
media type text/plain; charset=UTF-8 was not found
2015-02-25 12:34:17,384  at 
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:549)
2015-02-25 12:34:17,384  at 
com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
2015-02-25 12:34:17,385  at 
com.sun.jersey.api.client.WebResource.handle(WebResource.java:674)
2015-02-25 12:34:17,385  at 
com.sun.jersey.api.client.WebResource.get(WebResource.java:191)
2015-02-25 12:34:17,386  at 
org.apache.slider.core.registry.retrieve.RegistryRetriever.getExports(RegistryRetriever.java:251)
2015-02-25 12:34:17,386  at 
org.apache.slider.client.SliderClient.actionRegistryListExports(SliderClient.java:3068)
2015-02-25 12:34:17,387  at 
org.apache.slider.client.SliderClient.actionRegistry(SliderClient.java:2606)
2015-02-25 12:34:17,387  at 
org.apache.slider.client.SliderClient.exec(SliderClient.java:404)
2015-02-25 12:34:17,388  at 
org.apache.slider.client.SliderClient.runService(SliderClient.java:348)
2015-02-25 12:34:17,388  at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
2015-02-25 12:34:17,389  at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
2015-02-25 12:34:17,389  at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
2015-02-25 12:34:17,390  at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
2015-02-25 12:34:17,390  at org.apache.slider.Slider.main(Slider.java:49)
2015-02-25 12:34:17,391  2015-02-25 12:34:16,720 [main] INFO  util.ExitUtil 
(ExitUtil.java:terminate(124)) - Exiting with status 56
2015-02-25 12:34:17,391  </stdout>
2015-02-25 12:34:17,392  2015-02-25 12:34:17,266 [JUnit] ERROR 
framework.SliderShell (NativeMethodAccessorImpl.java:invoke0(?)) -
2015-02-25 12:34:17,392  <stderr>
{code}

That is: the RM or AM was returning some text which was triggering a parse 
failure. Something went wrong at the far end, but we don't know what it was.


> AppsThroughAgentIT test failing as registry call receiving text/plain from RM 
> HA
> --------------------------------------------------------------------------------
>
>                 Key: SLIDER-797
>                 URL: https://issues.apache.org/jira/browse/SLIDER-797
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.61
>         Environment: Hadoop 2.6, HA RM, security enabled, rolling upgrade.
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> The test {{AppsThroughAgentIT}} is failing when run against an HA RM that has 
> just been rolling-upgraded.



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

Reply via email to