Re: Is it a good practice to make riak a service and automatically start when the machine starts?

2014-08-19 Thread Gavin Huang
thout > all its nodes up, we've had people who forgot to start Riak nodes and never > noticed they were down for weeks. This is good in that Riak can take it, > but not very awesome when you do bring it up and the node has a lot of > handoff work to do to catch up. > > -Jared >

Is it a good practice to make riak a service and automatically start when the machine starts?

2014-08-19 Thread Gavin Huang
Hi, We have a little uncertainty in our team about whether to have riak automatically start when machine get rebooted. It do bring us some convenient if riak can start by default when machine crashed for some reason, and automatically restart. but i was wondering is there any case that auto

Re: how to change bucket property when node is down

2014-05-28 Thread Gavin Huang
I'd like to ask another question about where do riak save bucket property in disk space. is it different from key/values? Thanks. Gavin On Wed, May 28, 2014 at 11:15 AM, Gavin Huang wrote: > Thanks Jordan, I've tried the first option and it works for me. > thanks again f

Re: how to change bucket property when node is down

2014-05-27 Thread Gavin Huang
#x27;t tried, is to temporarily disable active > anti-entropy (the subsystem where the error seems to be coming from), until > you've had a chance to make the fix. > > Jordan > > > On Fri, May 23, 2014 at 9:47 PM, Gavin Huang wrote: > >> Hi, Alexander >> &

Re: how to change bucket property when node is down

2014-05-23 Thread Gavin Huang
Hi, Alexander Thanks for your reply. the problem I have is riak is down and can not server any requests. I'd like to see if there a solution to "repair" bucket, if the bucket properties are stored in a file in some where. Thanks. Gavin On Sat, May 24, 2014 at 1:52 AM, agrytsenko wrote: > just

how to change bucket property when node is down

2014-05-23 Thread Gavin Huang
Hi, All I encountered a problem which is exactly same as http://riak-users.197444.n3.nabble.com/Riak-cluster-all-nodes-down-td4029168.html that is i set the n_val to "3" instead of 3. it made my three riak nodes went down, as this post mentioned, how can I change this bucket property back to 3 w

Re: auto-apply different backend config via bucket name prefix

2014-05-08 Thread Gavin Huang
_cs_kv_multi_backend}, > > -- > Luke Bakken > CSE > lbak...@basho.com > > > > On Wed, Apr 30, 2014 at 2:21 AM, Gavin Huang > wrote: > > Hi, > > > > I know that Riak2 delivered a new feature of bucket type, buckets with > same > > bucket

auto-apply different backend config via bucket name prefix

2014-04-30 Thread Gavin Huang
Hi, I know that Riak2 delivered a new feature of bucket type, buckets with same bucket type will have same bucket properties and different bucket type can have different bucket properties. however, since Riak2 is still on it's beta version, so think may be I should wait for a while before stable v

Re: Riak CS file upload

2014-01-21 Thread Gavin Huang
Hi, Hari I'm actually doing the same thing. you may notice that partialUploadRequest take a inputstream as content source, so you can set request.getInputStream into it. Thanks. Gavin On Tue, Jan 21, 2014 at 5:34 AM, harish vadali wrote: > Hi All, > > I am using Amazon's S3 SDK to upload a fil

Time to live of uploadId in RiakCS

2013-12-30 Thread Gavin Huang
Hi, I got a question regarding RiakCS's uploadId expire time. if I started an upload and then upload some of parts. for some reason user drop out the upload (don't abort the upload). then how long will this uploadId still be valid for user to upload rest of parts of the file? Thanks. Gavin _

Re: RiakCS usage data not found

2013-12-11 Thread Gavin Huang
6 > > A pull request for the issue has been supplied and will be in the next > release: > > https://github.com/basho/riak_cs/pull/747 > > -- > Hector > > > On Wed, Dec 11, 2013 at 5:22 AM, Gavin Huang > wrote: > > Thanks Hector > > I actually di

Re: RiakCS usage data not found

2013-12-11 Thread Gavin Huang
000Z > > Also, here is a script I wrote up to access usage and storage > statistics with `s3cmd`: > > https://gist.github.com/hectcastro/126b5657f228096775c6 > > -- > Hector > > > On Mon, Dec 9, 2013 at 1:25 AM, Gavin Huang > wrote: > > BTW,

Re: RiakCS usage data not found

2013-12-08 Thread Gavin Huang
"x-rcs-rewrite-path",{"x-rcs-rewrite-path","/riak-cs/usage/GRRYE2NHIXTNPFP89NMJ/abj/20131210T00Z/20131210T16Z"},nil,nil}}} On Mon, Dec 9, 2013 at 10:50 AM, Gavin Huang wrote: > Hi, > I'm trying to get the usage and access statistics from Ria

RiakCS usage data not found

2013-12-08 Thread Gavin Huang
Hi, I'm trying to get the usage and access statistics from Riak-CS. I configured "storage_schedule"(restarted riak-cs), I manually start riak-cs-storage (it takes a while first time, but getting more quick afterwards). I tried to access the storage via s3cmd: s3cmd get s3://riak-cs/usage/[adminkey

Make bucket really "Public"

2013-12-04 Thread Gavin Huang
Hi, all I'm wondering is there any way to make a bucket in Riak-CS "public-write"? i tried to call s3cmd: s3cmd setacl --acl-public s3://test-bucket/ but it only make bucket's read public: s3cmd info s3://test-bucket Location: any ACL: foobar: FULL_CONTROL ACL: *anon*: READ

ACL number limitation does not exist?

2013-12-03 Thread Gavin Huang
Hi, I'm reading through the RiakCS documents about ACL, it said: "Each bucket and object will have an ACL associated with it." and "An ACL can have up to 100 grants." for me, it seems to means that there will only be up to 100 users to be able to do operation against one bucket (while for a cer

Riak CS does not release disk space after deleting an object

2013-11-22 Thread Gavin Huang
Hi, I setup an one-node Riak CS instance. I try to upload an file with 200M, when doing multipart upload, I can see the disk space usage is keep growing (du -h), as expected this object takes 3 times of file size. but after I delete this object, disk space seems not been released. any body know why