accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [4/6] git commit: ACCUMULO-3258 Consolidate "tserver" into application variable
Date Sat, 25 Oct 2014 02:27:16 GMT
ACCUMULO-3258 Consolidate "tserver" into application variable


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

Branch: refs/heads/master
Commit: 5cb976b3ca0b4ecaac27b7963622c1c2f5664251
Parents: d2f82cd
Author: Josh Elser <elserj@apache.org>
Authored: Fri Oct 24 22:11:19 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Fri Oct 24 22:11:19 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/tserver/TabletServer.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/5cb976b3/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
index 23baf43..03fe069 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
@@ -3662,14 +3662,14 @@ public class TabletServer extends AbstractMetricsImpl implements org.apache.accu
     try {
       SecurityUtil.serverLogin(ServerConfiguration.getSiteConfiguration());
       ServerOpts opts = new ServerOpts();
-      opts.parseArgs("tserver", args);
-      String hostname = opts.getAddress();
       final String app = "tserver";
+      opts.parseArgs(app, args);
+      String hostname = opts.getAddress();
       Accumulo.setupLogging(app);
       final Instance instance = HdfsZooInstance.getInstance();
       ServerConfiguration conf = new ServerConfiguration(instance);
       VolumeManager fs = VolumeManagerImpl.get();
-      Accumulo.init(fs, conf, "tserver");
+      Accumulo.init(fs, conf, app);
       TabletServer server = new TabletServer(conf, fs);
       server.config(hostname);
       Accumulo.enableTracing(hostname, app);


Mime
View raw message