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-18267) The result from the postAppend is ignored
Date Tue, 11 Jul 2017 07:20:03 GMT

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

Hudson commented on HBASE-18267:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-2.0 #151 (See [https://builds.apache.org/job/HBase-2.0/151/])
HBASE-18267 The result from the postAppend is ignored (chia7712: rev 6456c8bf84d5341908161be76a0457f89288cb6e)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestResultFromCoprocessor.java


> The result from the postAppend is ignored
> -----------------------------------------
>
>                 Key: HBASE-18267
>                 URL: https://issues.apache.org/jira/browse/HBASE-18267
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 1.3.0, 1.3.1, 1.2.6, 2.0.0-alpha-1
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>             Fix For: 3.0.0, 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-2
>
>         Attachments: HBASE-18267.branch-1.2.v0.patch, HBASE-18267.branch-1.3.v0.patch,
HBASE-18267.branch-1.v0.patch, HBASE-18267.v0.patch, HBASE-18267.v1.patch
>
>
> {code:title=RegionCoprocessorHost.java|borderStyle=solid}
>   /**
>    * @param append Append object
>    * @param result the result returned by the append
>    * @throws IOException if an error occurred on the coprocessor
>    */
>   public void postAppend(final Append append, final Result result) throws IOException
{
>     execOperation(coprocessors.isEmpty() ? null : new RegionOperation() {
>       @Override
>       public void call(RegionObserver oserver, ObserverContext<RegionCoprocessorEnvironment>
ctx)
>           throws IOException {
>         oserver.postAppend(ctx, append, result);
>       }
>     });
>   }
>   /**
>    * @param increment increment object
>    * @param result the result returned by postIncrement
>    * @throws IOException if an error occurred on the coprocessor
>    */
>   public Result postIncrement(final Increment increment, Result result) throws IOException
{
>     return execOperationWithResult(result,
>         coprocessors.isEmpty() ? null : new RegionOperationWithResult<Result>()
{
>       @Override
>       public void call(RegionObserver oserver, ObserverContext<RegionCoprocessorEnvironment>
ctx)
>           throws IOException {
>         setResult(oserver.postIncrement(ctx, increment, getResult()));
>       }
>     });
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message