[ https://issues.apache.org/jira/browse/HBASE-12699?focusedWorklogId=18771&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-18771 ]
Stephen Yuan Jiang logged work on HBASE-12699: ---------------------------------------------- Author: Stephen Yuan Jiang Created on: 16/Dec/14 17:28 Start Date: 16/Dec/14 17:27 Worklog Time Spent: 4h Issue Time Tracking ------------------- Worklog Id: (was: 18771) Time Spent: 4h Remaining Estimate: 1h (was: 24h) > undefined method `setAsyncLogFlush' exception throw when setting > DEFERRED_LOG_FLUSH=>true > ----------------------------------------------------------------------------------------- > > Key: HBASE-12699 > URL: https://issues.apache.org/jira/browse/HBASE-12699 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 2.0.0, 0.99.2 > Reporter: Stephen Yuan Jiang > Assignee: Stephen Yuan Jiang > Attachments: HBASE-12699.v1.branch-1.patch, > HBASE-12699.v1.master.patch > > Original Estimate: 24h > Time Spent: 4h > Remaining Estimate: 1h > > In hbase shell, when trying to set DEFERRED_LOG_FLUSH during create or alter, > an undefined method `setAsyncLogFlush' exception was thrown. > This is due to that DEFERRED_LOG_FLUSH was deprecated and the > setAsyncLogFlush method was removed. It was replaced by DURABILITY. > DEFERRED_LOG_FLUSH=>true is the same as DURABILITY=>'ASYNC_WAL' > The default is DURABILITY=>'SYNC_WAL', which is the same as the default > DEFERRED_LOG_FLUSH=>false > We should ask user to use the DURABILITY setting. In the meantime, for > backward compatibility, the hbase shell should still allow setting > DEFERRED_LOG_FLUSH. Internally, instead of calling setAsyncLogFlush, it > should call setDurability -- This message was sent by Atlassian JIRA (v6.3.4#6332)