accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwa...@apache.org
Subject accumulo git commit: ACCUMULO-4521 Usage of accumulo commands should in 3rd person
Date Thu, 17 Nov 2016 13:52:55 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master e2d21fc92 -> c02efeab2


ACCUMULO-4521 Usage of accumulo commands should in 3rd person


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c02efeab
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c02efeab
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c02efeab

Branch: refs/heads/master
Commit: c02efeab23dc45da4b7ee69c0e73a2ea1144bfb4
Parents: e2d21fc
Author: Mike Walch <mwalch@apache.org>
Authored: Wed Nov 16 17:13:45 2016 -0500
Committer: Mike Walch <mwalch@apache.org>
Committed: Thu Nov 17 08:49:51 2016 -0500

----------------------------------------------------------------------
 assemble/bin/accumulo-service                                  | 6 +++---
 .../java/org/apache/accumulo/core/file/rfile/PrintInfo.java    | 2 +-
 .../src/main/java/org/apache/accumulo/core/util/Classpath.java | 2 +-
 core/src/main/java/org/apache/accumulo/core/util/Jar.java      | 2 +-
 core/src/main/java/org/apache/accumulo/core/util/Version.java  | 2 +-
 .../accumulo/minicluster/impl/MiniClusterExecutable.java       | 2 +-
 proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java       | 2 +-
 .../main/java/org/apache/accumulo/server/init/Initialize.java  | 1 -
 .../src/main/java/org/apache/accumulo/server/util/Admin.java   | 2 +-
 .../src/main/java/org/apache/accumulo/server/util/Info.java    | 2 +-
 .../java/org/apache/accumulo/server/util/LoginProperties.java  | 2 +-
 .../java/org/apache/accumulo/server/util/ZooKeeperMain.java    | 2 +-
 .../gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java  | 2 +-
 .../main/java/org/apache/accumulo/master/MasterExecutable.java | 2 +-
 .../java/org/apache/accumulo/monitor/MonitorExecutable.java    | 2 +-
 .../main/java/org/apache/accumulo/tracer/TracerExecutable.java | 2 +-
 .../java/org/apache/accumulo/tserver/TServerExecutable.java    | 2 +-
 shell/src/main/java/org/apache/accumulo/shell/Shell.java       | 2 +-
 start/src/main/java/org/apache/accumulo/start/Main.java        | 6 +++---
 19 files changed, 22 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/assemble/bin/accumulo-service
----------------------------------------------------------------------
diff --git a/assemble/bin/accumulo-service b/assemble/bin/accumulo-service
index a80f4ef..bf01df9 100755
--- a/assemble/bin/accumulo-service
+++ b/assemble/bin/accumulo-service
@@ -27,9 +27,9 @@ Services:
   tracer      Accumulo tracter
 
 Commands:
