Steve Loughran created SLIDER-1088:
--------------------------------------
Summary: Slider client getting UnknownHost exception trying to RPC
to AM in different subdomain
Key: SLIDER-1088
URL: https://issues.apache.org/jira/browse/SLIDER-1088
Project: Slider
Issue Type: Bug
Components: appmaster, client
Affects Versions: Slider 0.90.2
Reporter: Steve Loughran
Assignee: Steve Loughran
When you try to issue a call like "slider status" from a domain other than that
in which the cluster is, you get to see a stack trace
{code}
ERROR main.ServiceLauncher - Exception: Invalid host name: local host is:
(unknown); destination host is: "wn1-slider":1024;
java.net.UnknownHostException; For more details see:
http://wiki.apache.org/hadoop/UnknownHost
java.net.UnknownHostException: Invalid host name: local host is: (unknown);
destination host is: "wn1-slider":1024; java.net.UnknownHostException; For more
details see: http://wiki.apache.org/hadoop/UnknownHost
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
...
org.apache.slider.server.appmaster.rpc.SliderClusterProtocolProxy.getJSONClusterStatus(SliderClusterProtocolProxy.java:129)
at
org.apache.slider.client.ipc.SliderClusterOperations.getClusterDescription(SliderClusterOperations.java:143)
at
org.apache.slider.client.SliderClient.getClusterDescription(SliderClient.java:3342)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)