hdfs-outputtxt
Write a text file to the specified path in Apache Hadoop HDFS.
hdfs-outputtxt [profile=PROFILE] [append=t] [flush=TIME_SPAN] path=PATH
- profile=PROFILE
- Connect profile name of HDFS
- append=t
- Specify 't' to append lines to the end of the file.
- flush=TIME_SPAN
- Cycle to flush the output buffer to the file specified as FILE_PATH and flush buffer. You can use one of the cycle units of y (year), mon (month), w (week), d (day), h (hour), m (minute), and s (second). For example, to flush the buffer every 5 seconds, specify 5s.
- path=PATH
- HDFS path