Przeglądaj źródła

HUE-8161 [metastore] Add Partitioned information to table type

Romain Rigaux 7 lat temu
rodzic
commit
af1b31e

+ 5 - 0
apps/metastore/src/metastore/templates/metastore.mako

@@ -285,6 +285,11 @@ ${ components.menubar(is_embeddable) }
       <div>${ _('View') }</div>
       <!-- /ko -->
       <!-- ko ifnot: is_view -->
+      <span data-bind="visible: partition_keys.length" style="display: none;">
+        <a class="pointer" data-bind="click: function() { $root.currentTab('partitions'); $('.page-content').scrollTop(0); }">
+          ${ _("Partitioned") }
+        </a>
+      </span>
       <div>${ _('Table') }</div>
       <!-- /ko -->
     </div>

+ 9 - 9
docs/admin-manual/manual.md

@@ -895,14 +895,6 @@ specify:
 hbase_clusters::
   Comma-separated list of HBase Thrift servers for clusters in the format of "(name|host:port)".
 
-### Configuration Validation
-
-Hue can detect certain invalid configuration.
-
-To view the configuration of a running Hue instance, navigate to
-`http://myserver:8888/hue/dump_config`, also accessible through the About
-application.
-
 
 # Administration
 
@@ -911,6 +903,15 @@ to the <<usage,Using Hue>> section. Administrators may want to refer to this
 section for more details about managing and operating a Hue installation.
 
 
+## Configuration Validation
+
+Hue can detect certain invalid configuration.
+
+To view the configuration of a running Hue instance, navigate to
+`http://myserver:8888/hue/dump_config`, also accessible through the About
+application.
+
+
 ## Server Logs
 
 Displays the Hue Server log and allows you to download the log to your
@@ -925,7 +926,6 @@ Threads page can be very helpful in debugging purposes. It includes a daemonic t
 
 ## Metrics
 
-
 Read more on the [Threads and Metrics pages
  blog post](http://gethue.com/easier-administration-of-hue-with-the-new-threads-and-metrics-pages/)