[ 
https://issues.apache.org/jira/browse/KNOX-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445688#comment-16445688
 ] 

Phil Zampino edited comment on KNOX-1253 at 4/20/18 1:22 PM:
-------------------------------------------------------------

With Knox in the cluster with ZooKeeper, the ZooKeeper interactions are much 
more responsive. When a request is made to delete a provider config, Knox (if 
configured for remote config monitoring) will delete the remote record, then 
subsequently delete the local file. In this case, Knox receives the 
notification of the remote deletion before it attempts to delete the local 
file. When the local file deletion is attempted, it fails because it no longer 
exists (because the remote notification has already triggered the local 
deletion), and the API reports that it could not be deleted.


was (Author: pzampino):
With Knox in the cluster with ZooKeeper, the ZooKeeper interactions are much 
more responsive. When a request is made to delete a provider config, Knox (if 
configured for remote config monitoring) will delete the remote record, then 
subsequently delete the local file. In this case, Knox receives the 
notification of the remote deletion before it attempts to delete the local 
file. When the local file deletion is attempted, it fails because it no longer 
exists, and the API reports that it could not be deleted.

> [Admin-ui] Deleting an un referenced provider file gives wrong message on UI
> ----------------------------------------------------------------------------
>
>                 Key: KNOX-1253
>                 URL: https://issues.apache.org/jira/browse/KNOX-1253
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: AdminUI
>    Affects Versions: 0.14.0
>            Reporter: J.Andreina
>            Assignee: Phil Zampino
>            Priority: Major
>             Fix For: 1.1.0
>
>
> On deleting a un referenced provider file (test-provider) , on UI it displays 
> a message saying
> {noformat}
> "Cannot remove test-provider because it is referenced by one or more 
> descriptors"
> {noformat}
> But on background the provider file is deleted and on refreshing the page , 
> the file does not exist .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to