Reputation: 428
I was wondering how can i delete all the items in the Couchbase bucket. I'm using java client.
I've tried to run client.flush()
method. Flush is enabled on bucket.
But it throws exception :
Exception in thread "Temporary Flusher" java.lang.RuntimeException: Http Error: 401 Reason: Unauthorized Details: No reason given
Upvotes: 4
Views: 5981
Reputation: 428
There is a bug in CouchBase Server 2.0. Use the ClusterManager class
with the Administrator credentials
Upvotes: 3