You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Juhani Connolly (JIRA)" <ji...@apache.org> on 2012/05/30 10:03:24 UTC
[jira] [Commented] (FLUME-1234) Can't use %P escape sequence for
bucket path of HDFS sink
[ https://issues.apache.org/jira/browse/FLUME-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285482#comment-13285482 ]
Juhani Connolly commented on FLUME-1234:
----------------------------------------
the code appears to use 'p' so the docs are wrong
case 'p':
formatString = "a";
break;
> Can't use %P escape sequence for bucket path of HDFS sink
> ---------------------------------------------------------
>
> Key: FLUME-1234
> URL: https://issues.apache.org/jira/browse/FLUME-1234
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.2.0
> Environment: CentOS 6.2 64-bit
> Reporter: Will McQueen
> Fix For: v1.2.0
>
>
> The %P escape char isn't printing anything when it's specified in an HDFS bucket path in the flume.conf file. For example:
> agent.sinks.k17.hdfs.path = hdfs://blah.example.com/blah-test-ch17-%P
> ...just creates the "/blah-test-ch17-" dir. But what was expected was either:
> /blah-test-ch17-am
> ...or...
> /blah-test-ch17-pm
> (at least, that's what I interpret as the correct behavior of %P when I see that the docs describe this escape sequence as "locale's equivalent of am or pm")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira