You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:20:08 UTC
[jira] [Created] (TRAFODION-1131) LP Bug: 1440229 -
trafodion_install may fail to find hbaseVersion.txt
Alice Chen created TRAFODION-1131:
-------------------------------------
Summary: LP Bug: 1440229 - trafodion_install may fail to find hbaseVersion.txt
Key: TRAFODION-1131
URL: https://issues.apache.org/jira/browse/TRAFODION-1131
Project: Apache Trafodion
Issue Type: Bug
Components: installer
Reporter: Chris Tjepkema
Assignee: Amanda Moran
Priority: Critical
***INFO: Trafodion configuration setup complete
grep: /root/hbaseVersion.txt: No such file or directory But I have this file in /root/Downloads/installer
***ERROR: Hbase version could not be determined on n001
***ERROR: Please check that HBase is installed on all nodes.
even though it is in installer dir:
cat hbaseVersion.txt
2015-04-03 20:55:07,409 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.98.4.2.2.0.0-2041-hadoop2, r18e3e58ae6ca5ef5e9c60e3129a1089a8656f91d, Wed Nov 19 15:10:28 EST 2014
So trafodion_install is ending up with 2 locations it is looking for hbaseVersion.txt, which may be the same but in this case is not.
1) ssh $node -n 'echo "exit" | hbase shell &> hbaseVersion.txt'
2) hbaseInstalled=$(ssh -n $node grep "Version" $HOME/hbaseVersion.txt | wc -l)
[root@n001 ~]# echo $HOME
/root
ssh n001 pwd
/home/SQFQA/bin
ssh n001 echo $HOME
/root
but ssh n001 pwd
/home/SQFQA/bin
.bashrc has cd $QA_DIR/bin
trafodion_install is ending up with 2 locations it is looking for hbaseVersion.txt, which may be the same but in this case is not.
1) ssh $node -n 'echo "exit" | hbase shell &> hbaseVersion.txt'
2) hbaseInstalled=$(ssh -n $node grep "Version" $HOME/hbaseVersion.txt | wc -l)
[4/3/2015 4:32 PM] Anderson, Marvin:
I think line 406 just needs to be
ssh $node -n 'echo "exit" | hbase shell &> $HOME/hbaseVersion.txt'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)