|
|
HFS Sink |
1001,John,5000 1002,Mary,7000
hgrid247-#####
Example:
hgrid247-00000
hgrid247-00001
hgrid247-#####-YYMMDD
Example:
hgrid247-00000-180503
hgrid247-00001-180503
hgrid247-#####-YYMMDDHH
Example:
hgrid247-00000-18050309
hgrid247-00001-18050311
hgrid247-#####-YYMMDDHHMI
Example:
hgrid247-00000-1805030950
hgrid247-00001-1805031150
hgrid247-#####-YYMMDDHHMISS
Example:
hgrid247-00000-180503095020
hgrid247-00001-180503115030
country
Result:
/output/USA/
/output/JAPAN/
/output/INDONESIA/
2025-03-06
Splitter:
-
Result:
2025 | 03 | 06
2025-03-06
Splitter:
-
Split result:
[0] 2025
[1] 03
[2] 06
If Index = 0, the partition will be:
/output/2025/
id,name,amount
1001,John,5000
1002,Mary,7000
id|name|amount
Window Length = 60 seconds
Output file will be generated every 1 minute.
Rollover Interval = 300 seconds
A new file is created every 5 minutes.
Max Part Size = 134217728 bytes (128 MB)
If the file reaches this size, a new file will be created automatically.| Map Reduce |
Spark 1.x RDD |
Spark 2.x RDD |
Spark 2.x Dataset |
Apache Beam 2.29.0 Batch |
Apache Beam 2.29.0 Streaming |
Apache Flink 1.12.0 Batch |
Apache Flink 1.12.0 Streaming |
Apache Tez 0.9.1 |
PySpark |
|---|---|---|---|---|---|---|---|---|---|