Alex Lourie has uploaded a new change for review.

Change subject: history-etl: service: update discovery of JAVA_HOME
......................................................................

history-etl: service: update discovery of JAVA_HOME

The new implementation uses engine's script
/usr/share/ovirt-engine/bin/java-home to detect JAVA_HOME
location.

Change-Id: I34dd5891cfc76242bb3bb50bf77bb48ad50839c8
Bug-Url: https://bugzilla.redhat.com/1019178
Related-To: https://bugzilla.redhat.com/1009863
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M data-warehouse/history_etl/history_service/history_service.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/84/20184/1

diff --git a/data-warehouse/history_etl/history_service/history_service.sh 
b/data-warehouse/history_etl/history_service/history_service.sh
index c9033b0..ba45c46 100755
--- a/data-warehouse/history_etl/history_service/history_service.sh
+++ b/data-warehouse/history_etl/history_service/history_service.sh
@@ -10,6 +10,7 @@
 LOGFILE="/var/log/ovirt-engine/ovirt-engine-dwhd.log"
 ETL_HOME=/usr/share/ovirt-engine-dwh/etl
 JAVA_DIR=/usr/share/java
+JAVA_HOME=$(/usr/share/ovirt-engine/bin/java-home)
 RUN_PROPERTIES="-Xms256M -Xmx1024M"
 
CP=$ETL_HOME:$JAVA_DIR/ovirt-engine-dwh/historyETLProcedure.jar:$JAVA_DIR/ovirt-engine-dwh/advancedPersistentLookupLib.jar:$JAVA_DIR/ovirt-engine-dwh/talendRoutines.jar:$JAVA_DIR/dom4j.jar:$JAVA_DIR/commons-collections.jar:$JAVA_DIR/log4j.jar:$JAVA_DIR/postgresql-jdbc.jar
 


-- 
To view, visit http://gerrit.ovirt.org/20184
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I34dd5891cfc76242bb3bb50bf77bb48ad50839c8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alou...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to