From 22745027c8f900be793b342c70427adf8c959c91 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Thu, 11 Apr 2024 17:46:33 +0300 Subject: [PATCH] Use the "HADOOP_USER_NAME" value from the "workflow-property", in "copyDataToImpalaCluster.sh", in "stats-monitor-updates". --- .../stats-monitor/oozie_app/copyDataToImpalaCluster.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dhp-workflows/dhp-stats-monitor-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats-monitor/oozie_app/copyDataToImpalaCluster.sh b/dhp-workflows/dhp-stats-monitor-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats-monitor/oozie_app/copyDataToImpalaCluster.sh index a16f769e7..82c38bb65 100644 --- a/dhp-workflows/dhp-stats-monitor-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats-monitor/oozie_app/copyDataToImpalaCluster.sh +++ b/dhp-workflows/dhp-stats-monitor-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats-monitor/oozie_app/copyDataToImpalaCluster.sh @@ -6,7 +6,7 @@ then ln -sfn ${PYTHON_EGG_CACHE}${link_folder} ${link_folder} fi -#export HADOOP_USER_NAME=$2 +export HADOOP_USER_NAME=$2 # Set the active HDFS node of OCEAN and IMPALA cluster. OCEAN_HDFS_NODE='hdfs://nameservice1' @@ -56,10 +56,6 @@ LOCATION_SED_ARG_2='s/\.location,/\.\`location\`,/g' LOCATION_SED_ARG_3='s/\.location[[:space:]]/\.\`location\` /g' -export HADOOP_USER="dimitris.pierrakos" -export HADOOP_USER_NAME='dimitris.pierrakos' - - function copydb() { db=$1 @@ -204,7 +200,6 @@ function copydb() { MONITOR_DB=$1 -#HADOOP_USER_NAME=$2 copydb $MONITOR_DB'_institutions' copydb $MONITOR_DB