BDA Mammoth Fails Extending CDH Cluster on Step 9 (Doc ID 1618335.1)

Last updated on JANUARY 29, 2014

Applies to:

Big Data Appliance Integrated Software - Version 2.3.1 and later
Linux x86-64

Symptoms

Running Mammoth step 9 on expansion fails with:

# ./mammoth -s 9 bda1 1
INFO: Logging all actions in /opt/oracle/BDAMammoth/bdaconfig/tmp/STEP-09-20140129161443.log and traces in
/opt/oracle/BDAMammoth/bdaconfig/tmp/STEP-09-20140129161443.trc
INFO: Checking configuration file /opt/oracle/BDAMammoth/bdaconfig/../mammoth-bda1-1.params...
INFO: This is the install of an additional rack
INFO: Using saved configuration file /opt/oracle/bda/install/state/mammoth-saved.params
INFO: To use the generated configuration file, remove /opt/oracle/bda/install/state/mammoth-saved.params
INFO: Loading configuration file /opt/oracle/bda/install/state/mammoth-saved.params...
INFO: Loading configuration file /opt/oracle/BDAMammoth/bdaconfig/../mammoth-bda1-1.params...
INFO: Loading configuration file /opt/oracle/bda/install/state/mammoth-bda1-saved.params...
INFO: Reading component versions from /opt/oracle/BDAMammoth/bdaconfig/COMPONENTS
==================================================================================
INFO: Wed Jan 29 16:14:43 CET 2014

INFO: Step 9  SetupMySQL
INFO: Acquiring run lock ...
INFO: Creating nodelist files...
INFO: Creating environment.pp file ...
INFO: Making sure all puppet agents can be accessed.
INFO: Pinging puppet agents
INFO: Setting up MySQL databases. This will take some time ...
INFO: Puppet script successfully sent to node bda1node07
INFO: Puppet script successfully sent to node bda1node08
INFO: Puppet script successfully sent to node bda1node09
INFO: Pinging puppet agents
INFO: Puppet agent run on node bda1node07 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bda1node07-20140129161519.log
INFO: Puppet agent run on node bda1node08 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bda1node08-20140129161519.log
INFO: Puppet agent run on node bda1node09 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bda1node09-20140129161519.log
INFO: Making sure all puppet agents can be accessed.
INFO: Pinging puppet agents
INFO: Adding access from additional nodes to MySQL database. This will take some time ...
INFO: Puppet script successfully sent to node bda1node01
INFO: Pinging puppet agents
ERROR: Puppet agent run on node bda1node01 had errors. List of errors follows

************************************


Many errors seen in output like the following:

Error [6070]: (//bda1node01.example.com//Stage[main]/Mysql::Addnodesmysql/Mysqldb_add[hive]/Exec[grant-hive-db-user]/returns) change
from notrun to 0 failed: /usr/bin/mysql -hbda1node03.example.com -uroot -p'xxxxxxx' hive -e " grant all on hive.* to
hive@'bda1node07.example.com' identified by 'xxxxxxx' with grant option ;  grant all on hive.* to
hive@'bda1node08.example.com' identified by 'xxxxxxx' with grant option ;  grant all on hive.* to
hive@'bda1node09.example.com' identified by 'xxxxxxx' with grant option ;   "  returned 1 instead of one of [0] at
/opt/oracle/BDAMammoth/puppet/modules/mysql/manifests/addnodesmysql.pp:5




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms