So does "hostname -f" match the hostnames you are giving? --Steve
> -----Original Message----- > From: Gunnar Tapper [mailto:[email protected]] > Sent: Tuesday, May 17, 2016 11:57 AM > To: [email protected] > Subject: Re: [VOTE] Apache Trafodion release 2.0.0 ready for release - > release > candidate 1 > > Hi Amanda, > > The issue is related to how the installer picks up network names. > > [centos@trafodion-1 installer]$ cat my_config | grep openstack > export NODE_LIST="trafodion-1.openstack trafodion-2.openstack > trafodion-3.openstack" > export MY_NODES="-w trafodion-[1-3].openstack" > > # This matches the /etc/hosts configuration. > > [centos@trafodion-1 installer]$ pdsh -w trafodion-[1-3].openstack "sudo > cat > /etc/hosts" > trafodion-3: 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > trafodion-3: ::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > trafodion-3: > trafodion-3: 10.1.30.28 trafodion-1.openstack trafodion-1 > trafodion-3: 10.1.30.107 trafodion-2.openstack trafodion-2 > trafodion-3: 10.1.30.108 trafodion-3.openstack trafodion-3 > trafodion-1: 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > trafodion-1: ::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > trafodion-1: > trafodion-1: 10.1.30.28 trafodion-1.openstack trafodion-1 > trafodion-1: 10.1.30.107 trafodion-2.openstack trafodion-2 > trafodion-1: 10.1.30.108 trafodion-3.openstack trafodion-3 > trafodion-2: 127.0.0.1 localhost localhost.localdomain localhost4 > localhost4.localdomain4 > trafodion-2: ::1 localhost localhost.localdomain localhost6 > localhost6.localdomain6 > trafodion-2: > trafodion-2: 10.1.30.28 trafodion-1.openstack trafodion-1 > trafodion-2: 10.1.30.107 trafodion-2.openstack trafodion-2 > trafodion-2: 10.1.30.108 trafodion-3.openstack trafodion-3 > > > # However, the installed ignores NODE_LIST and runs its own race using > trafodion-[1-3].novalocal instead. > > [centos@trafodion-1 installer]$ ./trafodion_install --accept_license > --config_file my_config > > ****************************** > TRAFODION INSTALLATION START > ****************************** > > ***INFO: testing sudo access > ***INFO: Log file located at > /var/log/trafodion/trafodion_install_2016-05-17-18- > 35-51.log > ***INFO: Config directory: /etc/trafodion > ***INFO: Working directory: /usr/lib/trafodion > ***INFO: Trafodion Configuration File Check > > ***INFO: Testing sudo access on node trafodion-1.novalocal > ***INFO: Testing ssh on trafodion-1.novalocal > ***ERROR: BACKUP_USER variable not set in config file. > ***WARNING: BACKUP_USER will be set to trafodion. > ***INFO: Getting list of all hortonworks nodes > ***INFO: HADOOP_PATH=/usr/hdp/current/hbase-regionserver/lib > ***INFO: hortonworks list of nodes: trafodion-1.openstack > trafodion-2.openstack > trafodion-3.openstack > ***INFO: hortonworks list of HDFS nodes: trafodion-1.openstack > trafodion-2.open > stack trafodion-3.openstack > ***INFO: hortonworks list of HBASE nodes: trafodion-1.openstack > trafodion-2.ope > nstack trafodion-3.openstack > ***INFO: Testing ssh on trafodion-1.openstack > ***INFO: Testing ssh on trafodion-2.openstack > ***INFO: Testing ssh on trafodion-3.openstack > ***INFO: Testing sudo access on trafodion-1.openstack > ***INFO: Testing sudo access on trafodion-2.openstack > ***INFO: Testing sudo access on trafodion-3.openstack > =========================================== > Trafodion Configuration File Check Errors > =========================================== > > *** WARNING: All errors must be fixed before Installation will continue > TRAFODION NODE LIST > ***ERROR: trafodion-2.novalocal trafodion-3.novalocal does not have sudo > access . > ***ERROR: Must have sudo access on all nodes. > TRAFODION NODE LIST > ***ERROR: Could not ssh to trafodion-2.novalocal trafodion-3.novalocal > trafodio > n-2.novalocal trafodion-3.novalocal. > ***ERROR: Check permissions and known hosts files. > JAVA HOME > ***ERROR: Your existing JAVA_HOME on trafodion-1.novalocal is less than > 1.7.0_65 > ***ERROR: Your Java Version on trafodion-1.novalocal = > ***ERROR: Required java version on trafodion-1.novalocal should be greater > than > 1.7.0_65 > JAVA HOME > ***ERROR: Your existing JAVA_HOME on trafodion-2.novalocal is less than > 1.7.0_65 > ***ERROR: Your Java Version on trafodion-2.novalocal = > ***ERROR: Required java version on trafodion-2.novalocal should be greater > than > 1.7.0_65 > JAVA HOME > ***ERROR: Your existing JAVA_HOME on trafodion-3.novalocal is less than > 1.7.0_65 > ***ERROR: Your Java Version on trafodion-3.novalocal = > ***ERROR: Required java version on trafodion-3.novalocal should be greater > than > 1.7.0_65 > > ***ERROR: Error found while checking config file. > ***ERROR: Exiting... > > I can, of course, fix /etc/hosts to match *.novalocal but it seems better > for the installer to use the values specified in NODE_LIST. > > Gunnar > > On Tue, May 17, 2016 at 12:26 PM, Amanda Moran > <[email protected]> > wrote: > > > Hi there Gunnar- > > > > Could you please rerun the installer and see if you still get this > > error? I > > do see a potential bug in this area of the code, but still doesn't seem > > like that's what you hit. > > > > Thanks! > > > > Amanda > > > > On Mon, May 16, 2016 at 2:08 PM, Gunnar Tapper > <[email protected]> > > wrote: > > > > > pdsh -w trafodion-[1-3].openstack "$JAVA_HOME/bin/java -version" > > > trafodion-3: java version "1.7.0_67" > > > trafodion-3: Java(TM) SE Runtime Environment (build 1.7.0_67-b01) > > > trafodion-3: Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed > > > mode) > > > trafodion-1: java version "1.7.0_67" > > > trafodion-1: Java(TM) SE Runtime Environment (build 1.7.0_67-b01) > > > trafodion-1: Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed > > > mode) > > > trafodion-2: java version "1.7.0_67" > > > trafodion-2: Java(TM) SE Runtime Environment (build 1.7.0_67-b01) > > > trafodion-2: Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed > > > mode) > > > > > > > > > On Mon, May 16, 2016 at 2:42 PM, Amanda Moran > <[email protected]> > > > wrote: > > > > > > > Sorry but you did > > > > pdsh -w trafodion-[1-3].openstack "/*usr/*bin/java -version" > > > > > > > > and I need you to do > > > > > > > > pdsh -w trafodion-[1-3].openstack "$*JAVA_HOME*/bin/java -version" > > > > > > > > Either source your config file to get JAVA_HOME or just complete the > > path > > > > yourself in the command. > > > > > > > > Thanks. > > > > > > > > > > > > > > > > -- > > > Thanks, > > > > > > Gunnar > > > *If you think you can you can, if you think you can't you're right.* > > > > > > > > > > > -- > > Thanks, > > > > Amanda Moran > > > > > > -- > Thanks, > > Gunnar > *If you think you can you can, if you think you can't you're right.*
