You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Jianguo Zhou (Jason) (JIRA)" <ji...@apache.org> on 2016/06/22 13:19:58 UTC

[jira] [Created] (TRAFODION-2085) Installer will not able to upgrade instance successfully if hbase_trx_jar file version changed

Jianguo Zhou (Jason) created TRAFODION-2085:
-----------------------------------------------

             Summary: 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)


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)