hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12699) undefined method `setAsyncLogFlush' exception thrown when setting DEFERRED_LOG_FLUSH=>true
Date Wed, 17 Dec 2014 00:47:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14249230#comment-14249230

Hudson commented on HBASE-12699:

FAILURE: Integrated in HBase-1.0 #590 (See [https://builds.apache.org/job/HBase-1.0/590/])
HBASE-12699 Addendum modifies shell help (Stephen Jiang) (tedyu: rev bb1b2f4eebc683a2a7aa80b341664ba8129f5080)
* hbase-shell/src/main/ruby/shell/commands/alter.rb

> undefined method `setAsyncLogFlush' exception thrown 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
>             Fix For: 1.0.0, 2.0.0, 0.98.10
>         Attachments: HBASE-12699.v1.branch-1.patch, HBASE-12699.v1.master.patch, HBASE-12699.v1addendum.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.
> 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

View raw message