도커를 사용하여 Ambari 클러스터를 자동으로 생성하는 스크립트가 있습니다. 파일에서 : https://github.com/ortizfabio/caochong/blob/master/from-ambari/Dockerfile Ambari를 다운로드 할 줄이 있습니다. 이것은 Cloudera가 인수 할 때까지 작동했습니다. Ambari를 다운로드하는 명령을 변경하려고합니다.
RUN wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.6.0.0/ambari.repo
에:
RUN wget --http-user=email_logon --http-password=my_password -O /etc/yum.repos.d/ambari.repo https://archive.cloudera.com/p/ambari/centos7/2.x/updates/2.7.5.0/ambari.repo
그러나 오류가 발생합니다.
Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.208.167|:443... connected.
HTTP request sent, awaiting response... 401 Authentication required
Authentication selected: Basic realm=Secured
Connecting to archive.cloudera.com (archive.cloudera.com)|151.101.208.167|:443... connected.
HTTP request sent, awaiting response... 403 Authentication failed
2020-05-29 00:35:40 ERROR 403: Authentication failed.
@Fabio 옵션은 다음과 같습니다.
HDP를 사용하려는 경우 가장 쉬운 옵션으로 # 2를 제안합니다.
wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0/ambari.repo
2.7.5를 정말로 원한다면 소스에서 직접 빌드하거나 HDP없이 사용할 수있는 RPMS를 만들었습니다.
wget -O /etc/yum.repos.d/mosga.repo https://makeopensourcegreatagain.com/rpms/mosga.repo
yum install ambari-server ambari-agent -y
ambari-server setup -s
저는 현재 RPMS가 공통 HDP 구성 요소와 여기 DFHz에서 사용하는 다른 타사 구성 요소와 함께 DDP (데모 데이터 플랫폼)를 설치할 다음 부분을 계속 작업하고 있습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다