You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2022/03/26 07:18:00 UTC

[jira] [Updated] (BIGTOP-3656) Fix Mpack's build and deployment problems on Ubuntu

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

Kengo Seki updated BIGTOP-3656:
-------------------------------
    Fix Version/s: 3.1.0
                   3.0.1

> Fix Mpack's build and deployment problems on Ubuntu
> ---------------------------------------------------
>
>                 Key: BIGTOP-3656
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3656
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Major
>             Fix For: 3.1.0, 3.0.1
>
>
> 1. Building Mpack on Ubuntu fails as follows, due to an unwanted binary file.
> {code}
> $ ./gradlew allclean bigtop-ambari-mpack-pkg-ind -POS=ubuntu-18.04
> ...
> dpkg-source: error: unwanted binary file: debian/bgtp-ambari-mpack/src/main/resources/stacks/BGTP/1.0/hooks/before-START/files/fast-hdfs-resource.jar
> > Task :bigtop-ambari-mpack-sdeb FAILED
> dpkg-source: error: detected 1 unwanted binary file (add it in debian/source/include-binaries to allow its inclusion).
> :bigtop-ambari-mpack-sdeb (Thread[Execution worker for ':' Thread 8,5,main]) completed. Took 2.81 secs.
> dpkg-buildpackage: error: dpkg-source -b bigtop-ambari-mpack-2.7.5.0 subprocess returned exit status 29
> 4 actionable tasks: 4 executed
> FAILURE: Build failed with an exception.
> {code}
> 2. This Mpack adds a repo definition, which has "BGTP" and "main" for its suite and component respectively.
> {code}
> 2022-03-25 13:47:34,471 - Repository['BGTP-1.0-repo-2'] {'base_url': 'http://repos.bigtop.apache.org/releases/1.5.0/ubuntu/18.04/$(ARCH)', 'action': ['prepare'], 'components': [u'BGTP', 'main'], 'repo_template': '{{package_type}} {{base_url}} {{components}}', 'repo_file_name': 'ambari-bgtp-2', 'mirror_list': None}
> 2022-03-25 13:47:34,475 - Repository[None] {'action': ['create']}
> 2022-03-25 13:47:34,477 - File['/tmp/tmpvON77X'] {'content': 'deb http://repos.bigtop.apache.org/releases/1.5.0/ubuntu/18.04/$(ARCH) BGTP main'}
> 2022-03-25 13:47:34,477 - Writing File['/tmp/tmpvON77X'] because contents don't match
> 2022-03-25 13:47:34,478 - File['/tmp/tmp9unX4H'] {'content': StaticFile('/etc/apt/sources.list.d/ambari-bgtp-2.list')}
> {code}
> {code}
> $ cat /etc/apt/sources.list.d/ambari-bgtp-2.list 
> deb http://repos.bigtop.apache.org/releases/1.5.0/ubuntu/18.04/$(ARCH) BGTP main
> {code}
> Unfortunately it doesn't work and causes the following error. They should be "bigtop" and "contrib".
> {code}
> RuntimeError: Failed to execute command '/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install hadoop', exited with code '100', message: 'E: Unable to locate package hadoop'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)