<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Lease Expired exception in mapper in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lease-Expired-exception-in-mapper/m-p/134689#M31637</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below exception is being thrown in mappers.  I tried rerunning it multiple times.&lt;/P&gt;&lt;P&gt;Job was running properly yesterday.&lt;/P&gt;&lt;P&gt;org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /tmp/profileBuilder-0034033-151204213910156-oozie-oozi-W/merged/profiles/part-r-03859 (inode 303670724): File does not exist. Holder DFSClient_attempt_1449261370834_97854_m_004634_1_-263433466_1 does not have any open files.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:3605)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.analyzeFileState(FSNamesystem.java:3402)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3258)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:668)
at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2038)
at org.apache.hadoop.ipc.Client.call(Client.java:1468)&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2016 13:26:21 GMT</pubDate>
    <dc:creator>shubham2629</dc:creator>
    <dc:date>2016-06-13T13:26:21Z</dc:date>
    <item>
      <title>Lease Expired exception in mapper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lease-Expired-exception-in-mapper/m-p/134689#M31637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below exception is being thrown in mappers.  I tried rerunning it multiple times.&lt;/P&gt;&lt;P&gt;Job was running properly yesterday.&lt;/P&gt;&lt;P&gt;org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException): No lease on /tmp/profileBuilder-0034033-151204213910156-oozie-oozi-W/merged/profiles/part-r-03859 (inode 303670724): File does not exist. Holder DFSClient_attempt_1449261370834_97854_m_004634_1_-263433466_1 does not have any open files.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:3605)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.analyzeFileState(FSNamesystem.java:3402)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3258)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:668)
at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2038)
at org.apache.hadoop.ipc.Client.call(Client.java:1468)&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 13:26:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lease-Expired-exception-in-mapper/m-p/134689#M31637</guid>
      <dc:creator>shubham2629</dc:creator>
      <dc:date>2016-06-13T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lease Expired exception in mapper</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lease-Expired-exception-in-mapper/m-p/134690#M31638</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3761/shubham2629.html" nodeid="3761"&gt;@shubham chhabra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am guessing you are doing some move/delete/rename operation in you code which breaks the parallel flow as in one mapper is deleting the file still used by another mapper.&lt;/P&gt;&lt;P&gt;If I was debugging one quick way I would start is comment the lines performing  move/delete/rename operation and rerun the code to prove that this is the case and then start editing.&lt;/P&gt;&lt;P&gt;I hope this will work. Keep us posted.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 23:40:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Lease-Expired-exception-in-mapper/m-p/134690#M31638</guid>
      <dc:creator>rbiswas1</dc:creator>
      <dc:date>2016-07-18T23:40:25Z</dc:date>
    </item>
  </channel>
</rss>

