[ 
https://issues.apache.org/jira/browse/FLUME-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279459#comment-13279459
 ] 

[email protected] commented on FLUME-1213:
------------------------------------------------------



bq.  On 2012-05-19 05:16:01, Arvind Prabhakar wrote:
bq.  > 
flume-ng-core/src/main/java/org/apache/flume/formatter/output/BucketPath.java, 
line 240
bq.  > <https://reviews.apache.org/r/5166/diff/1/?file=109655#file109655line240>
bq.  >
bq.  >     This timestamp will be 0 valued if rounding is disabled. A few test 
cases to make sure that the BucketPath is resolving the paths correctly would 
be a great help.

Ah, good catch! Thanks! Will fix it.


bq.  On 2012-05-19 05:16:01, Arvind Prabhakar wrote:
bq.  > 
flume-ng-core/src/main/java/org/apache/flume/tools/TimestampRoundDownUtil.java, 
line 26
bq.  > <https://reviews.apache.org/r/5166/diff/1/?file=109656#file109656line26>
bq.  >
bq.  >     A brief javadoc on what the utility functions accept and return 
would be great.

Will do.


bq.  On 2012-05-19 05:16:01, Arvind Prabhakar wrote:
bq.  > 
flume-ng-core/src/main/java/org/apache/flume/tools/TimestampRoundDownUtil.java, 
line 60
bq.  > <https://reviews.apache.org/r/5166/diff/1/?file=109656#file109656line60>
bq.  >
bq.  >     Internally Calendar uses long timestamp, so would preferable to call 
cal.setTimeInMillis(timestamp) instead.

Done!


- Hari


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5166/#review7987
-----------------------------------------------------------


On 2012-05-19 02:36:22, Hari Shreedharan wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/5166/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-05-19 02:36:22)
bq.  
bq.  
bq.  Review request for Flume.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Created a utility that does the rounding. 
bq.  
bq.  
bq.  This addresses bug FLUME-1213.
bq.      https://issues.apache.org/jira/browse/FLUME-1213
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    
flume-ng-core/src/main/java/org/apache/flume/formatter/output/BucketPath.java 
da80545 
bq.    
flume-ng-core/src/main/java/org/apache/flume/tools/TimestampRoundDownUtil.java 
PRE-CREATION 
bq.    
flume-ng-core/src/test/java/org/apache/flume/tools/TestTimestampRoundDownUtil.java
 PRE-CREATION 
bq.    
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
 8ce2bac 
bq.  
bq.  Diff: https://reviews.apache.org/r/5166/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Added unit tests.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Hari
bq.  
bq.


                
> HDFS sink should allow bucketpath rounding down.
> ------------------------------------------------
>
>                 Key: FLUME-1213
>                 URL: https://issues.apache.org/jira/browse/FLUME-1213
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.2.0
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>             Fix For: v1.2.0
>
>


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

        

Reply via email to