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

Slider client getting UnknownHost exception trying to RPC to AM in different subdomain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.90.2
    • Slider 0.91
    • appmaster, client
    • None

    Description

      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

      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)
      

      Attachments

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: