celina의 이것저것

[Hadoop] 본문

대학생활/빅데이터

[Hadoop]

celinayk 2024. 4. 2. 14:41
반응형

2.10.2 버전으로 다시 깔고

설정 처음부터 똑같이 하면되는데

jps눌러서 datanode랑 secondary 가 안뜨면

jps로 아무것도 없는 상태에서

rm -rf /tmp/hadoop-root 삭제하고

다시

hdfs nammenode -format

start-dfs.sh 하면됨

 

------------------------------------------------------------

 

https://hadoop.apache.org/docs/r2.10.2/hadoop-project-dist/hadoop-common/SingleCluster.html

 

Apache Hadoop 2.10.2 – Hadoop: Setting up a Single Node Cluster.

<!--- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a

hadoop.apache.org

hdfs dfs -copyFromLocal ratings.csv /test/

hdfs dfs -ls /test/

hdfs dfs -cat /test/ratings.csv

'대학생활 > 빅데이터' 카테고리의 다른 글

[HBase]  (0) 2024.04.16
[Hadoop] wordcount  (9) 2024.04.04
[Hadoop]  (0) 2024.03.28
[Kafka] 영화 데이터 전달  (0) 2024.03.19
[Kafka] produer와 consumer  (2) 2024.03.19
Comments