inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

15일간의 빅데이터 파일럿 프로젝트

가상서버 가동 문제

264

itdatabasewiki

작성한 질문수 1

0

제가 파일럿 프로젝트 진행하고 있는데 저사양PC 환경 기준으로 설정했습니다. 그런데 server01에서는 cloudera 매니저가 정상 작동하고 있는데 server02에서는 아예 연결이 안되고 있습니다. 혹시나 해서 yum list 명령어를 입력했는데 

cannot find a valid baseurl for repo: base 라는 에러 메시지가 나타납니다.

우선 windows/System32/drivers/etc/hosts 파일은 아래와 같이 셋팅했습니다.

�? Copyright (c) 1993-2009 Microsoft Corp.

#

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

#

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

#

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a '#' symbol.

#

# For example:

#

#      102.54.94.97     rhino.acme.com          # source server

#       38.25.63.10     x.acme.com              # x client host

 

# localhost name resolution is handled within DNS itself.

# 127.0.0.1       localhost

# ::1             localhost

192.168.56.101 server01.hadoop.com

192.168.56.102 server02.hadoop.com

# Added by Docker Desktop

192.168.0.198 host.docker.internal

192.168.0.198 gateway.docker.internal

# To allow the same kube context to work on the host and the container:

127.0.0.1 kubernetes.docker.internal

# End of section

 

그리고 server01, server02  모두 호스트 네트워크 관리자 Virtualbox Host-Only Ethernet Adapter #2 에 연결한 상태이고, 어뎁터 설정과 DHCP 설정은 다음과 같이 했습니다.

가동하지않음 bigdata Hadoop 데이터 엔지니어링 Kafka redis Flume ZooKeeper Impala

답변 1

1

Big.D

안녕하세요! 빅디 입니다.

Server02에선 CM이 기동 되지 않는게 맞습니다.

CM서버는 Server01에만 설치되어 있기때문에, 아래 Start 명령은 실행 되지 않는게 정상이고요..

$ service cloudera-scm-server start

그리고 yum 명령 관련해선 아래명령으로 mirrorlist 위치를 변경해 주세요~ 

$ echo "http://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt
$ echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
$ echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt

- 빅디 드림

주제영역3 데이타 조회 문의

0

40

2

환경 세팅 후 클라우데라매니저 삭제시

0

64

2

수강 기간 연장 부탁드립니다ㅠ

0

59

2

클라우데라 매니저 접속 불가 및 로그인 정보 문의

0

87

2

gcc 설치 에러

0

117

3

클러스터 설정 오류

0

90

2

클라우데라 클러스터 설치로 안넘어가짐

0

119

2

버추어박스 5.0 설치

0

141

2

워크플로우 예약 실행시 테이블은 생성되는데 데이터가 들어가지지 않습니다.

0

79

2

Hue 500 Error 어떻게 해결할 수 있나요?

0

149

3

환경세팅 질문있습니다.

0

107

2

버쥬얼박스

0

76

2

호스트 불량 문제에 관하여

0

110

2

하이브쿼리에서 에러가 나요...

0

169

3

하이브쿼리에서 에러

0

120

1

Hbase에 적재된 데이터 확인시 에러

0

147

2

파이썬 설치 시 에러

0

159

2

redis-cli 데이터 적재 확인

0

143

2

카프카 토픽 생성에서 에러

0

139

2

HDFS 명령어를 치는데 오류가 납니다

0

135

2

가상환경 내보내기

0

109

1

SpoolDIR 폴더로 옮기

0

104

2

cpu usage 에러

0

114

2

쿼리 실행시 10000 에러

0

122

2