[
https://issues.apache.org/jira/browse/HBASE-4718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143352#comment-13143352
]
Ted Yu commented on HBASE-4718:
-------------------------------
I got the following when running test suite with patch v2:
{code}
testLogRollOnPipelineRestart(org.apache.hadoop.hbase.regionserver.wal.TestLogRolling)
Time elapsed: 713.958 sec <<< ERROR!
java.io.FileNotFoundException: File does not exist:
hdfs://localhost:54304/user/zhihyu/.logs/10.246.204.38,54320,1320336018579/10.246.204.38%3A54320.1320336018858
at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:466)
at org.apache.hadoop.fs.FileSystem.getLength(FileSystem.java:676)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1424)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1419)
at
org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader$WALReader.<init>(SequenceFileLogReader.java:57)
at
org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader.init(SequenceFileLogReader.java:158)
at org.apache.hadoop.hbase.regionserver.wal.HLog.getReader(HLog.java:629)
at
org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.testLogRollOnPipelineRestart(TestLogRolling.java:489)
{code}
In the test output, I saw:
{code}
2011-11-03 09:14:06,358 ERROR [Shutdown of
DFS[DFSClient[clientName=DFSClient_hb_rs_10.246.204.38,54321,1320336018597_1320336018852,
ugi=zhihyu.hfs.1,supergroup]]] hdfs.DFSClient$LeaseChecker(1074): Exception
closing file
/user/zhihyu/.logs/10.246.204.38,54321,1320336018597/10.246.204.38%3A54321.1320336374373
: java.io.IOException: Error Recovery for block blk_-8007982726961331998_1076
failed because recovery from primary datanode 127.0.0.1:54952 failed 6 times.
Pipeline was 127.0.0.1:54952. Aborting...
java.io.IOException: Error Recovery for block blk_-8007982726961331998_1076
failed because recovery from primary datanode 127.0.0.1:54952 failed 6 times.
Pipeline was 127.0.0.1:54952. Aborting...
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.processDatanodeError(DFSClient.java:2741)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$1500(DFSClient.java:2172)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2371)
{code}
I ran the test by itself and got same result.
> Backport HBASE-4552 to 0.90 branch.
> -----------------------------------
>
> Key: HBASE-4718
> URL: https://issues.apache.org/jira/browse/HBASE-4718
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.4
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Attachments: 4718-v2.90, hbase-4718.0.90.patch,
> hbase-4718.v3.includes-hbase-3316.patch
>
>
> In discussion of HBASE-4552 / HBASE-4677 there has been some discussion about
> whether and how to backport HBASE-4552 to the 0.90 branch. This is a
> potentially compatibility breaking so several approaches hav ebeen suggested.
> 1) provide patch but do not integrate
> 2) integrate patch that extends and deprecates old api without removing old
> api. It has been argued that clients are supposed to use
> LoadIncrementalHFiles api and not at the internal HRegionServer RPC api.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira