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-10106) Remove some unnecessary code from TestOpenTableInCoprocessor
Date Fri, 13 Dec 2013 10:56:11 GMT

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

Hudson commented on HBASE-10106:
--------------------------------

SUCCESS: Integrated in HBase-0.94 #1225 (See [https://builds.apache.org/job/HBase-0.94/1225/])
HBASE-10106: Remove some unnecessary code from TestOpenTableInCoprocessor (Benoit Sigoure)
(jyates: rev 1550567)
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java


> Remove some unnecessary code from TestOpenTableInCoprocessor
> ------------------------------------------------------------
>
>                 Key: HBASE-10106
>                 URL: https://issues.apache.org/jira/browse/HBASE-10106
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.98.0, 0.96.0, 0.94.15, 0.99.0
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Trivial
>         Attachments: hbase-10106-0.94.patch, hbase-10106.txt
>
>
> {code}
> diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java
> index 7bc2a78..67b97ce 100644
> --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java
> +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestOpenTableInCoprocessor.java
> @@ -69,8 +69,6 @@ public class TestOpenTableInCoprocessor {
>      public void prePut(final ObserverContext<RegionCoprocessorEnvironment> e,
final Put put,
>          final WALEdit edit, final Durability durability) throws IOException {
>        HTableInterface table = e.getEnvironment().getTable(otherTable);
> -      Put p = new Put(new byte[] { 'a' });
> -      p.add(family, null, new byte[] { 'a' });
>        table.put(put);
>        table.flushCommits();
>        completed[0] = true;
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message