HBASE-20224 Web UI is broken in standalone mode - addendum for hbase-spark and 
hbase-spark-it modules


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

Branch: refs/heads/HBASE-19064
Commit: f92fb0affd81094e4c3a1f1f056a06984a34535b
Parents: bf29a1f
Author: tedyu <yuzhih...@gmail.com>
Authored: Tue Apr 3 11:43:53 2018 -0700
Committer: tedyu <yuzhih...@gmail.com>
Committed: Tue Apr 3 11:43:53 2018 -0700

----------------------------------------------------------------------
 .../src/test/resources/hbase-site.xml           | 39 ++++++++++++++++++++
 hbase-spark/src/test/resources/hbase-site.xml   |  7 ++++
 2 files changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f92fb0af/hbase-spark-it/src/test/resources/hbase-site.xml
----------------------------------------------------------------------
diff --git a/hbase-spark-it/src/test/resources/hbase-site.xml 
b/hbase-spark-it/src/test/resources/hbase-site.xml
new file mode 100644
index 0000000..858d428
--- /dev/null
+++ b/hbase-spark-it/src/test/resources/hbase-site.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<!--
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+-->
+<configuration>
+  <property>
+    <name>hbase.defaults.for.version.skip</name>
+    <value>true</value>
+  </property>
+  <property>
+    <name>hbase.hconnection.threads.keepalivetime</name>
+    <value>3</value>
+  </property>
+  <property>
+    <name>hbase.localcluster.assign.random.ports</name>
+    <value>true</value>
+    <description>
+      Assign random ports to master and RS info server (UI).
+    </description>
+  </property>
+</configuration>

http://git-wip-us.apache.org/repos/asf/hbase/blob/f92fb0af/hbase-spark/src/test/resources/hbase-site.xml
----------------------------------------------------------------------
diff --git a/hbase-spark/src/test/resources/hbase-site.xml 
b/hbase-spark/src/test/resources/hbase-site.xml
index b3fb0d9..b354a2b 100644
--- a/hbase-spark/src/test/resources/hbase-site.xml
+++ b/hbase-spark/src/test/resources/hbase-site.xml
@@ -154,4 +154,11 @@
       Enable replay sanity checks on procedure tests.
     </description>
   </property>
+  <property>
+    <name>hbase.localcluster.assign.random.ports</name>
+    <value>true</value>
+    <description>
+      Assign random ports to master and RS info server (UI).
+    </description>
+  </property>
 </configuration>

Reply via email to