Index: hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestDurability.java =================================================================== --- hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestDurability.java (revision 1564561) +++ hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestDurability.java (working copy) @@ -211,7 +211,7 @@ HLog log, boolean isAsyncLogFlush) throws IOException { HTableDescriptor htd = new HTableDescriptor(TableName.valueOf(tableName)); - htd.setAsyncLogFlush(isAsyncLogFlush); + htd.setDeferredLogFlush(isAsyncLogFlush); HColumnDescriptor hcd = new HColumnDescriptor(FAMILY); htd.addFamily(hcd); HRegionInfo info = new HRegionInfo(htd.getTableName(), null, null, false); Index: hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java =================================================================== --- hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java (revision 1564561) +++ hbase-client/src/main/java/org/apache/hadoop/hbase/HTableDescriptor.java (working copy) @@ -600,15 +600,16 @@ * Check if async log edits are enabled on the table. * * @return true if that async log flush is enabled on the table - * @deprecated Since 0.96 we no longer have an explicity deferred log flush/sync functionality. + * @deprecated Since 0.96 we no longer have an explicitly deferred log flush/sync functionality. * Use {@link #getDurability()}. */ - public synchronized boolean isAsyncLogFlush() { + @Deprecated + public synchronized boolean isDeferredLogFlush() { return getDurability() == Durability.ASYNC_WAL; } /** - * This is used to allowing the log edits syncing to the file system. Everytime + * This is used to allow the log edits syncing to the file system. Everytime * an edit is sent to the server it is first sync'd to the file system by the * log writer. This sync is an expensive operation and thus can be deferred so * that the edits are kept in memory until the background async writer-sync-notifier @@ -620,7 +621,8 @@ * * @param isAsyncLogFlush */ - public synchronized void setAsyncLogFlush(final boolean isAsyncLogFlush) { + @Deprecated + public synchronized void setDeferredLogFlush(final boolean isAsyncLogFlush) { this.setDurability(isAsyncLogFlush ? Durability.ASYNC_WAL : DEFAULT_DURABLITY); }