Эх сурвалжийг харах

[beeswax] Make Thrift port easier to pick according to the type of interface used

Romain Rigaux 12 жил өмнө
parent
commit
2a5788a

+ 6 - 4
desktop/conf.dist/hue.ini

@@ -380,7 +380,13 @@
   # required, even if the Thrift daemon is running on the same host as Hue.
   ## beeswax_server_host=<FQDN of Beeswax Server>
 
+  # The type of Thrift interface used for contacting the backend for sending
+  # queries/metadata requests.
+  # Choices are 'beeswax' (default), 'hiveserver2'.
+  ## server_interface=beeswax
+
   # Port where Beeswax Thrift server runs on.
+  # Use 10000 when using the HiveServer2 interface.
   ## beeswax_server_port=8002
 
   # Host where internal metastore Thrift daemon is running.
@@ -411,10 +417,6 @@
   # visible only to the owner and administrators.
   ## share_saved_queries=true
 
-  # The backend to contact for queries/metadata requests.
-  # Choices are 'beeswax' (default), 'hiveserver2'.
-  ## server_interface=beeswax
-
   # Time in milliseconds for Beeswax to persist queries in its cache.
   # 7*24*60*60*1000 = 1 week
   ## beeswax_running_query_lifetime=604800000L

+ 6 - 4
desktop/conf/pseudo-distributed.ini.tmpl

@@ -383,7 +383,13 @@
   # required, even if the Thrift daemon is running on the same host as Hue.
   ## beeswax_server_host=<FQDN of Beeswax Server>
 
+  # The type of Thrift interface used for contacting the backend for sending
+  # queries/metadata requests.
+  # Choices are 'beeswax' (default), 'hiveserver2'.
+  ## server_interface=beeswax
+
   # Port where Beeswax Thrift server runs on.
+  # Use 10000 when using the HiveServer2 interface.
   ## beeswax_server_port=8002
 
   # Host where internal metastore Thrift daemon is running.
@@ -414,10 +420,6 @@
   # visible only to the owner and administrators.
   ## share_saved_queries=true
 
-  # The backend to contact for queries/metadata requests
-  # Choices are 'beeswax' (default), 'hiveserver2'.
-  ## server_interface=beeswax
-
   # Time in milliseconds for Beeswax to persist queries in its cache.
   # 7*24*60*60*1000 = 1 week
   ## beeswax_running_query_lifetime=604800000L