Description
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