This is an automated email from the ASF dual-hosted git repository.
mpercy pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/flume.git
The following commit(s) were added to refs/heads/trunk by this push:
new fcdd9e2 Update User Guide In Hive Sink and Hdfs Sink
fcdd9e2 is described below
commit fcdd9e21c7ab9ab3d4007c802c12404d876e9e73
Author: zhulinhai <[email protected]>
AuthorDate: Tue Apr 16 22:03:27 2019 +0800
Update User Guide In Hive Sink and Hdfs Sink
---
flume-ng-doc/sphinx/FlumeUserGuide.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flume-ng-doc/sphinx/FlumeUserGuide.rst
b/flume-ng-doc/sphinx/FlumeUserGuide.rst
index cccb028..2150041 100644
--- a/flume-ng-doc/sphinx/FlumeUserGuide.rst
+++ b/flume-ng-doc/sphinx/FlumeUserGuide.rst
@@ -2565,7 +2565,7 @@ Example for agent named a1:
a1.sinks.k1.hive.metastore = thrift://127.0.0.1:9083
a1.sinks.k1.hive.database = logsdb
a1.sinks.k1.hive.table = weblogs
- a1.sinks.k1.hive.partition = asia,%{country},%y-%m-%d-%H-%M
+ a1.sinks.k1.hive.partition = asia,%{country},%Y-%m-%d-%H-%M
a1.sinks.k1.useLocalTimeStamp = false
a1.sinks.k1.round = true
a1.sinks.k1.roundValue = 10
@@ -4280,7 +4280,7 @@ Example for agent named a1:
a1.sinks.k1.type = hdfs
a1.sinks.k1.channel = c1
- a1.sinks.k1.hdfs.path = /flume/events/%y-%m-%d/%H%M/%S
+ a1.sinks.k1.hdfs.path = /flume/events/%Y-%m-%d/%H%M/%S
a1.sinks.k1.serializer = avro_event
a1.sinks.k1.serializer.compressionCodec = snappy