[ 
https://issues.apache.org/jira/browse/FLUME-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard updated FLUME-3331:
---------------------------
    Description: 
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-52-23-366.png!

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

I think the right example is

’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'

  was:
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-52-23-366.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‘


> 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
>            Priority: Major
>         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, 
> image-2019-04-18-11-52-23-366.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-52-23-366.png!
> !image-2019-04-18-11-29-46-712.png!
> I think the right example is
> ’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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to