You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flume.apache.org by "Richard (JIRA)" <ji...@apache.org> on 2019/04/18 03:32:00 UTC

[jira] [Created] (FLUME-3331) Update User Guide In Hive Sink and Hdfs Sink

Richard created FLUME-3331:
------------------------------

             Summary: Update User Guide In Hive Sink and Hdfs Sink
                 Key: FLUME-3331
                 URL: https://issues.apache.org/jira/browse/FLUME-3331
             Project: Flume
          Issue Type: Bug
            Reporter: Richard
         Attachments: image-2019-04-18-11-29-25-530.png, image-2019-04-18-11-29-46-712.png, image-2019-04-18-11-30-11-260.png

As the user guide doc describe.
|%y|last two digits of year (00..99)|
|%Y|year (2010)|

but

!image-2019-04-18-11-29-25-530.png!

!image-2019-04-18-11-29-46-712.png!

!image-2019-04-18-11-30-11-260.png!

I think the right example is

'a1.sinks.k1.hdfs.path = /flume/events/%Y-%m-%d/%H%M/%S'

’a1.sinks.k1.hive.partition = asia,%\{country},%Y-%m-%d-%H-%M‘

’a1.sinks.k1.hdfs.path = /flume/events/%Y-%m-%d/%H%M/%S‘



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@flume.apache.org
For additional commands, e-mail: issues-help@flume.apache.org