[
https://issues.apache.org/jira/browse/ACCUMULO-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser updated ACCUMULO-1637:
---------------------------------
Attachment: 0001-ACCUMULO-1637-Rework-the-hadoop-append-sync-checks-t.patch
Initial stab at reworking the append/sync checks for what Accumulo actually
needs.
> Update HDFS append/sync precondition check for Hadoop 1.2
> ---------------------------------------------------------
>
> Key: ACCUMULO-1637
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1637
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.5.0
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 1.5.1, 1.6.0
>
> Attachments:
> 0001-ACCUMULO-1637-Rework-the-hadoop-append-sync-checks-t.patch
>
>
> Apache Hadoop 1.2.0 ships with the durable sync enabled by default and the
> support append option marked as obsolete. Because of this, the check inside
> of TabletServer, meant to ensure that the HDFS WAL can function properly,
> incorrectly fails as it doesn't know that dfs.durable.sync is on by default.
> This can be worked around by specifying the old durable sync property in
> hdfs-site.xml:
> {noformat}
> <property>
> <name>dfs.durable.sync</name>
> <value>true</value>
> </property>
> {noformat}
> I'm not sure how to best way to address the differences between the newer and
> older versions of Hadoop and their differing append support.
> Thanks to Carlos Mundi for pointing this out on [email protected]
> Using this table to track the presence of these variables and their default
> from hdfs/o/a/h/h/DFSConfigKeys and from the codebase when there is no config
> parameter for it.
> ||Version||DFSConfigKeys.DFS_SUPPORT_APPEND_KEY||DFSConfigKeys.DFS_SUPPORT_APPEND_DEFAULT||"dfs.durable.sync"||Specific
> Configuration Required||
> |0.20.205.0|defined|false|not present|yes|
> |0.23.x|defined|true|not present|no|
> |1.0.x|defined|false|not present|yes|
> |1.1.X|not present|absent|implicit "true"|no|
> |1.2.X|not present|absent|implicit "true"|no|
> |2.0.x|defined|true|not present|no|
> |2.1.x|defined|true|not present|no|
> |2.2.0|defined|true|not present|no|
--
This message was sent by Atlassian JIRA
(v6.1#6144)