Step 9 of Oracle Big Data Appliance (BDA) Cluster v4.2.0 Expansion Raises "Hadoop::Installpkg2/Package[ant]/ensure" (Doc ID 2146433.1)

Last updated on JUNE 03, 2016

Applies to:

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

Symptoms

During the expansion of an Oracle Big Data Appliance (BDA) 4.2 cluster step 9 fails with:

INFO: Step 9 InstallHadoop
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: Installing Hadoop Packages. This will take some time ...
INFO: Puppet script successfully sent to node bdanode01
INFO: Puppet script successfully sent to node bdanode07
INFO: Puppet script successfully sent to node bdanode08
INFO: Puppet script successfully sent to node bdanode09
INFO: Puppet script successfully sent to node bdanode10
INFO: Puppet script successfully sent to node bdanode11
INFO: Puppet script successfully sent to node bdanode12
INFO: Puppet script successfully sent to node bdanode13
INFO: Puppet script successfully sent to node bdanode14
INFO: Puppet script successfully sent to node bdanode15
INFO: Pinging puppet agents .......................................................................................
ERROR: Puppet agent run on node bdanode01 had errors. List of errors follows

************************************
Error [824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) change from 1.7.1-13.el6 to 0:1.7.1-15.el6 failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install ant' returned 1: Traceback (most recent call last):
************************************

INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode01-20160602214432.log

INFO: Puppet agent run on node bdanode07 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode07-20160602214432.log
INFO: Puppet agent run on node bdanode08 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode08-20160602214432.log
INFO: Puppet agent run on node bdanode09 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode09-20160602214432.log
INFO: Puppet agent run on node bdanode10 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode10-20160602214432.log
INFO: Puppet agent run on node bdanode11 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode11-20160602214432.log
INFO: Puppet agent run on node bdanode12 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode12-20160602214432.log
INFO: Puppet agent run on node bdanode13 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode13-20160602214432.log
INFO: Puppet agent run on node bdanode14 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode14-20160602214432.log
INFO: Puppet agent run on node bdanode15 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode15-20160602214432.log
ERROR: Puppet script had errors.
ERROR: unable to continue with install until errors are fixed #Step 9#
INFO: Time spent in step 9 InstallHadoop is 1051 seconds.
INFO: Running bdadiagcluster...
INFO: Cloudera Manager is not accessible - cannot get service state. Skipping running dumpcluster
INFO: Starting Big Data Appliance diagnose cluster at Thu Jun 2 22:01:16 2016
INFO: Logging results to /tmp/bda_diagcluster_1464919273.log
SUCCESS: Created BDA diagcluster zipfile on node bdanode01
SUCCESS: Created BDA diagcluster zipfile on node bdanode02
SUCCESS: Created BDA diagcluster zipfile on node bdanode03
SUCCESS: Created BDA diagcluster zipfile on node bdanode04
SUCCESS: Created BDA diagcluster zipfile on node bdanode05
SUCCESS: Created BDA diagcluster zipfile on node bdanode06
SUCCESS: bdadiagcluster_1464919273.zip created
INFO: Big Data Appliance diagnose cluster complete at Thu Jun 2 22:02:15 2016

 

Trying to run the failing command manually from node 1 shows:

# /usr/bin/yum -d 0 -e 0 -y install ant
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 294, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 229, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
resultobject = self.runTransaction(cb=cb)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1514, in runTransaction
lastdbv = self.history.last()
File "/usr/lib/python2.6/site-packages/yum/history.py", line 1266, in last
ret = self.old([], 1, complete_transactions_only)
File "/usr/lib/python2.6/site-packages/yum/history.py", line 1215, in old
executeSQL(cur, sql, params)
File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
return cursor.execute(query)
sqlite3.OperationalError: no such table: trans_beg

pagent-bdanode01-20160602214432.log shows:

Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install ant' returned 1: Traceback (most recent call last):
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/bin/yum", line 29, in <module>
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) yummain.user_main(sys.argv[1:], exit_code=True)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/yummain.py", line 294, in user_main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) errcode = main(args)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/yummain.py", line 229, in main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) return_code = base.doTransaction()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) resultobject = self.runTransaction(cb=cb)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1514, in runTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) lastdbv = self.history.last()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1266, in last
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) ret = self.old([], 1, complete_transactions_only)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1215, in old
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) executeSQL(cur, sql, params)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) return cursor.execute(query)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) sqlite3.OperationalError: no such table: trans_beg
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) Wrapped exception:
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) Execution of '/usr/bin/yum -d 0 -e 0 -y install ant' returned 1: Traceback (most recent call last):
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/bin/yum", line 29, in <module>
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) yummain.user_main(sys.argv[1:], exit_code=True)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/yummain.py", line 294, in user_main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) errcode = main(args)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/yummain.py", line 229, in main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) return_code = base.doTransaction()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) resultobject = self.runTransaction(cb=cb)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1514, in runTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) lastdbv = self.history.last()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1266, in last
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) ret = self.old([], 1, complete_transactions_only)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1215, in old
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) executeSQL(cur, sql, params)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) return cursor.execute(query)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) sqlite3.OperationalError: no such table: trans_beg
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) change from 1.7.1-13.el6 to 0:1.7.1-15.el6 failed: Could not update: Execution of '/usr/bin/yum -d 0 -e 0 -y install ant' returned 1: Traceback (most recent call last):
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/bin/yum", line 29, in <module>
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) yummain.user_main(sys.argv[1:], exit_code=True)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/share/yum-cli/yummain.py", line 294, in user_main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) errcode = main(args)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/share/yum-cli/yummain.py", line 229, in main
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) return_code = base.doTransaction()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) resultobject = self.runTransaction(cb=cb)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1514, in runTransaction
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) lastdbv = self.history.last()
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1266, in last
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) ret = self.old([], 1, complete_transactions_only)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/lib/python2.6/site-packages/yum/history.py", line 1215, in old
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) executeSQL(cur, sql, params)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) File "/usr/lib/python2.6/site-packages/yum/sqlutils.py", line 166, in executeSQLQmark
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) return cursor.execute(query)
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Package[ant]/ensure) sqlite3.OperationalError: no such table: trans_beg
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[main]/Hadoop::Installpkg2/Exec[setup_scm_params]/returns) executed successfully
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]) Dependency Package[ant] has failures: true
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com//Stage[post]/Miscsetup::Endstep/Notify[end_step]) Skipping because of failed dependencies
Jun 2 22:01:07 bdanode01 puppet-master[824]: (//bdanode01.example.com/Puppet) Finished catalog run in 987.03 seconds

 

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