You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Shuhei Yamasaki (Jira)" <ji...@apache.org> on 2022/10/25 15:01:00 UTC

[jira] [Updated] (BIGTOP-3858) Invalid repository URL is set in rockylinux8 config

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

Shuhei Yamasaki updated BIGTOP-3858:
------------------------------------
    Description: 
The docker-hadoop.sh can not install component correctly as follows.

 
{code:java}
$  ./docker-hadoop.sh -d -C config_rockylinux-8.yaml -c 3
snip...
Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Error: /Stage[main]/Jdk/Package[jdk]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
...
{code}
 

In config file, the "repo" section is set `[http://repos.bigtop.apache.org/releases/3.1.0/centos/8/$basearch]` by defalut.

But Bigtop 3.1 or higher, above url is invalid.

  was:
The docker-hadoop.sh can not install component correctly as follows.

```

$  ./docker-hadoop.sh -d -C config_rockylinux-8.yaml -c 3

...

Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Error: /Stage[main]/Jdk/Package[jdk]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

...

```

 

In config file, the "repo" section is set `http://repos.bigtop.apache.org/releases/3.1.0/centos/8/$basearch` by defalut.

But Bigtop 3.1 or higher, above url is invalid.


> Invalid repository URL is set in rockylinux8 config
> ---------------------------------------------------
>
>                 Key: BIGTOP-3858
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3858
>             Project: Bigtop
>          Issue Type: Bug
>          Components: docker
>            Reporter: Shuhei Yamasaki
>            Assignee: Shuhei Yamasaki
>            Priority: Major
>
> The docker-hadoop.sh can not install component correctly as follows.
>  
> {code:java}
> $  ./docker-hadoop.sh -d -C config_rockylinux-8.yaml -c 3
> snip...
> Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
> Error: /Stage[main]/Jdk/Package[jdk]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install java-1.8.0-openjdk-devel' returned 1: Error: Failed to download metadata for repo 'Bigtop_0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
> ...
> {code}
>  
> In config file, the "repo" section is set `[http://repos.bigtop.apache.org/releases/3.1.0/centos/8/$basearch]` by defalut.
> But Bigtop 3.1 or higher, above url is invalid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)