This commit is contained in:
dimitrispie 2023-02-13 09:44:00 +02:00
parent 935db0ab25
commit 3400133c2f
2 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@ then
fi fi
#export HADOOP_USER_NAME="dimitris.pierrakos" #export HADOOP_USER_NAME="dimitris.pierrakos"
export HADOOP_USER_NAME=$4 export HADOOP_USER_NAME=$5
function copydb() { function copydb() {
db=$1 db=$1
@ -52,10 +52,10 @@ function copydb() {
STATS_DB=$1 STATS_DB=$1
MONITOR_DB=$2 MONITOR_DB=$2
OBSERVATORY_DB=$3 OBSERVATORY_DB=$3
HADOOP_USER_NAME=$4 EXT_DB=$4
#EXT_DB=$4 HADOOP_USER_NAME=$5
#copydb $EXT_DB copydb $EXT_DB
copydb $STATS_DB copydb $STATS_DB
copydb $MONITOR_DB copydb $MONITOR_DB
copydb $OBSERVATORY_DB copydb $OBSERVATORY_DB

View File

@ -432,6 +432,7 @@
<argument>${stats_db_name}</argument> <argument>${stats_db_name}</argument>
<argument>${monitor_db_name}</argument> <argument>${monitor_db_name}</argument>
<argument>${observatory_db_name}</argument> <argument>${observatory_db_name}</argument>
<argument>${stats_ext}</argument>
<argument>${hadoop_user_name}</argument> <argument>${hadoop_user_name}</argument>
<file>copyDataToImpalaCluster.sh</file> <file>copyDataToImpalaCluster.sh</file>
</shell> </shell>