[
https://issues.apache.org/jira/browse/TRAFODION-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663919#comment-15663919
]
Eason Zhang commented on TRAFODION-2085:
----------------------------------------
resolved in new python installer
> Installer will not able to upgrade instance successfully if hbase_trx_jar
> file version changed
> ----------------------------------------------------------------------------------------------
>
> Key: TRAFODION-2085
> URL: https://issues.apache.org/jira/browse/TRAFODION-2085
> Project: Apache Trafodion
> Issue Type: Bug
> Components: installer
> Affects Versions: 2.1-incubating
> Reporter: Jianguo Zhou (Jason)
> Assignee: Eason Zhang
>
> The installer will try to hbase_trx_jar file from /var/lib/trafodion to the
> Hadoop distros location, and there was one hbase-trx-hdp2_3-2.0.0.jar out
> there, then we run the upgrade, it will have anther
> hbase-trx-hdp2_3-2.1.0.jar in the /var/lib/trafodion too, means 2 trx jar
> file will be copied to Hadoop distros location, then the installer will fail
> for checking logic as following:
> for node in $HBASE_NODES
> do
> copiedOver=$(ssh -q -n $node sudo ls $HADOOP_PATH/hbase-trx* | wc -l)
> if [[ $copiedOver -ne "1" ]]; then <-- 2 not equal 1, so failed then
> echo "***ERROR: $hbase_trx_jar was not copied on $node"
> echo "***ERROR: Please investigate why this happened"
> echo "***ERROR: Trafodion can not start without this. EXITING..."
> exit -1
> fi
> done
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)