wangxujin1221 edited a comment on issue #3921:
URL: https://github.com/apache/iceberg/issues/3921#issuecomment-1017032910
>
Hi @RussellSpitzer , thanks for your reply. The purpose of herre is
accumulating all the records into a LinkedBlockQueue. Actually when i use year
or month as the partion rules, it worked and without error above. And i also
tried with code like:
```
dataset.foreachPartition(par ->{
par.forEachRemaining(row ->{
try{
OUTPUT_LIST.put(row);
}catch(InterruptedException e){
logger.error("iceberg records caching failed in
LinkedBlockingQueue.",e);
}
});
});
```
But i still got this error. I don't know whether this error relatted to the
total number of files of the hive table. Tables partioned by year or bucket
only have 0.5k where table partioned by day has 73k. Or do you think is it
possible that the error is relatted to the configurantion of my server, e.g.
ulimit things or something like that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]