eunhyeeechoi / Hadoop

0 stars 0 forks source link

<hdfs 에 데이터 업로드> #4

Open eunhyeeechoi opened 3 years ago

eunhyeeechoi commented 3 years ago
  1. 공통 폴더에 데이터 업로드
  2. 공통 폴더에 있는 데이터 hdfs 하위 디렉토리 생성 후 옮기기 sudo mv /media/sf_mywork/reser.csv /home/hadoop/mywork sudo chmod 777 reser.csv
eunhyeeechoi commented 3 years ago
  1. table 을 csv 로 꺼냄 df1.write.csv("/user/myspark/com_concept") image

df2.write.csv("/user/myspark/com_place") image