You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/06/25 00:43:05 UTC
[jira] [Commented] (YARN-1965) Interrupted exception when closing
YarnClient
[ https://issues.apache.org/jira/browse/YARN-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600292#comment-14600292 ]
Hadoop QA commented on YARN-1965:
---------------------------------
\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch | 16m 22s | Pre-patch trunk compilation is healthy. |
| {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. |
| {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. |
| {color:green}+1{color} | javac | 7m 37s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc | 9m 39s | There were no new javadoc warning messages. |
| {color:green}+1{color} | release audit | 0m 22s | The applied patch does not increase the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle | 1m 6s | There were no new checkstyle issues. |
| {color:red}-1{color} | whitespace | 0m 0s | The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix. |
| {color:green}+1{color} | install | 1m 33s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse | 0m 33s | The patch built with eclipse:eclipse. |
| {color:green}+1{color} | findbugs | 1m 53s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. |
| {color:green}+1{color} | common tests | 22m 9s | Tests passed in hadoop-common. |
| | | 61m 18s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12741693/YARN-1965.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 4c659dd |
| whitespace | https://builds.apache.org/job/PreCommit-YARN-Build/8335/artifact/patchprocess/whitespace.txt |
| hadoop-common test log | https://builds.apache.org/job/PreCommit-YARN-Build/8335/artifact/patchprocess/testrun_hadoop-common.txt |
| Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/8335/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf909.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/8335/console |
This message was automatically generated.
> Interrupted exception when closing YarnClient
> ---------------------------------------------
>
> Key: YARN-1965
> URL: https://issues.apache.org/jira/browse/YARN-1965
> Project: Hadoop YARN
> Issue Type: Bug
> Components: api
> Affects Versions: 2.3.0
> Reporter: Oleg Zhurakousky
> Assignee: Kuhu Shukla
> Priority: Minor
> Labels: newbie
> Attachments: YARN-1965.patch
>
>
> Its more of a nuisance then a bug, but nevertheless
> {code}
> 16:16:48,709 ERROR pool-1-thread-1 ipc.Client:195 - Interrupted while waiting for clientExecutorto stop
> java.lang.InterruptedException
> at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2072)
> at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1468)
> at org.apache.hadoop.ipc.Client$ClientExecutorServiceFactory.unrefAndCleanup(Client.java:191)
> at org.apache.hadoop.ipc.Client.stop(Client.java:1235)
> at org.apache.hadoop.ipc.ClientCache.stopClient(ClientCache.java:100)
> at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.close(ProtobufRpcEngine.java:251)
> at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:626)
> at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.close(ApplicationClientProtocolPBClientImpl.java:112)
> at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:621)
> at org.apache.hadoop.io.retry.DefaultFailoverProxyProvider.close(DefaultFailoverProxyProvider.java:57)
> at org.apache.hadoop.io.retry.RetryInvocationHandler.close(RetryInvocationHandler.java:206)
> at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:626)
> at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceStop(YarnClientImpl.java:124)
> at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
> . . .
> {code}
> It happens sporadically when stopping YarnClient.
> Looking at the code in Client's 'unrefAndCleanup' its not immediately obvious why and who throws the interrupt but in any event it should not be logged as ERROR. Probably a WARN with no stack trace.
> Also, for consistency and correctness you may want to Interrupt current thread as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)