Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-589

No plain text handler for calls to AppMaster UI for registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • Slider 0.50
    • Slider 0.60
    • appmaster, client
    • None
    • Slider November #1

    Description

      This is a HA setup and "slider registry" command was issued where the response was a plain/text.

      2014-10-30 19:29:16,976 [main] DEBUG retrieve.RegistryRetriever (RegistryRetriever.java:getConfigurations(155)) - GET http://ip-172-31-45-191.ec2.internal:37538/ws/v1/slider/publisher/slider
      Oct 30, 2014 7:29:17 PM com.sun.jersey.api.client.ClientResponse getEntity
      SEVERE: A message body reader for Java class org.apache.slider.core.registry.docstore.PublishedConfigSet, and Java type class org.apache.slider.core.registry.docstore.PublishedConfigSet, and MIME media type text/plain; charset=UTF-8 was not found
      Oct 30, 2014 7:29:17 PM com.sun.jersey.api.client.ClientResponse getEntity
      SEVERE: The registered message body readers compatible with the MIME media type are:
      text/plain; charset=UTF-8 ->
        com.sun.jersey.core.impl.provider.entity.StringProvider
        com.sun.jersey.core.impl.provider.entity.ReaderProvider
      */* ->
        com.sun.jersey.core.impl.provider.entity.FormProvider
        com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General
        com.sun.jersey.core.impl.provider.entity.StringProvider
        com.sun.jersey.core.impl.provider.entity.ByteArrayProvider
        com.sun.jersey.core.impl.provider.entity.FileProvider
        com.sun.jersey.core.impl.provider.entity.InputStreamProvider
        com.sun.jersey.core.impl.provider.entity.DataSourceProvider
        com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General
        com.sun.jersey.core.impl.provider.entity.ReaderProvider
        com.sun.jersey.core.impl.provider.entity.DocumentProvider
        com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader
        com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader
        com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader
        com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General
        com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy
        com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General
        com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General
        com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General
        com.sun.jersey.core.impl.provider.entity.EntityHolderReader
      
      Exception: A message body reader for Java class org.apache.slider.core.registry.docstore.PublishedConfigSet, and Java type class org.apache.slider.core.registry.docstore.PublishedConfigSet, and MIME media type text/plain; charset=UTF-8 was not found
      2014-10-30 19:29:17,032 [main] ERROR main.ServiceLauncher (ServiceLauncher.java:error(344)) - Exception: A message body reader for Java class org.apache.slider.core.registry.docstore.PublishedConfigSet, and Java type class org.apache.slider.core.registry.docstore.PublishedConfigSet, and MIME media type text/plain; charset=UTF-8 was not found
      com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class org.apache.slider.core.registry.docstore.PublishedConfigSet, and Java type class org.apache.slider.core.registry.docstore.PublishedConfigSet, and MIME media type text/plain; charset=UTF-8 was not found
      	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:549)
      	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:506)
      	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:674)
      	at com.sun.jersey.api.client.WebResource.get(WebResource.java:191)
      	at org.apache.slider.core.registry.retrieve.RegistryRetriever.getConfigurations(RegistryRetriever.java:156)
      	at org.apache.slider.client.SliderClient.actionRegistryListConfigsYarn(SliderClient.java:2973)
      	at org.apache.slider.client.SliderClient.actionRegistry(SliderClient.java:2548)
      	at org.apache.slider.client.SliderClient.exec(SliderClient.java:396)
      	at org.apache.slider.client.SliderClient.runService(SliderClient.java:341)
      	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
      	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:473)
      	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
      	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:628)
      	at org.apache.slider.Slider.main(Slider.java:49)
      2014-10-30 19:29:17,037 [main] INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 56
      

      Attachments

        Activity

          People

            stevel@apache.org Steve Loughran
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: