[
https://issues.apache.org/jira/browse/HBASE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221517#comment-13221517
]
Zhihong Yu commented on HBASE-5514:
-----------------------------------
See the following example from
src/main/java/org/apache/hadoop/hbase/util/FSUtils.java:
{code}
try {
FSDataOutputStream.class.getMethod("hflush", new Class<?> []{});
append = true;
} catch (NoSuchMethodException e) {
{code}
> Minor fixes to compile against Hadoop 0.24-SNAPSHOT: replace deprecated
> Syncable.sync()
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-5514
> URL: https://issues.apache.org/jira/browse/HBASE-5514
> Project: HBase
> Issue Type: Bug
> Components: build, test
> Affects Versions: 0.92.0, 0.94.0
> Reporter: Mingjie Lai
> Assignee: Mingjie Lai
> Priority: Minor
> Fix For: 0.94.0
>
> Attachments: HBASE-5514-2.patch, HBASE-5514.patch
>
>
> HADOOP-8124 removed deprecated Syncable.sync(). It brings compile errors for
> hbase against hadoop trunk(0.24). TestHLogSplit and TestHLog still call the
> deprecated sync(). Need to replace it with hflush() so the compilation can
> pass.
--
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