You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Radu Marias <ra...@gmail.com> on 2015/08/27 00:41:24 UTC
installer: ERROR (line 1): Unknown statement 0;node-name=node1;cores=;processors=1;roles=connection,aggregation,storage
.
Hi,
I have a cluster of 5 nodes, each as a virtual machine.
This is on them:
Centos 7
Ambari 2.1
HDP 2.2
perl.x86_64 4:5.16.3-285.el7
jdk1.7.0_67, installed by ambari
Running the installer I have these errors after hdp is restarted and
trafodion folder are created to nodes:
***INFO: Trafodion Mods ran successfully.
******************************
TRAFODION START
******************************
/usr/lib/trafodion/installer/..
***INFO: Log file location
/var/log/trafodion/trafodion_install_2015-08-26-19-44-39.log
***INFO: traf_start
******************************************
******************************************
******************************************
******************************************
/home/trafodion/trafodion-20150821_0830
***INFO: untarring build file
/usr/lib/trafodion/trafodion-20150821_0830/trafodion_server-1.2.0.tgz to
/home/trafodion/trafodion-20150821_0830
***INFO: modifying .bashrc to set Trafodion environment variables
***INFO: copying .bashrc file to all nodes
***INFO: copying sqconfig file (/home/trafodion/sqconfig) to
/home/trafodion/trafodion-20150821_0830/sql/scripts/sqconfig
***INFO: Creating /home/trafodion/trafodion-20150821_0830 directory on all
nodes
***INFO: starting sqgen
node1,node2,node3,node4,node5
Creating directories on cluster nodes
/usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
%h mkdir -p /home/trafodion/trafodion-20150821_0830/etc
/usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
%h mkdir -p /home/trafodion/trafodion-20150821_0830/logs
/usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
%h mkdir -p /home/trafodion/trafodion-20150821_0830/tmp
/usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
%h mkdir -p /home/trafodion/trafodion-20150821_0830/sql/scripts
The SQ environment variable file
/home/trafodion/trafodion-20150821_0830/etc/ms.env exists.
The file will not be re-generated.
* ERROR (line 1): Unknown statement 0;node-*
* name=node1;cores=;processors=1;ro*
* les=connection,aggregation,storage .*
*Note: Using cluster.conf format type 2.*
*For
"node-id=0;node-name=node1;cores=;processors=1;roles=connection,aggregation,storage*
*":*
* Error: Enclosure name not specified*
* Error: Enclosure node list not specified*
* Error: not a valid node configuration statement.*
Exiting without generating cluster.conf due to errors.
***ERROR: sqgen failed with RC=1. Check install log file for details.
***ERROR: Error while running traf_start.
***ERROR: Setup not complete, review logs.
***ERROR: Exiting....
Also in order to get this far I had to also install some perl modules:
*yum -y install perl-version.x86_64*
*yum -y install perl-DBI.x86_64*
*yum -y install DBD::SQLite*
And add ctime.pl to /usr/share/perl5/. File from
https://github.com/dwimperl/perl-5.12.3.0/blob/master/perl/lib/ctime.pl
--
And in the end, it's not the years in your life that count. It's the life
in your years.
Re: installer: ERROR (line 1): Unknown statement 0;node-name=node1;cores=;processors=1;roles=connection,aggregation,storage
.
Posted by Amanda Moran <am...@esgyn.com>.
Your sqconfig file has not been generated properly. Can you copy the file
into an email <path>installer/sqconfig_node1? This file is generated by the
script <path>/installer/traf_sqconfig.
On Wed, Aug 26, 2015 at 3:41 PM, Radu Marias <ra...@gmail.com> wrote:
> Hi,
>
> I have a cluster of 5 nodes, each as a virtual machine.
> This is on them:
> Centos 7
> Ambari 2.1
> HDP 2.2
> perl.x86_64 4:5.16.3-285.el7
> jdk1.7.0_67, installed by ambari
>
> Running the installer I have these errors after hdp is restarted and
> trafodion folder are created to nodes:
>
> ***INFO: Trafodion Mods ran successfully.
>
> ******************************
> TRAFODION START
> ******************************
>
> /usr/lib/trafodion/installer/..
> ***INFO: Log file location
> /var/log/trafodion/trafodion_install_2015-08-26-19-44-39.log
> ***INFO: traf_start
> ******************************************
> ******************************************
> ******************************************
> ******************************************
> /home/trafodion/trafodion-20150821_0830
> ***INFO: untarring build file
> /usr/lib/trafodion/trafodion-20150821_0830/trafodion_server-1.2.0.tgz to
> /home/trafodion/trafodion-20150821_0830
> ***INFO: modifying .bashrc to set Trafodion environment variables
> ***INFO: copying .bashrc file to all nodes
> ***INFO: copying sqconfig file (/home/trafodion/sqconfig) to
> /home/trafodion/trafodion-20150821_0830/sql/scripts/sqconfig
> ***INFO: Creating /home/trafodion/trafodion-20150821_0830 directory on all
> nodes
> ***INFO: starting sqgen
> node1,node2,node3,node4,node5
>
> Creating directories on cluster nodes
> /usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
> %h mkdir -p /home/trafodion/trafodion-20150821_0830/etc
> /usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
> %h mkdir -p /home/trafodion/trafodion-20150821_0830/logs
> /usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
> %h mkdir -p /home/trafodion/trafodion-20150821_0830/tmp
> /usr/bin/pdsh -R exec -w node1,node2,node3,node4,node5 -x node5 ssh -q -n
> %h mkdir -p /home/trafodion/trafodion-20150821_0830/sql/scripts
>
> The SQ environment variable file
> /home/trafodion/trafodion-20150821_0830/etc/ms.env exists.
> The file will not be re-generated.
>
>
> * ERROR (line 1): Unknown statement 0;node-*
> * name=node1;cores=;processors=1;ro*
> * les=connection,aggregation,storage .*
> *Note: Using cluster.conf format type 2.*
> *For
>
> "node-id=0;node-name=node1;cores=;processors=1;roles=connection,aggregation,storage*
> *":*
> * Error: Enclosure name not specified*
> * Error: Enclosure node list not specified*
> * Error: not a valid node configuration statement.*
> Exiting without generating cluster.conf due to errors.
> ***ERROR: sqgen failed with RC=1. Check install log file for details.
> ***ERROR: Error while running traf_start.
> ***ERROR: Setup not complete, review logs.
> ***ERROR: Exiting....
>
> Also in order to get this far I had to also install some perl modules:
>
> *yum -y install perl-version.x86_64*
> *yum -y install perl-DBI.x86_64*
> *yum -y install DBD::SQLite*
>
> And add ctime.pl to /usr/share/perl5/. File from
> https://github.com/dwimperl/perl-5.12.3.0/blob/master/perl/lib/ctime.pl
>
> --
> And in the end, it's not the years in your life that count. It's the life
> in your years.
>
--
Thanks,
Amanda Moran