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

Ted Yu edited comment on HBASE-12940 at 3/16/16 10:28 PM:
----------------------------------------------------------

Can you let me know you verified the test result ?
For me the following search for test case yielded nothing:

grep 'simple.\*clusterKey' 
hbase-shell/target/surefire-reports/org.apache.hadoop.hbase.client.TestReplicationShell-output.txt

I ran the test with the following change:
{code}
diff --git 
a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestReplicationShell.java
 
b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestReplicationShell.ja
index 3f4af05..57bdab8 100644
--- 
a/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestReplicationShell.java
+++ 
b/hbase-shell/src/test/java/org/apache/hadoop/hbase/client/TestReplicationShell.java
@@ -28,10 +28,11 @@ import org.junit.experimental.categories.Category;

 @Category({ ClientTests.class, LargeTests.class })
 public class TestReplicationShell extends AbstractTestShell {
-  @Ignore ("Disabled because hangs on occasion.. about 10% of the time") @Test
+  //@Ignore ("Disabled because hangs on occasion.. about 10% of the time")
+  @Test
   public void testRunShellTests() throws IOException {
     System.setProperty("shell.test.include", "replication_admin_test.rb");
     // Start all ruby tests
     jruby.runScriptlet(PathType.ABSOLUTE, "src/test/ruby/tests_runner.rb");
   }
-}
{code}


was (Author: yuzhih...@gmail.com):
Can you let me know you verified the test result ?
For me the following search for test case yielded nothing:

grep 'simple.\*clusterKey' 
hbase-shell/target/surefire-reports/org.apache.hadoop.hbase.client.TestReplicationShell-output.txt

> Expose listPeerConfigs and getPeerConfig to the HBase shell
> -----------------------------------------------------------
>
>                 Key: HBASE-12940
>                 URL: https://issues.apache.org/jira/browse/HBASE-12940
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Kevin Risden
>            Assignee: Geoffrey Jacoby
>         Attachments: HBASE-12940-v1.patch, HBASE-12940.patch
>
>
> In HBASE-12867 found that listPeerConfigs and getPeerConfig from 
> ReplicationAdmin are not exposed to the HBase shell. This makes looking at 
> details for custom replication endpoints and testing of add_peer from 
> HBASE-12867 impossible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to