On Wed, Aug 8, 2012 at 1:22 PM, Mark Volkmann <[email protected]>wrote:

> I have a bucket named "users".
> When I run "curl http://localhost:8091/riak/users";, I get
> {
>   "props": {
>   . . .
>     "precommit": [      {
>         "mod": "riak_search_kv_hook",
>         "fun": "precommit"
>       }
>     ],
>     . . .
>   }
> }
>
> I have four nodes in my cluster. For each one I cd to the bin directory of
> the cluster and enter "./search-cmd uninstall users". Then I rerun the
> command above to see the properties of the user bucket and it still has the
> same precommit hook!
>
> What do I need to do to remove that?
>

I still don't know why "./search-cmd uninstall users" doesn't work, but I
found another way to remove the pre-commit hook.

curl http://localhost:8091/riak/{bucket-name} | apto json > props.json
# edit props.jsoncurl -XPUT http://localhost:8091/riak/{bucket-name}
-H "Content-Type: application/json" -d @props.json

-- 
R. Mark Volkmann
Object Computing, Inc.
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to