You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ka...@apache.org on 2020/01/13 07:43:43 UTC

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5658 IndexTool to verify index rows inline (addendum - removed unused the only-verify option)

This is an automated email from the ASF dual-hosted git repository.

kadir pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new 429d116  PHOENIX-5658 IndexTool to verify index rows inline (addendum - removed unused the only-verify option)
429d116 is described below

commit 429d1161796e474b596fcee190f275696ea84c6b
Author: Kadir <ko...@salesforce.com>
AuthorDate: Sun Jan 12 19:18:33 2020 -0800

    PHOENIX-5658 IndexTool to verify index rows inline (addendum - removed unused the only-verify option)
---
 .../src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java  | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
index dcabdfd..6b77ed8 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
@@ -209,10 +209,6 @@ public class IndexTool extends Configured implements Tool {
                     "both before and after rebuilding row. If the verification is done before rebuilding rows and " +
                     "the correct index rows are not rebuilt. Currently supported values are NONE, ONLY and AFTER ");
 
-    private static final Option ONLY_VERIFY_OPTION = new Option("ov", "only-verify", false,
-            "To verify every data table row has the corresponding index row with the correct content " +
-            "(without building the index table). If the verify option is set then the only-verify option will be ignored");
-
     private static final double DEFAULT_SPLIT_SAMPLING_RATE = 10.0;
 
     private static final Option SPLIT_INDEX_OPTION =
@@ -259,7 +255,6 @@ public class IndexTool extends Configured implements Tool {
         options.addOption(PARTIAL_REBUILD_OPTION);
         options.addOption(DIRECT_API_OPTION);
         options.addOption(VERIFY_OPTION);
-        options.addOption(ONLY_VERIFY_OPTION);
         options.addOption(RUN_FOREGROUND_OPTION);
         options.addOption(OUTPUT_PATH_OPTION);
         options.addOption(SNAPSHOT_OPTION);