Error Installing Vertica on CentOS

Moderator: NorbertKrupa

Post Reply
debfawn
Beginner
Beginner
Posts: 47
Joined: Tue Jan 29, 2013 2:30 pm

Error Installing Vertica on CentOS

Post by debfawn » Wed Jun 19, 2013 3:08 pm

Hi all,

I need some help with a Vertica install on CentOS.

Below is the install command I ran, followed by the error I receive. Anyone know what the heck that error means?

Code: Select all

[root@vertica01 vertica_temp]# /opt/vertica/sbin/install_vertica -s 209.166.166.180,209.166.166.179,209.166.166.181 -r vertica-6.1.2-0.x86_64.RHEL5.rpm
Vertica Analytic Database 6.1.2-0 Installation Tool
Starting installation tasks... 
Getting system information for cluster (this may take a while)....
backing up admintools.conf on 209.166.166.180 
Default shell on nodes:
209.166.166.181 /bin/bash
209.166.166.180 /bin/bash
209.166.166.179 /bin/bash
Installing rpm on 2 hosts....
installing node....  209.166.166.179
Error: invalid literal for int() with base 10: '7%'
Traceback (most recent call last):
  File "/opt/vertica/bin/verticaInstall.py", line 1232, in <module>
    code, result = SSH.installNode( installerSSH, host, rootPassword, options.rpm_file_name, localhost, running_as )
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py", line 1986, in installNode
    if int(data[1][0]) <  sz:
ValueError: invalid literal for int() with base 10: '7%'
Installation failed.

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Error Installing Vertica on CentOS

Post by JimKnicely » Wed Jun 19, 2013 3:49 pm

HI,

Apparently there is bug.

You can find a work around here:

https://community.vertica.com/vertica/t ... p_redhat_6

Basically:
Jason Blais (Employee) 5 days ago
you've stumbled over a bug in that the df command used in the test ended up line wrapping because of the length of volume group where /tmp is located. I've filed a issue internally.

Fortunately, the file /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py is readable and you can apply a workaround manually to move forward until we are able to push out the fix. The workaround is to simply add the POSIX output flag for portability to the df command in the test.

Edit /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SSH.py on cnode1 and goto line 1982. Change the command:

df /tmp | tail -1 | awk '{print $4}'

to

df -P /tmp | tail -1 | awk '{print $4}'

save and rerun the installer from cnode1.
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

debfawn
Beginner
Beginner
Posts: 47
Joined: Tue Jan 29, 2013 2:30 pm

Re: Error Installing Vertica on CentOS

Post by debfawn » Wed Jun 19, 2013 8:17 pm

Thanks, Jim! That fixed my problem!!! :D

Post Reply

Return to “Vertica Installation”