hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1965) Interrupted exception when closing YarnClient
Date Thu, 25 Jun 2015 15:44:05 GMT

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

Hadoop QA commented on YARN-1965:
---------------------------------

\\
\\
| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | pre-patch |  17m  4s | 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 50s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |  10m  0s | There were no new javadoc warning messages.
|
| {color:green}+1{color} | release audit |   0m 24s | The applied patch does not increase
the total number of release audit warnings. |
| {color:green}+1{color} | checkstyle |   1m  8s | There were no new checkstyle issues. |
| {color:green}+1{color} | whitespace |   0m  0s | The patch has no lines that end in whitespace.
|
| {color:green}+1{color} | install |   1m 36s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 34s | The patch built with eclipse:eclipse.
|
| {color:green}+1{color} | findbugs |   1m 51s | The patch does not introduce any new Findbugs
(version 3.0.0) warnings. |
| {color:green}+1{color} | common tests |  22m 21s | Tests passed in hadoop-common. |
| | |  62m 51s | |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12741865/YARN-1965-v2.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / b381f88 |
| hadoop-common test log | https://builds.apache.org/job/PreCommit-YARN-Build/8345/artifact/patchprocess/testrun_hadoop-common.txt
|
| Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/8345/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf904.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/8345/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-v2.patch, 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)

Mime
View raw message