Ottomata has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250013
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet/cdh
refs/changes/13/250013/1
diff --git a/templates/hive/hive-metastore.default.erb
b/templates/hive/hive-metastore.default.erb
index 12fdeba..f25e888 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 %>
+expot 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: newchange
Gerrit-Change-Id: I0119dba2e9142073d6ed3670c2dadf9055138076
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet/cdh
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits