Description
2014-06-17 13:28:57,145 - Error while executing command 'install':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 105, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_client.py", line 30, in install
self.configure(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_client.py", line 36, in configure
hbase(name='client')
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py", line 92, in hbase
hbase_TemplateConfig( 'regionservers')
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py", line 129, in hbase_TemplateConfig
template_tag = tag
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in _init_
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/template_config.py", line 42, in action_create
content = Template(template_name, extra_imports=self.resource.extra_imports)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in _init_
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 96, in action_create
content = self._get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 136, in _get_content
return content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 47, in _call_
return self.get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 126, in get_content
rendered = self.template.render(self.context)
File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/templates/regionservers.j2", line 19, in top-level template code
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 75, in _getattr_
raise Fail("Configuration parameter '"self.name"' was not found in configurations dictionary!")
Fail: Configuration parameter 'slave_hosts' was not found in configurations dictionary!
stdout: /var/lib/ambari-agent/data/output-64.txt
2014-06-17 13:28:55,962 - Package['unzip'] {}
2014-06-17 13:28:56,007 - Skipping installing existent package unzip
2014-06-17 13:28:56,008 - Package['curl'] {}
2014-06-17 13:28:56,036 - Skipping installing existent package curl
2014-06-17 13:28:56,036 - Package['net-snmp-utils'] {}
2014-06-17 13:28:56,068 - Skipping installing existent package net-snmp-utils
2014-06-17 13:28:56,069 - Package['net-snmp'] {}
2014-06-17 13:28:56,104 - Skipping installing existent package net-snmp
2014-06-17 13:28:56,105 - Execute['mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 http://hwx56.rhs:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] {'environment': ..., 'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
2014-06-17 13:28:56,114 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 http://hwx56.rhs:8080/resources//jdk-7u45-linux-x64.tar.gz -o /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz'] due to not_if
2014-06-17 13:28:56,115 - Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] {'not_if': 'test -e /usr/jdk64/jdk1.7.0_45/bin/java', 'path': ['/bin', '/usr/bin/']}
2014-06-17 13:28:56,123 - Skipping Execute['mkdir -p /usr/jdk64 ; cd /usr/jdk64 ; tar -xf /tmp/HDP-artifacts//jdk-7u45-linux-x64.tar.gz > /dev/null 2>&1'] due to not_if
2014-06-17 13:28:56,124 - Execute['mkdir -p /tmp/HDP-artifacts/; curl -kf --retry 10 http://hwx56.rhs:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
2014-06-17 13:28:56,133 - Skipping Execute['mkdir -p /tmp/HDP-artifacts/; curl -kf --retry 10 http://hwx56.rhs:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /tmp/HDP-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
2014-06-17 13:28:56,133 - Group['hadoop'] {}
2014-06-17 13:28:56,134 - Modifying group hadoop
2014-06-17 13:28:56,222 - Group['users'] {}
2014-06-17 13:28:56,223 - Modifying group users
2014-06-17 13:28:56,306 - Group['users'] {}
2014-06-17 13:28:56,307 - Modifying group users
2014-06-17 13:28:56,440 - User['ambari-qa'] {'gid': 'hadoop', 'groups': [u'users']}
2014-06-17 13:28:56,440 - Modifying user ambari-qa
2014-06-17 13:28:56,458 - File['/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2014-06-17 13:28:56,459 - Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] {'not_if': 'test $(id -u ambari-qa) -gt 1000'}
2014-06-17 13:28:56,469 - Skipping Execute['/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa 2>/dev/null'] due to not_if
2014-06-17 13:28:56,469 - User['hbase'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2014-06-17 13:28:56,469 - Modifying user hbase
2014-06-17 13:28:56,483 - File['/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
2014-06-17 13:28:56,485 - Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/mnt/brick1/hadoop/hbase 2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'}
2014-06-17 13:28:56,500 - Skipping Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/mnt/brick1/hadoop/hbase 2>/dev/null'] due to not_if
2014-06-17 13:28:56,500 - Group['nagios'] {}
2014-06-17 13:28:56,500 - Modifying group nagios
2014-06-17 13:28:56,606 - User['nagios'] {'gid': 'nagios'}
2014-06-17 13:28:56,607 - Modifying user nagios
2014-06-17 13:28:56,620 - User['oozie'] {'gid': 'hadoop'}
2014-06-17 13:28:56,621 - Modifying user oozie
2014-06-17 13:28:56,631 - User['hcat'] {'gid': 'hadoop'}
2014-06-17 13:28:56,631 - Modifying user hcat
2014-06-17 13:28:56,641 - User['hcat'] {'gid': 'hadoop'}
2014-06-17 13:28:56,641 - Modifying user hcat
2014-06-17 13:28:56,650 - User['hive'] {'gid': 'hadoop'}
2014-06-17 13:28:56,651 - Modifying user hive
2014-06-17 13:28:56,661 - User['yarn'] {'gid': 'hadoop'}
2014-06-17 13:28:56,661 - Modifying user yarn
2014-06-17 13:28:56,671 - Group['nobody'] {}
2014-06-17 13:28:56,671 - Modifying group nobody
2014-06-17 13:28:56,771 - Group['nobody'] {}
2014-06-17 13:28:56,771 - Modifying group nobody
2014-06-17 13:28:56,864 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
2014-06-17 13:28:56,865 - Modifying user nobody
2014-06-17 13:28:56,881 - User['nobody'] {'gid': 'hadoop', 'groups': [u'nobody']}
2014-06-17 13:28:56,881 - Modifying user nobody
2014-06-17 13:28:56,892 - User['hdfs'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2014-06-17 13:28:56,893 - Modifying user hdfs
2014-06-17 13:28:56,903 - User['mapred'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2014-06-17 13:28:56,903 - Modifying user mapred
2014-06-17 13:28:56,914 - User['zookeeper'] {'gid': 'hadoop'}
2014-06-17 13:28:56,914 - Modifying user zookeeper
2014-06-17 13:28:56,924 - User['storm'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2014-06-17 13:28:56,924 - Modifying user storm
2014-06-17 13:28:56,934 - User['falcon'] {'gid': 'hadoop', 'groups': [u'hadoop']}
2014-06-17 13:28:56,935 - Modifying user falcon
2014-06-17 13:28:56,945 - User['tez'] {'gid': 'hadoop', 'groups': [u'users']}
2014-06-17 13:28:56,945 - Modifying user tez
2014-06-17 13:28:57,082 - Repository['HDP-2.1.GlusterFS'] {'action': ['create'], 'mirror_list': None, 'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.1.2.0', 'components': ['HDP', 'main'], 'repo_file_name': 'HDP'}
2014-06-17 13:28:57,087 - File['/etc/yum.repos.d/HDP.repo'] {'content': InlineTemplate(...)}
2014-06-17 13:28:57,088 - Repository['HDP-UTILS-1.1.0.17'] {'action': ['create'], 'mirror_list': None, 'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.17/repos/centos6', 'components': ['HDP', 'main'], 'repo_file_name': 'HDP-UTILS'}
2014-06-17 13:28:57,090 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': InlineTemplate(...)}
2014-06-17 13:28:57,090 - Package['hbase'] {}
2014-06-17 13:28:57,108 - Skipping installing existent package hbase
2014-06-17 13:28:57,122 - Directory['/etc/hbase/conf'] {'owner': 'hbase', 'group': 'hadoop', 'recursive': True}
2014-06-17 13:28:57,122 - Directory['/mnt/brick1/hadoop/hbase'] {'owner': 'hbase', 'recursive': True}
2014-06-17 13:28:57,122 - Directory['/mnt/brick1/hadoop/hbase/local/jars'] {'owner': 'hbase', 'group': 'hadoop', 'recursive': True, 'mode': 0775}
2014-06-17 13:28:57,123 - XmlConfig['hbase-site.xml'] {'owner': 'hbase', 'group': 'hadoop', 'conf_dir': '/etc/hbase/conf', 'configurations': ...}
2014-06-17 13:28:57,126 - Generating config: /etc/hbase/conf/hbase-site.xml
2014-06-17 13:28:57,127 - File['/etc/hbase/conf/hbase-site.xml'] {'owner': 'hbase', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None}
2014-06-17 13:28:57,127 - Writing File['/etc/hbase/conf/hbase-site.xml'] because contents don't match
2014-06-17 13:28:57,128 - XmlConfig['hdfs-site.xml'] {'owner': 'hbase', 'group': 'hadoop', 'conf_dir': '/etc/hbase/conf', 'configurations': ...}
2014-06-17 13:28:57,131 - Generating config: /etc/hbase/conf/hdfs-site.xml
2014-06-17 13:28:57,131 - File['/etc/hbase/conf/hdfs-site.xml'] {'owner': 'hbase', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None}
2014-06-17 13:28:57,131 - Writing File['/etc/hbase/conf/hdfs-site.xml'] because contents don't match
2014-06-17 13:28:57,132 - File['/etc/hbase/conf/hbase-policy.xml'] {'owner': 'hbase', 'group': 'hadoop'}
2014-06-17 13:28:57,132 - TemplateConfig['/etc/hbase/conf/hbase-env.sh'] {'owner': 'hbase', 'template_tag': None}
2014-06-17 13:28:57,138 - File['/etc/hbase/conf/hbase-env.sh'] {'content': Template('hbase-env.sh.j2'), 'owner': 'hbase', 'group': None, 'mode': None}
2014-06-17 13:28:57,139 - TemplateConfig['/etc/hbase/conf/hadoop-metrics2-hbase.properties'] {'owner': 'hbase', 'template_tag': 'GANGLIA-RS'}
2014-06-17 13:28:57,141 - File['/etc/hbase/conf/hadoop-metrics2-hbase.properties'] {'content': Template('hadoop-metrics2-hbase.properties-GANGLIA-RS.j2'), 'owner': 'hbase', 'group': None, 'mode': None}
2014-06-17 13:28:57,141 - TemplateConfig['/etc/hbase/conf/regionservers'] {'owner': 'hbase', 'template_tag': None}
2014-06-17 13:28:57,143 - File['/etc/hbase/conf/regionservers'] {'content': Template('regionservers.j2'), 'owner': 'hbase', 'group': None, 'mode': None}
2014-06-17 13:28:57,145 - Error while executing command 'install':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 105, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_client.py", line 30, in install
self.configure(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase_client.py", line 36, in configure
hbase(name='client')
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py", line 92, in hbase
hbase_TemplateConfig( 'regionservers')
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/scripts/hbase.py", line 129, in hbase_TemplateConfig
template_tag = tag
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in _init_
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/template_config.py", line 42, in action_create
content = Template(template_name, extra_imports=self.resource.extra_imports)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in _init_
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 96, in action_create
content = self._get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 136, in _get_content
return content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 47, in _call_
return self.get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 126, in get_content
rendered = self.template.render(self.context)
File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HBASE/package/templates/regionservers.j2", line 19, in top-level template code
{% for host in rs_hosts %}
host
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 75, in _getattr_
raise Fail("Configuration parameter '"self.name"' was not found in configurations dictionary!")
Fail: Configuration parameter 'slave_hosts' was not found in configurations dictionary!