GitHub user HeartSaVioR opened a pull request:
https://github.com/apache/storm/pull/2005
STORM-2414 Skip checking ACL when clearing already removed blob from â¦
â¦local / HDFS blobstore
Syncing up blobs throws KeyNotFoundException when deleting blobs which are
already deleted from ZK.
Currently deleting blob requires pulling the latest change first to check
ACL. That makes sense, but in above case we already deleted the blob from ZK so
it just fails. We need to have "force delete" when request for deletion comes
from syncing up blobs.
* add new method: clearRemovedBlob
* skip checking ACL while deleting when blob is already removed from ZK
This patch is easy to be cherry-picked to master and 1.0.x branches as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HeartSaVioR/storm STORM-2414-1.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2005.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2005
----
commit d0ef90e24d567ccb87c5de545f5478a17e37f68e
Author: Jungtaek Lim <[email protected]>
Date: 2017-03-15T03:47:14Z
STORM-2414 Skip checking ACL when clearing already removed blob from local
/ HDFS blobstore
* add new method: clearRemovedBlob
* skip checking ACL while deleting when blob is already removed from ZK
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---