Urvi, That message is just a little bit of text that appears as part of the server description and hence you can ignore it.
In Riak, you can't create Buckets. Buckets are not an entity, they are just used in conjunction with the Key to create a hash that identifies the document/object you're storing. Just PUT a document to /riak/bucket/key and the bucket will "exist" at that point. Remember that if you're going to PUT or POST you'll need to send it some content (using the -d or --data-binary flags in CURL). Hope that helps OJ On 23 September 2011 09:45, urvi <[email protected]> wrote: > 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...}} > > > [[hidden email] <http://user/SendEmail.jtp?type=node&node=3360474&i=0>]$ > 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: Need basic riak > help<http://riak-users.197444.n3.nabble.com/Need-basic-riak-help-tp3360474p3360474.html> > Sent from the Riak Users mailing list > archive<http://riak-users.197444.n3.nabble.com/>at Nabble.com. > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- OJ Reeves http://buffered.io/
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
