Ottomata has submitted this change and it was merged.

Change subject: Properly export env vars from hive service default files
......................................................................


Properly export env vars from hive service default files

Bug: T76343
Change-Id: I0119dba2e9142073d6ed3670c2dadf9055138076
---
M templates/hive/hive-metastore.default.erb
M templates/hive/hive-server2.default.erb
2 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Ottomata: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/templates/hive/hive-metastore.default.erb 
b/templates/hive/hive-metastore.default.erb
index 12fdeba..c722237 100644
--- a/templates/hive/hive-metastore.default.erb
+++ b/templates/hive/hive-metastore.default.erb
@@ -19,8 +19,8 @@
 # Unfortunatelly, there is no way to specify the interfaces
 # to which the daemon binds.
 #
-<%= @port ? "PORT=#{@port}" : '#PORT=' %>
+<%= @port ? "export PORT=#{@port}" : '#export PORT=' %>
 
 <% if @heapsize -%>
-HADOOP_HEAPSIZE=<%= @heapsize %>
+export HADOOP_HEAPSIZE=<%= @heapsize %>
 <% end -%>
diff --git a/templates/hive/hive-server2.default.erb 
b/templates/hive/hive-server2.default.erb
index da35158..ee1e4ca 100644
--- a/templates/hive/hive-server2.default.erb
+++ b/templates/hive/hive-server2.default.erb
@@ -19,8 +19,8 @@
 # Unfortunatelly, there is no way to specify the interfaces
 # to which the daemon binds.
 #
-<%= @port ? "PORT=#{@port}" : '#PORT=' %>
+<%= @port ? "export PORT=#{@port}" : '#export PORT=' %>
 
 <% if @heapsize -%>
-HADOOP_HEAPSIZE=<%= @heapsize %>
+export HADOOP_HEAPSIZE=<%= @heapsize %>
 <% end -%>

-- 
To view, visit https://gerrit.wikimedia.org/r/250013
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0119dba2e9142073d6ed3670c2dadf9055138076
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet/cdh
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to