hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19680) BufferedMutatorImpl#mutate should wait the result from AP in order to throw the failed mutations
Date Thu, 15 Feb 2018 17:39:00 GMT

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

stack commented on HBASE-19680:
-------------------------------

What were you thinking [~chia7712] perf-wise? Maybe I could help sir.

> BufferedMutatorImpl#mutate should wait the result from AP in order to throw the failed
mutations
> ------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19680
>                 URL: https://issues.apache.org/jira/browse/HBASE-19680
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19680.v0.patch, HBASE-19680.v1.patch
>
>
> Currently, BMI#mutate doesn't wait the result from AP so the errors are stored in AP.
The only way which can return the errors to user is, calling the flush to catch the exception.
That is non-intuitive.
> I feel BMI#mutate should wait the result. That is to say, user can parse the exception
thrown by BM#mutate to get the failed mutations. Also, we can remove the global error from
AP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message