티스토리 뷰

공부

[HDFS] update file (get & put))

seunggabi 승가비 2021. 2. 25. 12:41
hdfs dfs -get /user/hduser/myfile.txt

vi myfile.txt #or use any other tool and modify it

hdfs dfs -put -f myfile.txt /user/hduser/myfile.txt

stackoverflow.com/questions/39130092/how-to-update-a-file-in-hdfs

 

How to update a file in HDFS

I know that HDFS is write once and read many times. Suppose if i want to update a file in HDFS is there any way to do it ? Thankyou in advance !

stackoverflow.com

 

댓글
댓글쓰기 폼