GitHub user fuhuaiyong opened a pull request: https://github.com/apache/flume/pull/273
FLUME-3311 Update User Guide In HDFS Sink As the doc describe. %y last two digits of year (00..99) %Y year (2010) BUT there is somthing wrong in 'a1.sinks.k1.hdfs.path = /flume/events/%y-%m-%d/%H%M/%S' I think the right example is 'a1.sinks.k1.hdfs.path = /flume/events/%Y-%m-%d/%H%M/%S' You can merge this pull request into a Git repository by running: $ git pull https://github.com/fuhuaiyong/flume flume-1.8 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flume/pull/273.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #273 ---- commit 7ca536b9efd116dd7b1da97c1934fe2c2264b802 Author: fuhuaiyong <fuhuaiyong123@...> Date: 2019-01-04T09:12:17Z FLUME-3311 Update User Guide In HDFS Sink As the doc describe. %y last two digits of year (00..99) %Y year (2010) BUT there is somthing wrong in 'a1.sinks.k1.hdfs.path = /flume/events/%y-%m-%d/%H%M/%S' I think the right example is 'a1.sinks.k1.hdfs.path = /flume/events/%Y-%m-%d/%H%M/%S' ---- ---