본문 바로가기
컴퓨터/공부

하둡 - 이클립스 메이븐 설치

by 싱판다 2017. 7. 21.


7/21 이 문제로 벌써 6일째여..ㅠ.



* 참고 사이트

메이브 원격 관련

https://www.lesstif.com/display/JAVA/maven+deploy+plugin

http://www.hyoyoung.net/68

http://ecogeo.tistory.com/79

http://blog.acronym.co.kr/332


아마도 사용하기 위하여 pom.xml 에 추가하면 자동으로 설치가 가능한 듯 싶다.



but... 오류 남


오류 수정

- <project> 태그에 오류 발생 - 안지워짐..ㅠ

- 이클립스 실행시 오류 발생


오류 해결 해보자

버전 체크

- 하둡 버전 - 2.8.0

- maven 버전 - 3.5.0

- junit 버전 - 4.12

- mrunit 버전 - 1.1.0

- maven-compiler-plugin 3.6.1
<configuration>의 <source>와 <target>은 jdk 버전을 가리키는 것 같다
- maven-jar-plugin 버전


Run as -> maven clean

maven -> update project (alt + f5)


->  

Missing artifact org.apache.hadoop:hadoop.client:jar:2.8.0:compile

Missing artifact jdk.tools:jdk.tools:jar:1.8:system


Could not write metadata for '/RemoteSystemsTempFiles'.
C:\dev\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\RemoteSystemsTempFiles\.markers.snap (지정된 경로를 찾을 수 없습니다)

Build errors for Chapter2Exam; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project Chapter2Exam: Could not resolve dependencies for project Test.maven.hadoop:Chapter2Exam:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.apache.hadoop:hadoop.client:jar:2.8.0, jdk.tools:jdk.tools:jar:1.8: Failure to find org.apache.hadoop:hadoop.client:jar:2.8.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced


RemoteSystemsTempFiles 폴더 추가함


force update of snapshots/releases 를 포함한 4개를 체크


아 하둡 2장 얼렁 실습하고 싶다....



md5 우분투에서 확인할 때 md5sum으로




[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.6:deploy (default-cli) on project Chapter2Exam: The site does not exist, please run site:site first -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.


http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



* http://whiteship.tistory.com/1894

메이븐으로 원격 저장소에 라이브러리 배포하기



http://godlvkhj.tistory.com/194

이클립스에 원격서버 연결해서 ftp로 올리는 방법도 있다 ㅇㅅㅇ


'컴퓨터 > 공부' 카테고리의 다른 글

하둡 파일 데이터 읽기  (0) 2017.07.26
우분투 파이썬 설치  (0) 2017.07.24
7/23  (0) 2017.07.23
3장 하둡 분산 파일시스템  (0) 2017.07.19
2장 맵리듀스  (0) 2017.07.19

댓글