본문 바로가기 메뉴 바로가기

구티

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

구티

검색하기 폼
  • 분류 전체보기 (172)
    • General (4)
    • MacOS (9)
    • Jenkins (3)
    • Linux (18)
    • Elastic Stack (19)
    • Spring (31)
    • Geography (1)
    • Tools (27)
    • GIT (1)
    • Gradle (8)
    • Java (16)
    • Prometheus & Grafana (0)
    • Spark & Scala (7)
    • Hadoop (1)
    • Synology (1)
    • Backend (3)
    • Cloud Platform (10)
      • AWS (10)
    • Web (0)
    • Frontend (3)
      • material-ui (1)
      • ReactJS (0)
    • Docker (5)
    • Database (3)
  • 방명록

remove (1)
[ Spark & Scala ] File, Folder 삭제

import org.apache.hadoop.fs.{FileSystem, Path} val fs = FileSystem.get(sc.hadoopConfiguration) val outPutPath = new Path("/path/to/folder") if (fs.exists(outPutPath)) fs.delete(outPutPath, true)FileSystem 을 사용하여 파일 또는 폴더를 삭제 할 수 있다.

Spark & Scala 2020. 4. 6. 08:25
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • error
  • Git
  • Container
  • Filter
  • tomcat
  • scala
  • Linux
  • AWS
  • elasticsearch
  • intellij
  • maven
  • Java
  • Postman
  • JSON
  • logstash
  • spring
  • apm
  • Kibana
  • Size
  • install
  • docker
  • mac
  • Log
  • gradle
  • SpringBoot
  • plugin
  • JPA
  • Index
  • spring boot
  • Spark
more
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바