You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/06/05 21:51:00 UTC

[jira] [Resolved] (AMBARI-11631) Accumulo Client Install fails when installing Accumulo with Ambari's Add Service Wizard

     [ https://issues.apache.org/jira/browse/AMBARI-11631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hurley resolved AMBARI-11631.
--------------------------------------
    Resolution: Invalid

Correct; this was a build in between commits. This no longer happens.

> Accumulo Client Install fails when installing Accumulo with Ambari's Add Service Wizard
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11631
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11631
>             Project: Ambari
>          Issue Type: Bug
>         Environment: ambari-2.1.0-854, hdp-2.3.0.0-2216, sles11sp3
>            Reporter: Zack Marsh
>
> The Accumulo Client Install fails on all hosts when attempting to install Accumulo using Ambari's Add Service Wizard.
> Steps to reproduce:
> * Install a cluster with Ambari Blueprints using HDP 2.3.0.0-2216 or greater and Ambari 2.1.0-854 or greater
> * Run the Add Service Wizard, selecting Accumulo
> * Choose to install the client on all hosts in the cluster
> * In the "Customize Services" section of the Wizard
> ** Set the Accumulo root password, the Trace user password, and the Instance Secret
> ** On my cluster I changed the accumulo_log_dir and checked the box for "Monitor Bind All Interfaces"
> * Then during the "Install, Start, and Test" step, all hosts failed to install the Accumulo Client
> Error messages as seen in Ambari for the failed "Accumulo Client Install" operation:
> stderr:
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py", line 45, in <module>
>     AccumuloClient().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py", line 32, in install
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_client.py", line 35, in configure
>     import params
>   File "/var/lib/ambari-agent/cache/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py", line 52, in <module>
>     hadoop_bin_dir = conf_select.get_hadoop_dir("bin")
> AttributeError: 'module' object has no attribute 'get_hadoop_dir'
> {code}
> stdout:
> {code}
> 2015-06-02 17:16:01,475 - Group['hadoop'] {'ignore_failures': False}
> 2015-06-02 17:16:01,477 - Group['users'] {'ignore_failures': False}
> 2015-06-02 17:16:01,477 - User['hive'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,477 - User['zookeeper'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,478 - User['oozie'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['users']}
> 2015-06-02 17:16:01,478 - User['ams'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,479 - User['falcon'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,479 - User['tez'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['users']}
> 2015-06-02 17:16:01,480 - User['accumulo'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,480 - User['mahout'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,481 - User['ambari-qa'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['users']}
> 2015-06-02 17:16:01,481 - User['flume'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,481 - User['hdfs'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,482 - Modifying user hdfs
> 2015-06-02 17:16:01,523 - User['sqoop'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,523 - User['yarn'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,524 - User['mapred'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,524 - User['hbase'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,525 - User['hcat'] {'gid': 'hadoop', 'ignore_failures': False, 'groups': ['hadoop']}
> 2015-06-02 17:16:01,526 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
> 2015-06-02 17:16:01,527 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] {'not_if': '(test $(id -u ambari-qa) -gt 1000) || (false)'}
> 2015-06-02 17:16:01,532 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh ambari-qa /tmp/hadoop-ambari-qa,/tmp/hsperfdata_ambari-qa,/home/ambari-qa,/tmp/ambari-qa,/tmp/sqoop-ambari-qa'] due to not_if
> 2015-06-02 17:16:01,533 - Directory['/tmp/hbase-hbase'] {'owner': 'hbase', 'recursive': True, 'mode': 0775, 'cd_access': 'a'}
> 2015-06-02 17:16:01,533 - File['/var/lib/ambari-agent/data/tmp/changeUid.sh'] {'content': StaticFile('changeToSecureUid.sh'), 'mode': 0555}
> 2015-06-02 17:16:01,534 - Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] {'not_if': '(test $(id -u hbase) -gt 1000) || (false)'}
> 2015-06-02 17:16:01,539 - Skipping Execute['/var/lib/ambari-agent/data/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/tmp/hbase-hbase'] due to not_if
> 2015-06-02 17:16:01,540 - Group['hdfs'] {'ignore_failures': False}
> 2015-06-02 17:16:01,540 - User['hdfs'] {'ignore_failures': False, 'groups': ['hadoop', 'hdfs', 'hdfs']}
> 2015-06-02 17:16:01,541 - Modifying user hdfs
> 2015-06-02 17:16:01,560 - Directory['/etc/hadoop'] {'mode': 0755}
> 2015-06-02 17:16:01,574 - File['/usr/hdp/current/hadoop-client/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs', 'group': 'hadoop'}
> 2015-06-02 17:16:01,586 - Repository['HDP-2.3'] {'base_url': 'http://piripiri1.labs.teradata.com/HDP/suse11sp3/2.x/updates/2.3.0.0', 'action': ['create'], 'components': ['HDP', 'main'], 'repo_template': 'repo_suse_rhel.j2', 'repo_file_name': 'HDP', 'mirror_list': None}
> 2015-06-02 17:16:01,594 - File['/etc/zypp/repos.d/HDP.repo'] {'content': Template('/usr/lib/ambari-server/lib/resource_management/libraries/providers/../data/repo_suse_rhel.j2')}
> 2015-06-02 17:16:01,595 - Repository['HDP-UTILS-1.1.0.20'] {'base_url': 'http://piripiri1.labs.teradata.com/HDP-UTILS-1.1.0.20/repos/suse11sp3', 'action': ['create'], 'components': ['HDP-UTILS', 'main'], 'repo_template': 'repo_suse_rhel.j2', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
> 2015-06-02 17:16:01,598 - File['/etc/zypp/repos.d/HDP-UTILS.repo'] {'content': Template('/usr/lib/ambari-server/lib/resource_management/libraries/providers/../data/repo_suse_rhel.j2')}
> 2015-06-02 17:16:01,599 - Package['unzip'] {}
> 2015-06-02 17:16:01,747 - Skipping installation of existing package unzip
> 2015-06-02 17:16:01,747 - Package['curl'] {}
> 2015-06-02 17:16:01,928 - Skipping installation of existing package curl
> 2015-06-02 17:16:01,928 - Package['hdp-select'] {}
> 2015-06-02 17:16:02,167 - Skipping installation of existing package hdp-select
> 2015-06-02 17:16:02,283 - Package['accumulo_2_3_*'] {}
> 2015-06-02 17:16:02,419 - Skipping installation of existing package accumulo_2_3_*
> 2015-06-02 17:16:02,420 - Execute['('/usr/bin/hdp-select', 'set', 'accumulo-client', '2.3.0.0-2216')'] {'sudo': True}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)