-  start       Start service
-  stop        Stop service
-  kill        Kill service
+  start       Starts service
+  stop        Stops service
+  kill        Kills service
 
 EOF
   exit 1

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java b/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java
index 029c86a..16c7f4d 100644
--- a/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java
+++ b/core/src/main/java/org/apache/accumulo/core/file/rfile/PrintInfo.java
@@ -115,7 +115,7 @@ public class PrintInfo implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Print rfile info";
+    return "Prints rfile info";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/core/src/main/java/org/apache/accumulo/core/util/Classpath.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/Classpath.java b/core/src/main/java/org/apache/accumulo/core/util/Classpath.java
index 855e53b..40f5ac7 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/Classpath.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/Classpath.java
@@ -30,7 +30,7 @@ public class Classpath implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Print Accumulo classpath";
+    return "Prints Accumulo classpath";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/core/src/main/java/org/apache/accumulo/core/util/Jar.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/Jar.java b/core/src/main/java/org/apache/accumulo/core/util/Jar.java
index bf05627..a64e444 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/Jar.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/Jar.java
@@ -38,7 +38,7 @@ public class Jar implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Run Java <main class> in <jar> using Accumulo classpath";
+    return "Runs Java <main class> in <jar> using Accumulo classpath";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/core/src/main/java/org/apache/accumulo/core/util/Version.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/Version.java b/core/src/main/java/org/apache/accumulo/core/util/Version.java
index d491f1e..127b635 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/Version.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/Version.java
@@ -36,7 +36,7 @@ public class Version implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Print Accumulo version";
+    return "Prints Accumulo version";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniClusterExecutable.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniClusterExecutable.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniClusterExecutable.java
index fde8d36..cdccd58 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniClusterExecutable.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/impl/MiniClusterExecutable.java
@@ -31,7 +31,7 @@ public class MiniClusterExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo minicluster";
+    return "Starts Accumulo minicluster";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java
----------------------------------------------------------------------
diff --git a/proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java b/proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java
index 5bfa808..74816bb 100644
--- a/proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java
+++ b/proxy/src/main/java/org/apache/accumulo/proxy/Proxy.java
@@ -114,7 +114,7 @@ public class Proxy implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo proxy";
+    return "Starts Accumulo proxy";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java b/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
index 3a3a804..9a6afb0 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java
@@ -120,7 +120,6 @@ import jline.console.ConsoleReader;
 
 /**
  * This class is used to setup the directory structure and the root tablet to get an instance
started
- *
  */
 @AutoService(KeywordExecutable.class)
 public class Initialize implements KeywordExecutable {

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java b/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java
index d7b5c08..b5bb118 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/Admin.java
@@ -160,7 +160,7 @@ public class Admin implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Execute administrative commands";
+    return "Executes administrative commands";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/base/src/main/java/org/apache/accumulo/server/util/Info.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/Info.java b/server/base/src/main/java/org/apache/accumulo/server/util/Info.java
index e391a12..b32dcf2 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/Info.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/Info.java
@@ -34,7 +34,7 @@ public class Info implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Print Accumulo cluster info";
+    return "Prints Accumulo cluster info";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/base/src/main/java/org/apache/accumulo/server/util/LoginProperties.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/LoginProperties.java
b/server/base/src/main/java/org/apache/accumulo/server/util/LoginProperties.java
index f7687da..04724b3 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/LoginProperties.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/LoginProperties.java
@@ -42,7 +42,7 @@ public class LoginProperties implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Print Accumulo login info";
+    return "Prints Accumulo login info";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/base/src/main/java/org/apache/accumulo/server/util/ZooKeeperMain.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/util/ZooKeeperMain.java
b/server/base/src/main/java/org/apache/accumulo/server/util/ZooKeeperMain.java
index 6abbea8..72f7be9 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/util/ZooKeeperMain.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/util/ZooKeeperMain.java
@@ -51,7 +51,7 @@ public class ZooKeeperMain implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Apache Zookeeper instance";
+    return "Starts Apache Zookeeper instance";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java
----------------------------------------------------------------------
diff --git a/server/gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java b/server/gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java
index 9836927..61f76b7 100644
--- a/server/gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java
+++ b/server/gc/src/main/java/org/apache/accumulo/gc/GCExecutable.java
@@ -31,7 +31,7 @@ public class GCExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo garbage collector";
+    return "Starts Accumulo garbage collector";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/master/src/main/java/org/apache/accumulo/master/MasterExecutable.java
----------------------------------------------------------------------
diff --git a/server/master/src/main/java/org/apache/accumulo/master/MasterExecutable.java
b/server/master/src/main/java/org/apache/accumulo/master/MasterExecutable.java
index fe2cb2f..bbe4e65 100644
--- a/server/master/src/main/java/org/apache/accumulo/master/MasterExecutable.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/MasterExecutable.java
@@ -30,7 +30,7 @@ public class MasterExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo master";
+    return "Starts Accumulo master";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/monitor/src/main/java/org/apache/accumulo/monitor/MonitorExecutable.java
----------------------------------------------------------------------
diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/MonitorExecutable.java
b/server/monitor/src/main/java/org/apache/accumulo/monitor/MonitorExecutable.java
index dd5efa6..77cd701 100644
--- a/server/monitor/src/main/java/org/apache/accumulo/monitor/MonitorExecutable.java
+++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/MonitorExecutable.java
@@ -30,7 +30,7 @@ public class MonitorExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo monitor";
+    return "Starts Accumulo monitor";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/tracer/src/main/java/org/apache/accumulo/tracer/TracerExecutable.java
----------------------------------------------------------------------
diff --git a/server/tracer/src/main/java/org/apache/accumulo/tracer/TracerExecutable.java
b/server/tracer/src/main/java/org/apache/accumulo/tracer/TracerExecutable.java
index fbfcb51..e0191d6 100644
--- a/server/tracer/src/main/java/org/apache/accumulo/tracer/TracerExecutable.java
+++ b/server/tracer/src/main/java/org/apache/accumulo/tracer/TracerExecutable.java
@@ -30,7 +30,7 @@ public class TracerExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo tracer";
+    return "Starts Accumulo tracer";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/server/tserver/src/main/java/org/apache/accumulo/tserver/TServerExecutable.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TServerExecutable.java
b/server/tserver/src/main/java/org/apache/accumulo/tserver/TServerExecutable.java
index f56a4ed..1b74e6f 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TServerExecutable.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TServerExecutable.java
@@ -30,7 +30,7 @@ public class TServerExecutable implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Start Accumulo tablet server";
+    return "Starts Accumulo tablet server";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/shell/src/main/java/org/apache/accumulo/shell/Shell.java
----------------------------------------------------------------------
diff --git a/shell/src/main/java/org/apache/accumulo/shell/Shell.java b/shell/src/main/java/org/apache/accumulo/shell/Shell.java
index 829f93c..b74a600 100644
--- a/shell/src/main/java/org/apache/accumulo/shell/Shell.java
+++ b/shell/src/main/java/org/apache/accumulo/shell/Shell.java
@@ -585,7 +585,7 @@ public class Shell extends ShellOptions implements KeywordExecutable {
 
   @Override
   public String description() {
-    return "Run Accumulo shell";
+    return "Runs Accumulo shell";
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/accumulo/blob/c02efeab/start/src/main/java/org/apache/accumulo/start/Main.java
----------------------------------------------------------------------
diff --git a/start/src/main/java/org/apache/accumulo/start/Main.java b/start/src/main/java/org/apache/accumulo/start/Main.java
index 212a8c9..2854c40 100644
--- a/start/src/main/java/org/apache/accumulo/start/Main.java
+++ b/start/src/main/java/org/apache/accumulo/start/Main.java
@@ -208,12 +208,12 @@ public class Main {
     Map<String,KeywordExecutable> executableMap = new TreeMap<>(getExecutables(getClassLoader()));
 
     System.out.println("\nUsage: accumulo <command> (<argument> ...)\n\nCore
Commands:");
-    System.out.println("  create-config                  Create Accumulo configuration");
-    System.out.println("  build-native                   Build Accumulo native libraries");
+    System.out.println("  create-config                  Creates Accumulo configuration");
+    System.out.println("  build-native                   Builds Accumulo native libraries");
     for (String cmd : Arrays.asList("init", "shell", "classpath", "version", "admin", "info",
"help", "jar")) {
       printCommand(executableMap.remove(cmd));
     }
-    System.out.println("  <main class> args              Run Java <main class>
located on Accumulo classpath");
+    System.out.println("  <main class> args              Runs Java <main class>
located on Accumulo classpath");
     System.out.println("\nProcess Commands:");
     for (String cmd : Arrays.asList("gc", "master", "monitor", "minicluster", "proxy", "tserver",
"tracer", "zookeeper")) {
       printCommand(executableMap.remove(cmd));


Mime
View raw message