프로젝트 주의 사항7: oracle-j2sdk1.7 installation failed.
클라우데라를 공부하면서 이것 저것 에러를 많이 만난다..휴...
이번 에러의 경우에는 jdk 를 클라우데라 에서 설치하다가 일어났었는데..
찾아보니깐..yum 에 문제가 있는 경우란다..
근데 생각해 보니깐...yum이 문제가 일어나는 경우에는..
1. 노드에서 설정한 ip 가 문제가 있거나
2. cache 때문에..이전 기록과 자꾸 충돌하는 경우인데..
나의 경우에는 2번인줄알고 주구 장창..cache 를 삭제하고 진행을 했었지만..위의 에러가 뜨길래 보니..
복제한 노드들 ip 설정을 제대로 안햇.....후..이런 기초적인 실수를..ㅠㅠ
우선 위 에러가 뜬 경우에는
첫번째로 내가 노드에 설정한 ip 들이 문제가 있나?? 살펴보고..
그 다음 이상이 없다면 yum cache 들을 한번 청소해보자
아래 이미지는 위 이미지 에러가 발쌩했을 때 대처법 중 하나이다
참고 링크:
Troubleshooting Installation and Upgrade Problems | 5.12.x | Cloudera Documentation
It is possible to install, uninstall, and reinstall CDH and Cloudera Manager. In certain cases, this does not complete as expected. If you install Cloudera Manager 5 and CDH 5, then uninstall Cloudera Manager and CDH, and then attempt to install CDH 4 and
docs.cloudera.com
https://blueray21.tistory.com/41
[CentOS] Clean yum cache
Clean yum cache [root@centos ~]$ yum clean all [root@centos ~]$ yum clean metadata [root@centos ~]$ rm -rf /var/cache/yum/* [root@centos ~]$ yum check-udpate
blueray21.tistory.com