LINUX.ORG.RU
ФорумAdmin

Arenadata Hadoop CentOS 7

 


0

1

Здравствуйте, столкнулся с проблемой во время установки Arenadata Hadoop Community на CentOS. Yum не может установить пакеты, пока ему не добавишь гугловскую днс 8.8.8.8, но тогда ArenaData начинает ругаться на днс. Также, без днски не проходит пинг до сайтов Ошибка Yum

Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: extras/7/x86_64

Ошибка аренадаты при добавленной днс 8.8.8.8

FQDN (ec2-3-64-163-50.eu-central-1.compute.amazonaws.com) does not match an entry in ADCM, please add dns server or use default value

$ dig mirrorlist.centos.org @8.8.8.8

; <<>> DiG 9.19.21-1-Debian <<>> mirrorlist.centos.org @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58673
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;mirrorlist.centos.org.		IN	A

;; ANSWER SECTION:
mirrorlist.centos.org.	51	IN	A	35.180.43.213
mirrorlist.centos.org.	51	IN	A	18.225.36.18

;; Query time: 60 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Fri Mar 08 07:27:20 +05 2024
;; MSG SIZE  rcvd: 82


УМВР. теперь ваши пруфы.

etwrq ★★★★★
()