You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2017/05/29 22:56:04 UTC

[jira] [Created] (BIGTOP-2789) Ambari: installing ODPi mpack fails due to changing its file name

Kengo Seki created BIGTOP-2789:
----------------------------------

             Summary: Ambari: installing ODPi mpack fails due to changing its file name
                 Key: BIGTOP-2789
                 URL: https://issues.apache.org/jira/browse/BIGTOP-2789
             Project: Bigtop
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Kengo Seki
            Assignee: Kengo Seki


BIGTOP-2729 seemed to change the tarball name for ODPi mpack from odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz to odpi-ambari-mpack-1.0.0.0-SNAPSHOT-odpi-ambari-mpack.tar.gz, so now deploying ambari via puppet fails with the following error:

{code}
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Using python  /usr/bin/python
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Installing management pack
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Installing management pack /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Download management pack to temp location /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: INFO: Downloading /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz to /var/lib/ambari-server/data/tmp/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/sbin/ambari-server.py", line 941, in <module>
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     mainBody()
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/sbin/ambari-server.py", line 911, in mainBody
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     main(options, args, parser)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/sbin/ambari-server.py", line 863, in main
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     action_obj.execute()
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/sbin/ambari-server.py", line 78, in execute
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     self.fn(*self.args, **self.kwargs)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 861, in install_mpack
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     (mpack_metadata, mpack_name, mpack_version, mpack_staging_dir, mpack_archive_path) = _install_mpack(options, replay_mode)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 690, in _install_mpack
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     tmp_archive_path = download_mpack(mpack_path)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.6/site-packages/ambari_server/setupMpacks.py", line 140, in download_mpack
Error: /bin/bash -c 'echo yes | /usr/sbin/ambari-server install-mpack --purge --verbose --mpack=/var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz' returned 1 instead of one of [0]
Error: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: change from notrun to 0 failed: /bin/bash -c 'echo yes | /usr/sbin/ambari-server install-mpack --purge --verbose --mpack=/var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz' returned 1 instead of one of [0]
Warning: /Stage[main]/Ambari::Server/Exec[server setup]: Skipping because of failed dependencies
Warning: /Stage[main]/Ambari::Server/Service[ambari-server]: Skipping because of failed dependencies
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     download_file(mpack_path, tmp_archive_path)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 58, in download_file
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     force_download_file(link, destination, chunk_size, progress_func = progress_func)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.6/site-packages/ambari_commons/inet_utils.py", line 126, in force_download_file
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     response = urllib2.urlopen(request)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     return opener.open(url, data, timeout)
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.7/urllib2.py", line 421, in open
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     protocol = req.get_type()
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:   File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns:     raise ValueError, "unknown url type: %s" % self.__original
Notice: /Stage[main]/Ambari::Server/Exec[mpack install]/returns: ValueError: unknown url type: /var/lib/ambari-server/resources/odpi-ambari-mpack-1.0.0.0-SNAPSHOT.tar.gz
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)