2012-01-11 3 views
0

돼지 패키지를 설치하기 전에 Hadoop을 설치해야합니다. 하둡 나는 태양 java6-jdk를 설치하려면 다음 명령을 실행하려고 installation.So 작업 자바 1.6.x 이상인 필요돼지 패키지 설치

$ sudo apt-get install sun-java6-jdk 

을하지만 난 문제가 내가 다른 패키지를 설치하려고이 오류를 얻을 수

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate trans.unauthenticated = self._simulate_helper(trans) File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper return depends, self._cache.required_download, \ File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn't able to locate a file for the sun-java6-bin package. This might mean you need to manually fix this package.

어떻게이 문제를 해결하기 위해? 도움을 주셔서 감사합니다

+0

아마 당신이 하둡이 설치되어 싶어? –

답변

0

아마도 Pig를 실행하는 데 필요한 Hadoop을 (올바르게) 설치하지 않았 음을 의미합니다.

테스트/개발을 위해 단일 노드에 설치 한 다음 클러스터에 액세스 할 수 있으면 클러스터에 배포 할 수 있습니다.

가이드 (단일 또는 클러스터 중 하나) 하둡을 설치하려면 :

http://hadoop.apache.org/common/docs/stable/single_node_setup.html

http://hadoop.apache.org/common/docs/stable/cluster_setup.html