Hi Kengo
I upgraded docker, docker-engine and docker compose after I tried to run
$sudo ./docker-hadoop.sh -d -dcp -F docker-compose-cgroupv2.yml -C
config_ubuntu-20.04.yaml -k zookeeper -c 1
but I gave same error
Notice:
/Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/ensure:
defined content as '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
Error: Execution of '/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com
--recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB' returned 2: Warning:
apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.R4MFQ80bQS/gpg.1.sh --keyserver
keyserver.ubuntu.com --recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB
gpg: keyserver receive failed: Connection timed out
Error: /Stage[main]/Bigtop_repo/Apt::Key[add_key]/Apt_key[add_key]/ensure:
change from 'absent' to 'present' failed: Execution of '/usr/bin/apt-key adv
--keyserver keyserver.ubuntu.com --recv-keys
B60B04798ACB6352CA7CC41B48FE45F9CB1784BB' returned 2: Warning: apt-key output
should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.R4MFQ80bQS/gpg.1.sh --keyserver
keyserver.ubuntu.com --recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB
gpg: keyserver receive failed: Connection timed out
Notice: /Stage[main]/Bigtop_repo/Apt::Key[add_key]/Anchor[apt_key
B60B04798ACB6352CA7CC41B48FE45F9CB1784BB present]: Dependency Apt_key[add_key]
has failures: true
Warning: /Stage[main]/Bigtop_repo/Apt::Key[add_key]/Anchor[apt_key
B60B04798ACB6352CA7CC41B48FE45F9CB1784BB present]: Skipping because of failed
dependencies
Warning:
/Stage[main]/Bigtop_repo/Apt::Source[Bigtop_0]/Apt::Pin[Bigtop_0]/Apt::Setting[pref-Bigtop_0]/File[/etc/apt/preferences.d/Bigtop_0.pref]:
Skipping because of failed dependencies
Warning:
/Stage[main]/Bigtop_repo/Apt::Source[Bigtop_0]/Apt::Setting[list-Bigtop_0]/File[/etc/apt/sources.list.d/Bigtop_0.list]:
Skipping because of failed dependencies
Warning: /Stage[main]/Apt::Update/Exec[apt_update]: Skipping because of failed
dependencies
Warning: /Stage[main]/Apt/Package[dirmngr]: Skipping because of failed
dependencies
Warning: /Stage[main]/Jdk/Package[jdk]: Skipping because of failed dependencies
Warning: /Stage[main]/Hadoop_zookeeper::Client/Package[zookeeper]: Skipping
because of failed dependencies
Warning: /Stage[main]/Hadoop_zookeeper::Server/Package[zookeeper-server]:
Skipping because of failed dependencies
Warning:
/Stage[main]/Hadoop_zookeeper::Server/File[/etc/zookeeper/conf/zoo.cfg]:
Skipping because of failed dependencies
Warning: /Stage[main]/Hadoop_zookeeper::Server/File[/var/lib/zookeeper/myid]:
Skipping because of failed dependencies
Warning:
/Stage[main]/Hadoop_zookeeper::Server/Exec[zookeeper-server-initialize]:
Skipping because of failed dependencies
Warning: /Stage[main]/Hadoop_zookeeper::Server/Service[zookeeper-server]:
Skipping because of failed dependencies
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE
will become a normal global variable in Ruby 3.0
Notice: Applied catalog in 61.48 seconds
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE
will become a normal global variable in Ruby 3.0
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is
called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE
will become a normal global variable in Ruby 3.0
/usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning: $SAFE
will become a normal global variable in Ruby 3.0
$ echo $?
0
$ sudo ./docker-hadoop.sh -dcp -e 1 systemctl status zookeeper-server
--no-pager
Unit zookeeper-server.service could not be found.
Kimden: "Kengo Seki" <[email protected]>
Kime: "dev" <[email protected]>
Gönderilenler: 10 Şubat Cuma 2023 5:15:50
Konu: Re: [bigtop3.2][installation error] apt-key
Hi Yasemin,
I tried to install Bigtop 3.2.0 to Ubuntu 20.04 via docker provisioner
and puppet and both worked as follows.
It may be a temporal failure of keyserver.ubuntu.com. Would you try it again?
----------------
$ cat /etc/issue
Ubuntu 20.04.5 LTS \n \l
$ docker version
Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:46:56 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:46:56 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.16
GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
$ docker compose version
Docker Compose version v2.16.0
$ ./docker-hadoop.sh -d -dcp -F docker-compose-cgroupv2.yml -C
config_ubuntu-20.04.yaml -k zookeeper -c 1
...
Notice: Baseurl:
http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)
Notice: /Stage[main]/Bigtop_repo/Notify[Baseurl:
http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)]/message:
defined 'message' as 'Baseurl:
http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)'
...
Notice: Applied catalog in 90.50 seconds
...
$ echo $?
0
$ ./docker-hadoop.sh -dcp -e 1 systemctl status zookeeper-server --no-pager
● zookeeper-server.service - LSB: ZooKeeper is a centralized service
for maintaining configuration information, naming, providing
distributed synchronization, and providing group services.
Loaded: loaded (/etc/init.d/zookeeper-server; generated)
Active: active (running) since Fri 2023-02-10 01:48:01 UTC; 2min 56s ago
...
Kengo Seki <[email protected]>
On Wed, Feb 8, 2023 at 9:54 PM Yasemin DEMİRAL (BILGEM BTE)
<[email protected]> wrote:
>
> Hi
>
> I try to install Bigtop 3.2 on Ubuntu 22.04 and Ubuntu 20.04 and I try to
> install both puppet and docker provisioner, same error both OS and
> environment.
>
> How can fix this ? Do you have any idea?
>
> Thank You
> Yasemin DEMİRAL
>
>
> Environment information:
> Environment check...
> Check docker:
> Docker version 20.10.12, build 20.10.12-0ubuntu2~20.04.1
> Check docker-compose:
> docker-compose version 1.29.0, build unknown
> Check ruby:
> ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
>
> This Error Log:
>
> Notice: /Stage[main]/Apt/File[preferences]/ensure: created
> Notice: Baseurl:
> http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)
> Notice: /Stage[main]/Bigtop_repo/Notify[Baseurl:
> http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)]/message:
> defined 'message' as 'Baseurl:
> http://repos.bigtop.apache.org/releases/3.2.0/ubuntu/20.04/$(ARCH)'
> Notice: /Stage[main]/Hadoop_cluster_node/User[jenkins]/ensure: created
> Notice: /Stage[main]/Hadoop_cluster_node/User[testuser]/ensure: created
> Notice: /Stage[main]/Hadoop_cluster_node/User[hudson]/ensure: created
> /usr/lib/ruby/vendor_ruby/puppet/file_system/uniquefile.rb:126: warning:
> $SAFE will become a normal global variable in Ruby 3.0
> Notice:
> /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/ensure:
> defined content as '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
> Error: Execution of '/usr/bin/apt-key adv --keyserver keyserver.ubuntu.com
> --recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB' returned 2: Warning:
> apt-key output should not be parsed (stdout is not a terminal)
> Executing: /tmp/apt-key-gpghome.YUGvXSWFaN/gpg.1.sh --keyserver
> keyserver.ubuntu.com --recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB
> gpg: keyserver receive failed: Connection timed out
> Error: /Stage[main]/Bigtop_repo/Apt::Key[add_key]/Apt_key[add_key]/ensure:
> change from 'absent' to 'present' failed: Execution of '/usr/bin/apt-key adv
> --keyserver keyserver.ubuntu.com --recv-keys
> B60B04798ACB6352CA7CC41B48FE45F9CB1784BB' returned 2: Warning: apt-key output
> should not be parsed (stdout is not a terminal)
> Executing: /tmp/apt-key-gpghome.YUGvXSWFaN/gpg.1.sh --keyserver
> keyserver.ubuntu.com --recv-keys B60B04798ACB6352CA7CC41B48FE45F9CB1784BB
> gpg: keyserver receive failed: Connection timed out
>
>
>