Hello,
I am new to Riak.
My question is When I try to create a bucket its gives me the message :
(participate in the frantic).
$curl -v -X PUT -H "content-type : text/plain" $RIAK/riak/urvi3
The buckets gets created but when i run this command
$ curl -i $RIAK/riak?buckets=true
{"buckets":["urvashi","urvi","__riak_client_test__","images","people","goog"]}
It does not show me the new bucket name urvi3
But when I run
$ curl -i $RIAK/riak/urvi3
It shows me all the buckets properties
Also what does this message means :Server: MochiWeb/1.1 WebMachine/1.7.3
(participate in the frantic)
Please help!!
ps:
curl -v -X PUT -H "content-type : text/plain" $RIAK/riak/urvi3
* About to connect() to x.x.x.x port 8098
* Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8098
> PUT /riak/urvi3 HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
> OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: x.x.x.x:8098
> Accept: */*
> content-type : text/plain
>
< HTTP/1.1 400 Bad Request
< Server: MochiWeb/1.1 WebMachine/1.7.3 (participate in the frantic)
< Date: Thu, 22 Sep 2011 23:02:02 GMT
< Content-Type: text/plain
< Content-Length: 81
bucket PUT must be a JSON object of the form:
Connection #0 to host x.x.x.x left intact
* Closing connection #0
{"props":{...bucket properties...}}
[[email protected]]$ curl -i $RIAK/riak?buckets=true
HTTP/1.1 200 OK
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.7.3(participate in the frantic)
Link: </riak/urvashi>; rel="contained", </riak/urvi>; rel="contained",
</riak/__riak_client_test__>; rel="contained", </riak/images>; rel
="contained", </riak/people>; rel="contained", </riak/goog>; rel="contained"
Date: Thu, 22 Sep 2011 23:02:38 GMT
Content-Type: application/json
Content-Length: 78
{"buckets":["urvashi","urvi","__riak_client_test__","images","people","goog"]}
curl -i $RIAK/riak/urvi3
HTTP/1.1 200 OK
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.7.3(participate in the frantic)
Date: Thu, 22 Sep 2011 23:42:32 GMT
Content-Type: application/json
Content-Length: 369
{"props":{"name":"urvi3","n_val":3,"allow_mult":false,"last_write_wins":false,"precommit":[],"postcommit":[],"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"old_vclock":86400,"young_vclock":20,"big_vclock":50,"small_vclock":10,"r":"quorum","w":"quorum","dw":"quorum","rw":"quorum"}}
--
View this message in context:
http://riak-users.197444.n3.nabble.com/Need-basic-riak-help-tp3360474p3360474.html
Sent from the Riak Users mailing list archive at Nabble.com._______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com