You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/11/28 07:48:12 UTC

[jira] [Assigned] (TEZ-1805) Dag gets stuck (hive tests, mini cluster)

     [ https://issues.apache.org/jira/browse/TEZ-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bikas Saha reassigned TEZ-1805:
-------------------------------

    Assignee: Bikas Saha

> Dag gets stuck (hive tests, mini cluster)
> -----------------------------------------
>
>                 Key: TEZ-1805
>                 URL: https://issues.apache.org/jira/browse/TEZ-1805
>             Project: Apache Tez
>          Issue Type: Bug
>    Affects Versions: 0.6.0, 0.5.2
>            Reporter: Gunther Hagleitner
>            Assignee: Bikas Saha
>         Attachments: stuck-dag-logs.tar.gz
>
>
> There's a test in the hive suite that gets stuck and I'm not sure what's causing it.
> Repro:
> (In hive tree: https://github.com/apache/hive)
> mvn clean install -DskipTests -Phadoop-2 && cd itests && mvn clean install -DskipTests -Phadoop-2
> then:
> mvn test -Dtest=TestMiniTezCliDriver -Phadoop-2 -Dqfile=lvj_mapjoin.q
> I'll attach logs and stack traces. It seems application: pplication_1417137410462_0002 got stuck in that run. Only exception I saw is:
> {noformat}
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /Users/ghagleitner/Projects/hive-trunk2/itests/qtest/target/tmp/scratchdir/ghagleitner/_tez_session_dir/dc4fca20-4a39-4452-9\
> 75a-467bda4947ca/.tez/application_1417137410462_0001/recovery/1/summary (inode 16430): File does not exist. Holder DFSClient_NONMAPREDUCE_1900574341_1 does not have any open files.                                                          
>   at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:3083)                                                                                                                                                   
>   at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.completeFileInternal(FSNamesystem.java:3170)                                                                                                                                         
>   at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.completeFile(FSNamesystem.java:3140)                                                                                                                                                 
>   at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.complete(NameNodeRpcServer.java:665)                                                                                                                                            
>   at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.complete(ClientNamenodeProtocolServerSideTranslatorPB.java:499)                                                                                           
>   at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)                                                                                        
>   at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)                                                                                                                                       
>   at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)                                                                                                                                                                                      
>   at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)                                                                                                                                                                             
>   at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)                                                                                                                                                                             
>   at java.security.AccessController.doPrivileged(Native Method)                                                                                                                                                                               
>   at javax.security.auth.Subject.doAs(Subject.java:394)                                                                                                                                                                                       
>   at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)                                                                                                                                                     
>   at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)                                                                                                                                                                               
>                                                                                                                                                                                                                                               
>   at org.apache.hadoop.ipc.Client.call(Client.java:1411)                                                                                                                                                                                      
>   at org.apache.hadoop.ipc.Client.call(Client.java:1364)                                                                                                                                                                                      
>   at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)                                                                                                                                                       
>   at com.sun.proxy.$Proxy14.complete(Unknown Source)                                                                                                                                                                                          
>   at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)                                                                                                                                                                             
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)                                                                                                                                                    
>   at java.lang.reflect.Method.invoke(Method.java:597)                                                                                                                                                                                         
>   at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)                                                                                                                                          
>   at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)                                                                                                                                                
>   at com.sun.proxy.$Proxy14.complete(Unknown Source)                                                                                                                                                                                          
>   at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.complete(ClientNamenodeProtocolTranslatorPB.java:412)                                                                                                               
>   at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2135)                                                                                                                                                           
>   at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2119)                                                                                                                                                                  
>   at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)                                                                                                                                                  
>   at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:106)                                                                                                                                                               
>   at org.apache.tez.dag.history.recovery.RecoveryService.serviceStop(RecoveryService.java:201)                                                                                                                                                
>   at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)                                                                                                                                                                 
>   at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)                                                                                                                                                              
>   at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)                                                                                                                                                       
>   at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:157)                                                                                                                                                               
>   at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:131)                                                                                                                                                        
>   at org.apache.tez.dag.history.HistoryEventHandler.serviceStop(HistoryEventHandler.java:80)                                                                                                                                                  
>   at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)                                                                                                                                                                 
>   at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)                                                                                                                                                              
>   at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)                                                                                                                                                       
>   at org.apache.tez.dag.app.DAGAppMaster.stopServices(DAGAppMaster.java:1504)                                                                                                                                                                 
>   at org.apache.tez.dag.app.DAGAppMaster.serviceStop(DAGAppMaster.java:1643)                                                                                                                                                                  
>   at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)                                                                                                                                                                 
>   at org.apache.tez.dag.app.DAGAppMaster$DAGAppMasterShutdownHandler$AMShutdownRunnable.run(DAGAppMaster.java:698)                                                                                                                            
>   at java.lang.Thread.run(Thread.java:695)                                                       
> {noformat}
> It's quite likely that we're screwing something up in Hive, but I can't find from the logs what's happening. Any insights?



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