hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-667) Hung regionserver; hung on hdfs: writeChunk, DFSClient.java:2126, DataStreamer socketWrite
Date Thu, 14 Aug 2008 20:15:44 GMT

    [ https://issues.apache.org/jira/browse/HBASE-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622669#action_12622669
] 

stack commented on HBASE-667:
-----------------------------

Ryan Smith, AlphaOmega, saw this issue yesterday on his cluster.

> Hung regionserver; hung on hdfs: writeChunk, DFSClient.java:2126, DataStreamer socketWrite
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-667
>                 URL: https://issues.apache.org/jira/browse/HBASE-667
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.2
>            Reporter: stack
>
> Internally, came across a hung regionserver.  Here is relevant excerpt from thread dump:
> {code}
> "ResponseProcessor for block blk_-6991279486194843565" daemon prio=1 tid=0x00002aab3ac13c50
nid=0x7ad7 runnable [0x0000000043080000..0x0000000043080d00]
>         at java.net.SocketInputStream.socketRead0(Native Method)
>         at java.net.SocketInputStream.read(Unknown Source)
>         at java.io.DataInputStream.readFully(Unknown Source)
>         at java.io.DataInputStream.readLong(Unknown Source)
>         at org.apache.hadoop.dfs.DFSClient$DFSOutputStream$ResponseProcessor.run(DFSClient.java:1734)
> ...
> "IPC Server handler 3 on 60020" daemon prio=1 tid=0x00002aab3c05abf0 nid=0x6b61 waiting
for monitor entry [0x0000000042878000..0x0000000042878d00]
>         at org.apache.hadoop.hbase.HLog.append(HLog.java:371)
>         - waiting to lock <0x00002aaab69d1180> (a java.lang.Integer)
>         at org.apache.hadoop.hbase.HRegion.update(HRegion.java:1629)
>         at org.apache.hadoop.hbase.HRegion.batchUpdate(HRegion.java:1432)
>         at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1552)
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901)
> .....
> "IPC Server handler 1 on 60020" daemon prio=1 tid=0x00002aab3c3220a0 nid=0x6b5f waiting
for monitor entry [0x0000000042676000..0x0000000042676c00]
>         at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.writeChunk(DFSClient.java:2126)
>         - waiting to lock <0x00002aaab69d1a28> (a java.util.LinkedList)
>         at org.apache.hadoop.fs.FSOutputSummer.writeChecksumChunk(FSOutputSummer.java:141)
>         at org.apache.hadoop.fs.FSOutputSummer.write1(FSOutputSummer.java:100)
>         at org.apache.hadoop.fs.FSOutputSummer.write(FSOutputSummer.java:86)
>         - locked <0x00002aaab69d15b0> (a org.apache.hadoop.dfs.DFSClient$DFSOutputStream)
>         at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.write(FSDataOutputStream.java:41)
>         at java.io.DataOutputStream.write(Unknown Source)
>         - locked <0x00002aaab69d1228> (a org.apache.hadoop.fs.FSDataOutputStream)
>         at org.apache.hadoop.io.SequenceFile$Writer.append(SequenceFile.java:990)
>         - locked <0x00002aaab69d1050> (a org.apache.hadoop.io.SequenceFile$Writer)
>         at org.apache.hadoop.hbase.HLog.append(HLog.java:387)
>         - locked <0x00002aaab69d1180> (a java.lang.Integer)
>         at org.apache.hadoop.hbase.HRegion.update(HRegion.java:1629)
>         at org.apache.hadoop.hbase.HRegion.batchUpdate(HRegion.java:1432)
>         at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1552)
>         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901)
> .....
> "DataStreamer for file /hbase/aa0-005-2.u.powerset.com/log_208.76.45.223_1212443824255_60020/hlog.dat.000
block blk_-6991279486194843565" daemon prio=1 tid=0x00002aab3c1b2e70 nid=0x6b50 runnable [0x0000000041969000..0x0000000041969c80]
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>         at java.net.SocketOutputStream.socketWrite(Unknown Source)
>         at java.net.SocketOutputStream.write(Unknown Source)
>         at java.io.BufferedOutputStream.write(Unknown Source)
>         - locked <0x00002aaab7652b70> (a java.io.BufferedOutputStream)
>         at java.io.DataOutputStream.write(Unknown Source)
>         - locked <0x00002aaab7652288> (a java.io.DataOutputStream)
>         at org.apache.hadoop.dfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:1631)
>         - locked <0x00002aaab69d1a28> (a java.util.LinkedList)
> {code}
> I've seen this before.  I saw this this morning where a pure hadoop client was hung in
same way.  This is hadoop 0.16.4.  Seems like a pure hadoop prob.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message