[
https://issues.apache.org/jira/browse/HBASE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847872#action_12847872
]
Nicolas Spiegelberg commented on HBASE-2345:
--------------------------------------------
HDFS-200 + HDFS-142 are required for proper append support. HDFS-200 deals
with proper syncFs() support & opening a file for append. HDFS-142 deals with
the case of a HDFS restart, where the datanode needs to have its cache
repopulated with unclosed file information and check for possible file
corruption. Note that we still have to prepare another public patch of
HDFS-142 to fix bugs found in testing (try to have that out this week).
HDFS-200 has no effect unless dfs.append.support=true is in place.
HDFS-988 is needed for the unit test. See my comment in HDFS-142 jira.
HDFS-826 is needed for inspecting the pipeline to determine if we need to log
roll & not related to append support.
I have verified this test WILL fail if HDFS-200 + HDFS-142 + HDFS-988 is not
applied. In fact, I purposefully spawn a 2nd thread to interrupt an unpatched
test from its infinite loop in recoverLog(). I have not tested this against
HDFS 0.21
> 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.