You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/10/28 06:54:55 UTC

[GitHub] quode opened a new pull request #6538: Issue# 6537 - Proposed fix for "Unable to rename" exceptions

quode opened a new pull request #6538: Issue# 6537 - Proposed fix for "Unable to rename" exceptions
URL: https://github.com/apache/incubator-druid/pull/6538
 
 
   My current Druid setup does batch ingestion of data, which uses "indexing-hadoop" tasks for ingestion. So I observe "Unable to rename ******" exception daily indexing tasks and frequency increases when I run data back-filling/correction tasks for some interval of say 1 month. So I came up with a fix by applying a logic that while creating a file on S3 for first time create it with expected name i.e. "index.zip" (in place of index.zip.0) and avoid rename(index.zip.0 -> index.zip) completely, because "create" part never fails but "rename" does intermittently. With this I did not came across "Unable to rename ******" exception so far (past 2 months - till date)
   
   It is possible that this proposed fix is not very broad sighted, but looking at HDFS API only part I think we should be able to avoid this annoying issue of "Unable to rename", which may arise despite one having all correct EC2, S3 permissions etc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org