[
https://issues.apache.org/jira/browse/HBASE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847193#action_12847193
]
Nicolas Spiegelberg commented on HBASE-2345:
--------------------------------------------
// For this test to pass, requires:
// 1. HDFS-200 (append support)
// 2. HDFS-988 (SafeMode should freeze file operations
// [FSNamesystem.nextGenerationStampForBlock])
// 3. HDFS-142 (on restart, maintain pendingCreates)
The above comment is in the patch file. Note that only HDFS-200 & HDFS-142 are
necessary for append/close to work with HLog recovery. HDFS-988 fixes HDFS
Safe mode and is required for this test so the datanodes die with the exact
same HDFS block sequence number. The config param
"dfs.client.block.recovery.retries", is only in our local builds, but I'll try
to submit an HDFS patch to expose it. This test should work fine without the
config param, albeit 5 seconds slower than with. HDFS-142 is currently under
test & may undergo more revisions, but I thought I'd give you guys a test
baseline.
Note that this is a reasonably balatant copy from TestFileAppend4.java in HDFS.
This is more a sanity check to make sure you have the right jar installed.
> Add Test in 0.20 to Check for proper HDFS-200 append/sync support
> -----------------------------------------------------------------
>
> Key: HBASE-2345
> URL: https://issues.apache.org/jira/browse/HBASE-2345
> Project: Hadoop HBase
> Issue Type: Test
> Components: test
> Reporter: Nicolas Spiegelberg
> Assignee: Nicolas Spiegelberg
> Priority: Minor
> Fix For: 0.20.4
>
> Attachments: HBASE-2345-0.20.4.patch
>
>
> Add a quick test to TestHLog.java to verify that the user has the proper
> minimal patches for HDFS-200 append/sync support.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.