You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jesse Yates (JIRA)" <ji...@apache.org> on 2013/12/08 10:10:35 UTC

[jira] [Assigned] (HBASE-10106) Remove some unnecessary code from TestOpenTableInCoprocessor

     [ https://issues.apache.org/jira/browse/HBASE-10106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Yates reassigned HBASE-10106:
-----------------------------------

    Assignee: Jesse Yates

> 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.96.0
>            Reporter: Benoit Sigoure
>            Assignee: Jesse Yates
>            Priority: Trivial
>
> {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#6144)