You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/05/08 12:07:44 UTC

svn commit: r1593223 - /incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java

Author: stevel
Date: Thu May  8 10:07:44 2014
New Revision: 1593223

URL: http://svn.apache.org/r1593223
Log:
move from cut and paste reuse of slider AM classname to constants; trivial

Modified:
    incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java

Modified: incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
URL: http://svn.apache.org/viewvc/incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java?rev=1593223&r1=1593222&r2=1593223&view=diff
==============================================================================
--- incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java (original)
+++ incubator/slider/trunk/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java Thu May  8 10:07:44 2014
@@ -162,10 +162,10 @@ public class SliderAppMaster extends Abs
    */
   protected static final Logger LOG_YARN = log;
 
-  public static final String SERVICE_CLASSNAME =
-      "org.apache.slider.server.appmaster.SliderAppMaster";
   public static final String SERVICE_CLASSNAME_SHORT =
       "SliderAppMaster";
+  public static final String SERVICE_CLASSNAME =
+      "org.apache.slider.server.appmaster."+ SERVICE_CLASSNAME_SHORT;
 
 
   /**
@@ -289,7 +289,7 @@ public class SliderAppMaster extends Abs
    * Service Constructor
    */
   public SliderAppMaster() {
-    super("AppMasterService");
+    super(SERVICE_CLASSNAME_SHORT);
   }