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

Chang Zong commented on FLUME-2545:
-----------------------------------

The recent version seems doesn't have this problem. When you restart agent 
while writing data into a .tmp file, the file will be rolled up automatically.

> How to convert *.bz2.tmp to *.bz2 file after restating the instance
> -------------------------------------------------------------------
>
>                 Key: FLUME-2545
>                 URL: https://issues.apache.org/jira/browse/FLUME-2545
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: 1.4.0
>            Reporter: Arun Gujjar
>            Priority: Critical
>
> Hi,
> Whenever we restart flume agent it creates a new HDFS file and start writing 
> the data into that file. The earlier file which was created will still be 
> left as *bz2.tmp and from HIVE queries we found that we were not able to read 
> the data from this file. 
> Here are the two questions I have .
> 1. Could you please suggest how we can convert this bz2.tmp to bz2 file? 
> because we loose this data i.e. present in bz2.tmp file today. 
> 2. Is there as way to configure flume to start writing the data into the 
> existing bz2.tmp file instead of creating a new file?
> 3. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to