R-bigData 분석도구
하둡 명령어 - hdfs에 파일 넣기
보이머
2014. 8. 20. 11:24
하둡 명령어
hadoop fs -put localfile /user/hadoop/hadoopfile
hadoop fs : 하둡 명령어 시작 알림
-put : 파일을 hdfs에 저장하는 명령어
localfile : 넣을 파일
/user/hadoop/hadoopfile : 파일을 둘 위치
hadoop fs -put test.txt /
나같은 경우는 txt 파일을 기본 경로에 두고 싶었음.