apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinmay Kolhatkar <chin...@datatorrent.com>
Subject Re: hdfs output file operator
Date Sat, 23 Jul 2016 05:11:30 GMT
Hi Raja,

I can see such a log message in AbstractFileOutputOperator at line 455.

As this code is called from setup of the operator, the operator is getting
deployed and then failing while restoring existing file because of mismatch
in length of the file and the offset the operator has stored previously.

>From the code it looks like it takes care of such cases and restores the

>From what I understand either the file got changes by some other way or the
offset management has a problem.

Are you restarting the application from previous application Id?

To narrow down the problem, can you please try to change the destination
path and see if that works?


On Sat, Jul 23, 2016 at 5:00 AM, Sandesh Hegde <sandesh@datatorrent.com>

> Please check,
>          1. AppMaster logs
>          2. Cluster resources
> On Fri, Jul 22, 2016 at 1:14 PM Raja.Aravapalli <
> Raja.Aravapalli@target.com> wrote:
>> Hi,
>> I have File output operator which writes to hdfs files!!
>> Application is trying to deploy the operator which writes to hdfs files
>> in many different containers for a long timeā€¦ but is not succeeding!!!
>> Status is showing as PENDING_DEPLOY
>> In the logs of the container which the Application is trying to deploy
>> hdfs write operator, I can only see, path corrupted!!
>> Can someone please guide or suggest me on this ?
>> Regards,
>> Raja.

View raw message