I get this:

[~/dev/lw/slider/slider-0.72.0-incubating-SNAPSHOT]$ bin/slider
registry --name solr --getexp Servers --manager localhost:8032
2015-05-19 12:02:07,841 [main] INFO  client.RMProxy - Connecting to
ResourceManager at localhost/127.0.0.1:8032
Exception: java.lang.IllegalStateException: connect in progress
2015-05-19 12:02:09,407 [main] ERROR main.ServiceLauncher - Exception:
java.lang.IllegalStateException: connect in progress
com.sun.jersey.api.client.ClientHandlerException:
java.lang.IllegalStateException: connect in progress
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
    at com.sun.jersey.api.client.Client.handle(Client.java:648)
    at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
    at com.sun.jersey.api.client.WebResource.get(WebResource.java:191)
    at 
org.apache.slider.core.registry.retrieve.RegistryRetriever.getExports(RegistryRetriever.java:137)
    at 
org.apache.slider.client.SliderClient.actionRegistryGetExport(SliderClient.java:3630)
    at 
org.apache.slider.client.SliderClient.actionRegistry(SliderClient.java:3108)
    at org.apache.slider.client.SliderClient.exec(SliderClient.java:472)
    at org.apache.slider.client.SliderClient.runService(SliderClient.java:374)
    at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
    at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
    at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
    at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
    at org.apache.slider.Slider.main(Slider.java:49)
Caused by: java.lang.IllegalStateException: connect in progress
    at 
sun.net.www.protocol.http.HttpURLConnection.setRequestMethod(HttpURLConnection.java:515)
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.setRequestMethodUsingWorkaroundForJREBug(URLConnectionClientHandler.java:259)
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:191)
    at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)
    ... 13 more
2015-05-19 12:02:09,410 [main] INFO  util.ExitUtil - Exiting with status 56

On Tue, May 19, 2015 at 11:23 AM, Gour Saha <[email protected]> wrote:
> What is the exact command you ran?
>
> Can you try this -
> slider registry --name <app_name> --getexp servers
>
> -Gour
>
> On 5/19/15, 9:26 AM, "Timothy Potter" <[email protected]> wrote:
>
>>I should note this is with a 0.72.0 build
>>
>>On Tue, May 19, 2015 at 10:25 AM, Timothy Potter <[email protected]>
>>wrote:
>>> I have defined a simple export in metainfo.xml:
>>>
>>> <exportGroups>
>>>   <exportGroup>
>>>     <name>Servers</name>
>>>     <exports>
>>>       <export>
>>>         <name>host_port</name>
>>>         <value>http://${THIS_HOST}:${site.global.listen_port}/</value>
>>>       </export>
>>>     </exports>
>>>   </exportGroup>
>>> </exportGroups>
>>>
>>> <components>
>>>   <component>
>>>     <name>SOLR</name>
>>>     <category>SLAVE</category>
>>>     <compExports>Servers-host_port</compExports>
>>>     <commandScript>
>>>       <script>scripts/solr_node.py</script>
>>>       <scriptType>PYTHON</scriptType>
>>>     </commandScript>
>>>   </component>
>>> </components>
>>>
>>> The app deploys fine and my SOLR component is running ... but when I
>>> go to the exports endpoint, I don't see my host_port???
>>>
>>>
>>>{"exports":{"servers":{"description":"Servers","updated":1432052275319,"u
>>>pdatedTime":"Tue
>>> May 19 10:17:55 MDT
>>>
>>>2015","entries":{},"empty":true},"container_log_dirs":{"description":"con
>>>tainer_log_dirs","updated":1432052275319,"updatedTime":"Tue
>>> May 19 10:17:55 MDT
>>>
>>>2015","entries":{},"empty":true},"container_work_dirs":{"description":"co
>>>ntainer_work_dirs","updated":1432052275319,"updatedTime":"Tue
>>> May 19 10:17:55 MDT 2015","entries":{},"empty":true}}}
>>>
>>> Any ideas what I'm doing wrong here?
>

Reply via email to