You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by Stefan Krawczyk <st...@nextdoor.com> on 2015/02/03 23:46:37 UTC

HDFS Sink fails to rename file in Flume 1.4

Hi Fellow Flume Users,

I'm noticing that we get some "stranded" files in S3 that never get renamed
from .tmp to .txt.

Questions:
1) has this problem been fixed in 1.5, I see some jiras that might address
the problem, but none are quite that descriptive for me to figure that out?
2) if this hasn't been addressed, is there a bug for it that I can track?

Otherwise any tips or advice appreciated.

Cheers,

Stefan

Re: HDFS Sink fails to rename file in Flume 1.4

Posted by Hari Shreedharan <hs...@cloudera.com>.
I don’t think there is a fixed timeline yet. But I think we can start working on it soon. 




Thanks, Hari

On Tue, Feb 3, 2015 at 3:12 PM, Stefan Krawczyk <st...@nextdoor.com>
wrote:

> Yes I have some logs, but they don't show any errors as far as I can tell;
> in comparison to other files, the log statement that the file is being
> renamed is missing.
> Do you have something in particular I should look for?
> What's the timeline for 1.6 at this stage?
> Cheers,
> Stefan
> On Tue, Feb 3, 2015 at 2:49 PM, Hari Shreedharan <hs...@cloudera.com>
> wrote:
>> Do you have some logs around the time the rename does not happen? We
>> recently pushed a workaround for this - when HDFS is unable to close the
>> file, we were not renaming it. But since the data is safe (it is hflushed
>> anyway), we decided to change that and rename the file anyway:
>> https://issues.apache.org/jira/browse/FLUME-2586
>>
>>
>> Thanks,
>> Hari
>>
>>
>> On Tue, Feb 3, 2015 at 2:48 PM, Stefan Krawczyk <st...@nextdoor.com>
>> wrote:
>>
>>> Hi Fellow Flume Users,
>>>
>>> I'm noticing that we get some "stranded" files in S3 that never get
>>> renamed from .tmp to .txt.
>>>
>>> Questions:
>>> 1) has this problem been fixed in 1.5, I see some jiras that might
>>> address the problem, but none are quite that descriptive for me to figure
>>> that out?
>>> 2) if this hasn't been addressed, is there a bug for it that I can track?
>>>
>>> Otherwise any tips or advice appreciated.
>>>
>>> Cheers,
>>>
>>> Stefan
>>>
>>
>>

Re: HDFS Sink fails to rename file in Flume 1.4

Posted by Stefan Krawczyk <st...@nextdoor.com>.
Yes I have some logs, but they don't show any errors as far as I can tell;
in comparison to other files, the log statement that the file is being
renamed is missing.
Do you have something in particular I should look for?

What's the timeline for 1.6 at this stage?

Cheers,

Stefan

On Tue, Feb 3, 2015 at 2:49 PM, Hari Shreedharan <hs...@cloudera.com>
wrote:

> Do you have some logs around the time the rename does not happen? We
> recently pushed a workaround for this - when HDFS is unable to close the
> file, we were not renaming it. But since the data is safe (it is hflushed
> anyway), we decided to change that and rename the file anyway:
> https://issues.apache.org/jira/browse/FLUME-2586
>
>
> Thanks,
> Hari
>
>
> On Tue, Feb 3, 2015 at 2:48 PM, Stefan Krawczyk <st...@nextdoor.com>
> wrote:
>
>> Hi Fellow Flume Users,
>>
>> I'm noticing that we get some "stranded" files in S3 that never get
>> renamed from .tmp to .txt.
>>
>> Questions:
>> 1) has this problem been fixed in 1.5, I see some jiras that might
>> address the problem, but none are quite that descriptive for me to figure
>> that out?
>> 2) if this hasn't been addressed, is there a bug for it that I can track?
>>
>> Otherwise any tips or advice appreciated.
>>
>> Cheers,
>>
>> Stefan
>>
>
>

Re: HDFS Sink fails to rename file in Flume 1.4

Posted by Hari Shreedharan <hs...@cloudera.com>.
Do you have some logs around the time the rename does not happen? We recently pushed a workaround for this - when HDFS is unable to close the file, we were not renaming it. But since the data is safe (it is hflushed anyway), we decided to change that and rename the file anyway: https://issues.apache.org/jira/browse/FLUME-2586






Thanks, Hari

On Tue, Feb 3, 2015 at 2:48 PM, Stefan Krawczyk <st...@nextdoor.com>
wrote:

> Hi Fellow Flume Users,
> I'm noticing that we get some "stranded" files in S3 that never get renamed
> from .tmp to .txt.
> Questions:
> 1) has this problem been fixed in 1.5, I see some jiras that might address
> the problem, but none are quite that descriptive for me to figure that out?
> 2) if this hasn't been addressed, is there a bug for it that I can track?
> Otherwise any tips or advice appreciated.
> Cheers,
> Stefan