diff --git a/core/common/src/main/java/alluxio/RuntimeConstants.java b/core/common/src/main/java/alluxio/RuntimeConstants.java
index <HASH>..<HASH> 100644
--- a/core/common/src/main/java/alluxio/RuntimeConstants.java
+++ b/core/common/src/main/java/alluxio/RuntimeConstants.java
@@ -19,11 +19,12 @@ import javax.annotation.concurrent.ThreadSafe;
 @ThreadSafe
 public final class RuntimeConstants {
   static {
-    VERSION = Configuration.get(PropertyKey.VERSION);
-    if (Configuration.get(PropertyKey.VERSION).endsWith("SNAPSHOT")) {
+    String version = Configuration.get(PropertyKey.VERSION);
+    VERSION = version;
+    if (version.endsWith("SNAPSHOT")) {
       ALLUXIO_DOCS_URL = "http://www.alluxio.org/docs/master";
     } else {
-      String[] majorMinor = Configuration.get(PropertyKey.VERSION).split("\\.");
+      String[] majorMinor = version.split("\\.");
       ALLUXIO_DOCS_URL = String.format(
           "http://www.alluxio.org/docs/%s.%s", majorMinor[0], majorMinor[1]);
     }
Do not get the same property value repeatedly in the same block.