hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From centerqi hu <cente...@gmail.com>
Subject org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease
Date Thu, 20 Feb 2014 07:51:28 GMT
hi all

I encountered a very strange problem.
The same input, but I repeat run multiple times,
each time to run out the results are not the same,
it is theoretically possible


I view the namenode log, get the following information

014-02-19 02:00:05,085 ERROR
org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException
as:www cause:org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException:
No lease on
/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029
File does not exist. [Lease.  Holder:
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1,
pendingcreates: 1]



2014-02-19 02:00:05,085 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 51 on 9000, call
addBlock(/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029,
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1, null) from
10.1.3.9:19621: error: org.apache.hadoop.hdfs.server.



I see the datanode(10.1.3.9:19621) log information, no error message
01401171124_23640_m_000029_0_-1854448679_1 block of

namenode log error messages
2014-02-19 02:00:05,085 ERROR
org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException
as:www cause:org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException:
No lease on
/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029
File does not exist. [Lease.  Holder:
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1,
pendingcreates: 1]
2014-02-19 02:00:05,085 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 51 on 9000, call
addBlock(/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029,
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1, null) from
10.1.3.9:19621: error:
org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on
/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029
File does not exist. [Lease.  Holder:
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1,
pendingcreates: 1]
org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on
/user/www/udc/output/uselogmeta/2014-02-18/_temporary/_attempt_201401171124_23640_m_000029_0/part-m-00029
File does not exist. [Lease.  Holder:
DFSClient_attempt_201401171124_23640_m_000029_0_-1854448679_1,
pendingcreates: 1]
        at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:1720)
        at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:1711)
        at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1619)
        at
org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:736)
        at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:578)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1393)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1389)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1149)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1387)

-- 

But datanode related error messages



2014-02-19 03:46:09,665 INFO
org.apache.hadoop.mapred.TaskTracker.clienttrace: src: 10.1.3.9:50060,
dest: 10.1.3.2:15255, bytes: 524288, op: MAPRED_SHUFFLE, cliID:
attempt_2014011

71124_23709_m_000053_0, duration: 2568030

2014-02-19 03:46:09,665 ERROR org.mortbay.log: /mapOutput

java.lang.IllegalStateException: Committed

        at org.mortbay.jetty.Response.resetBuffer(Response.java:1023)

        at org.mortbay.jetty.Response.sendError(Response.java:240)

        at
org.apache.hadoop.mapred.TaskTracker$MapOutputServlet.doGet(TaskTracker.java:4131)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)

        at
org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:850)

        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)

        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)

        at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

        at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)

        at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)

        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

        at org.mortbay.jetty.Server.handle(Server.java:326)

        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

        at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)

        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)

        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

thx all

centerqi@gmail.com

Mime
View raw message