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

Steve Loughran commented on SLIDER-896:
---------------------------------------

This test is meant to catch {{UnknownHostException}}; it looks like it is being 
wrapped too many times to find

> TestClientBasicArgs.testListUnknownRM fails on Windows
> ------------------------------------------------------
>
>                 Key: SLIDER-896
>                 URL: https://issues.apache.org/jira/browse/SLIDER-896
>             Project: Slider
>          Issue Type: Bug
>          Components: client
>    Affects Versions: Slider 0.80
>            Reporter: Gour Saha
>
> Error stack -
> {noformat}
> org.apache.slider.client.TestClientBasicArgs.testListUnknownRM
> Error Message
> java.util.concurrent.ExecutionException: java.net.UnknownHostException: 
> Invalid host name: local host is: (unknown); destination host is: 
> "badhost":8888; java.net.UnknownHostException; For more details see:  
> http://wiki.apache.org/hadoop/UnknownHost
> Stacktrace
> java.io.IOException: java.util.concurrent.ExecutionException: 
> java.net.UnknownHostException: Invalid host name: local host is: (unknown); 
> destination host is: "badhost":8888; java.net.UnknownHostException; For more 
> details see:  http://wiki.apache.org/hadoop/UnknownHost
>       at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:407)
>       at org.apache.hadoop.ipc.Client$1.call(Client.java:1470)
>       at org.apache.hadoop.ipc.Client$1.call(Client.java:1467)
>       at 
> com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
>       at 
> com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
>       at 
> com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
>       at 
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
>       at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
>       at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
>       at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
>       at org.apache.hadoop.ipc.Client.getConnection(Client.java:1467)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1397)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1358)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
>       at $Proxy19.getApplications(Unknown Source)
>       at 
> org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.getApplications(ApplicationClientProtocolPBClientImpl.java:251)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:601)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>       at $Proxy20.getApplications(Unknown Source)
>       at 
> org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:484)
>       at 
> org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.getApplications(YarnClientImpl.java:468)
>       at 
> org.apache.slider.client.SliderYarnClientImpl.listDeployedInstances(SliderYarnClientImpl.java:101)
>       at 
> org.apache.slider.core.registry.YarnAppListClient.listInstances(YarnAppListClient.java:111)
>       at 
> org.apache.slider.client.SliderClient.listSliderInstances(SliderClient.java:2691)
>       at 
> org.apache.slider.client.SliderClient.actionList(SliderClient.java:2775)
>       at org.apache.slider.client.SliderClient.exec(SliderClient.java:514)
>       at 
> org.apache.slider.client.SliderClient.runService(SliderClient.java:428)
>       at 
> org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
>       at 
> org.apache.slider.test.SliderTestUtils.launch(SliderTestUtils.groovy:955)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:601)
>       at 
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
>       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
>       at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1462)
>       at 
> org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.callStatic(StaticMetaClassSite.java:62)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:53)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:189)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:217)
>       at 
> org.apache.slider.client.TestClientBasicArgs.testListUnknownRM(TestClientBasicArgs.groovy:66)
> Standard Output
> 2015-06-01 20:31:05,685 [JUnit] DEBUG test.SliderTestUtils 
> (SliderTestUtils.groovy:launch(952)) - slider list cluster --manager 
> badhost:8888
> 2015-06-01 20:31:05,719 [JUnit] DEBUG 
> utility.LaunchedWorkflowCompositeService 
> (LaunchedWorkflowCompositeService.java:bindArgs(80)) - Binding 4 Arguments:
> 2015-06-01 20:31:05,719 [JUnit] DEBUG 
> utility.LaunchedWorkflowCompositeService 
> (LaunchedWorkflowCompositeService.java:bindArgs(86)) - "list" "cluster" 
> "--manager" "badhost:8888" 
> 2015-06-01 20:31:05,913 [JUnit] DEBUG params.CommonArgs 
> (CommonArgs.java:validate(241)) - action=list
> 2015-06-01 20:31:06,086 [JUnit] DEBUG tools.ConfigHelper 
> (ConfigHelper.java:loadFromResource(515)) - loaded resources from 
> file:/D:/w/slider/slider-core/target/test-classes/slider-client.xml
> 2015-06-01 20:31:06,090 [JUnit] DEBUG params.CommonArgs 
> (ClientArgs.java:applyDefinitions(121)) - Setting RM to badhost:8888
> 2015-06-01 20:31:06,247 [JUnit] DEBUG tools.SliderUtils 
> (SliderUtils.java:checkForRequiredNativeLibraries(1920)) - winutils is at 
> D:\w\slider\HADOOP_LATEST\bin\winutils.exe
> 2015-06-01 20:31:07,133 [JUnit] INFO  client.RMProxy 
> (RMProxy.java:createRMProxy(98)) - Connecting to ResourceManager at 
> badhost:8888
> 2015-06-01 20:31:07,463 [JUnit] DEBUG tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(608)) - Looking for all 
> persisted application at file:/C:/Users/jenkins/.slider/cluster
> 2015-06-01 20:31:07,493 [JUnit] INFO  tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(626)) - Malformed cluster found 
> at file:/C:/Users/jenkins/.slider/cluster/cluster1. It does not appear to be 
> a valid persisted instance.
> 2015-06-01 20:31:07,506 [JUnit] INFO  tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(626)) - Malformed cluster found 
> at file:/C:/Users/jenkins/.slider/cluster/testLoadFailsIfDestDoesNotExist. It 
> does not appear to be a valid persisted instance.
> 2015-06-01 20:31:07,506 [JUnit] INFO  tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(626)) - Malformed cluster found 
> at file:/C:/Users/jenkins/.slider/cluster/testLoadFailsIfWritelocked. It does 
> not appear to be a valid persisted instance.
> 2015-06-01 20:31:07,508 [JUnit] INFO  tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(626)) - Malformed cluster found 
> at file:/C:/Users/jenkins/.slider/cluster/testSaveFailsIfReadlocked. It does 
> not appear to be a valid persisted instance.
> 2015-06-01 20:31:07,509 [JUnit] INFO  tools.CoreFileSystem 
> (CoreFileSystem.java:listPersistentInstances(626)) - Malformed cluster found 
> at file:/C:/Users/jenkins/.slider/cluster/testSaveFailsIfWritelocked. It does 
> not appear to be a valid persisted instance.
> {noformat}



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

Reply via email to