trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amanda Moran <amanda.mo...@esgyn.com>
Subject Re: [VOTE] Apache Trafodion release 2.0.0 ready for release - release candidate 1
Date Tue, 17 May 2016 21:25:08 GMT
First, please don't uninstall Hortonworks ... you do not need to do that.

The way you have /etc/hosts setup is the way I always set mine up. It looks
perfect.

I use aliases all the time, I normally give them names like "node1" since
that is easier to type.


export MY_NODES="-w trafodion-[1-3].openstack"

That won't work. Please edit the file to be
export MY_NODES="-w trafodion-1.openstack -w trafodion-2.openstack ..."

Also make sure you have passwordless ssh and have accepted all keys for
each node.

Also looks like you dont have sudo access on trafodion-2.openstack and
trafodion-3.openstack.

You don't have a java issue. The "bug" is that the installer it trying to
find "all" errors and report them back to you but that isn't really
possible in the case without passwordless ssh and sudo setup.

Thanks.




On Tue, May 17, 2016 at 12:16 PM, Gunnar Tapper <tapper.gunnar@gmail.com>
wrote:

> No, it doesn't. The content of /etc/hosts represent alias to an IP address.
> Hortonworks and the whole Hadoop stack are perfectly content with this.
> Trafodion is not. To change this, I'll have to reinstall my Hortonworks
> environment from scratch.
>
> On Tue, May 17, 2016 at 1:01 PM, Steve Varnau <steve.varnau@esgyn.com>
> wrote:
>
> > So does "hostname -f" match the hostnames you are giving?
> >
> > --Steve
> >
> >
> > > -----Original Message-----
> > > From: Gunnar Tapper [mailto:tapper.gunnar@gmail.com]
> > > Sent: Tuesday, May 17, 2016 11:57 AM
> > > To: dev@trafodion.incubator.apache.org
> > > 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
> > > <amanda.moran@esgyn.com>
> > > 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
> > > <tapper.gunnar@gmail.com>
> > > > 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
> > > <amanda.moran@esgyn.com>
> > > > > 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.*
> >
>
>
>
> --
> Thanks,
>
> Gunnar
> *If you think you can you can, if you think you can't you're right.*
>



-- 
Thanks,

Amanda Moran

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message