Help

2015-10-03 Thread Tyler Weir


> On Oct 3, 2015, at 12:00 PM, riak-users-requ...@lists.basho.com wrote:
> 
> Send riak-users mailing list submissions to
>riak-users@lists.basho.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> or, via email, send a message with subject or body 'help' to
>riak-users-requ...@lists.basho.com
> 
> You can reach the person managing the list at
>riak-users-ow...@lists.basho.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of riak-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Using Riak on systemd based Ubuntu (Matthew Brender)
>   2. Re: Riak CS - Unable to create/view bucket details using
>  dragon disk (G)
>   3. Riak Recap - October 2, 2015 (Matthew Brender)
>   4. Re: adding auth user not valid (Outback Dingo)
> 
> 
> --
> 
> Message: 1
> Date: Fri, 2 Oct 2015 12:01:44 -0400
> From: Matthew Brender 
> To: Matthew Hall 
> Cc: riak-users 
> Subject: Re: Using Riak on systemd based Ubuntu
> Message-ID:
>
> Content-Type: text/plain; charset=UTF-8
> 
> Hey Matthew,
> 
> It seems you ran into some documentation gaps that we should address.
> Please open up one or more of them on the docs repo when you can [1]
> 
> Could you restate what specifically someone can help you do?
> 
> [1] 
> https://github.com/basho/basho_docs/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+riak+cs
> 
> Thanks!
> Matt Brender | Developer Advocacy Lead
> Basho Technologies
> t: @mjbrender
> 
> 
>> On Wed, Sep 30, 2015 at 7:23 PM, Matthew Hall  wrote:
>> Hello List,
>> 
>> Today I tried to get the following items to work in Ubuntu 15.04 Vivid with
>> systemd based SysV compatibility to run the init scripts:
>> 
>> Riak 2.1.1
>> Stanchion 2.0.0
>> Riak CS 2.0.1
>> Riak CS Control 1.0.2
>> 
>> My app.config files are here for reference:
>> 
>> https://gist.github.com/megahall/676ca0410af4aacc4f74
>> 
>> When I attempted this, both Stanchion and Riak CS fail to stay running for 
>> the
>> 15 second expected time in the init scripts.
>> 
>> So I read through the "stanchion console" and "riak-cs console" output.
>> 
>> There were some backtraces there complaining about EACCES coming via 
>> mochiweb.
>> 
>> Upon modifying /usr/sbin/stanchion and /usr/sbin/riak-cs to add an strace -f
>> to track the system calls, I determined that there is an EACCES error raised
>> by attempting to bind some sub-process socket onto Port 80. It is hard to see
>> what sub-thread or sub-process exactly was the cause.
>> 
>> This is very confusing because none of my configuration mentions Port 80 at
>> all.
>> 
>> The configuration works OK in Ubuntu 14.10 without systemd. So now I am
>> wondering if anybody has figured out how to get it to work right inside of
>> systemd with some .service file examples and so on. It's really important for
>> the project I am trying to get done.
>> 
>> Thanks,
>> Matthew.
>> 
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> 
> --
> 
> Message: 2
> Date: Fri, 2 Oct 2015 09:35:03 -0700 (MST)
> From: G 
> To: riak-users@lists.basho.com
> Subject: Re: Riak CS - Unable to create/view bucket details using
>dragon disk
> Message-ID: <1443803703469-4033524.p...@n3.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hey Johan,
> 
> I have executed s3cmd with --debug option. 
> 
> Please find the output.
> 
> Test access with supplied credentials? [Y/n] Y
> Please wait, attempting to list all buckets...
> DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Fri, 02 Oct 2015 16:32:44
> +\n/'
> DEBUG: CreateRequest: resource[uri]=/
> DEBUG: SignHeaders: 'GET\n\n\n\nx-amz-date:Fri, 02 Oct 2015 16:32:44
> +\n/'
> DEBUG: Processing request, please wait...
> DEBUG: get_hostname(None): 172.31.44.38
> DEBUG: format_uri(): http://172.31.44.38/?delimiter=/
> DEBUG: Sending request method_string='GET',
> uri='http://172.31.44.38/?delimiter=/', headers={'content-length': '0',
> 'Authorization': 'AWS access-key:OeIcaJSH58eWgIlLiyQBgzN16Pc=',
> 'x-amz-date': 'Fri, 02 Oct 2015 16:32:44 +'}, body=(0 bytes)
> DEBUG: Response: {'status': 403, 'headers': {'date': 'Fri, 02 Oct 2015
> 16:32:44 GMT', 'content-length': '154', 'content-type': 'application/xml',
> 'server': 'Riak CS'}, 'reason': 'Forbidden', 'data': ' encoding="UTF-8"?>AccessDeniedAccess
> Denied'}
> DEBUG: S3Error: 403 (Forbidden)
> DEBUG: HttpHeader: date: Fri, 02 Oct 2015 16:32:44 GMT
> DEBUG: HttpHeader: content-length: 154
> DEBUG: HttpHeader: content-type: application/xml
> DEBUG: HttpHeader: server: Riak CS
> DEBUG: ErrorXML: Code: 'AccessDenied'
> DEBUG: ErrorXML: Message: 'Access Denied'
> DEBUG: ErrorXML: Resource: None
> DEBUG: ErrorXML: RequestId: None
> ERROR: Test failed: 

Re: riak-users Digest, Vol 76, Issue 7

2015-11-08 Thread Tyler Weir
Unsubscribe 

> On Nov 8, 2015, at 12:00 PM, riak-users-requ...@lists.basho.com wrote:
> 
> Send riak-users mailing list submissions to
>riak-users@lists.basho.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> or, via email, send a message with subject or body 'help' to
>riak-users-requ...@lists.basho.com
> 
> You can reach the person managing the list at
>riak-users-ow...@lists.basho.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of riak-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Open source users of Riak DT? (Listas1)
>   2. Re: Open source users of Riak DT? (Carlos Baquero)
> 
> 
> --
> 
> Message: 1
> Date: Sun, 8 Nov 2015 13:17:57 +0100
> From: Listas1 
> To: Christopher Meiklejohn ,Russell
>Brown 
> Cc: riak-users 
> Subject: Re: Open source users of Riak DT?
> Message-ID:
>
> Content-Type: text/plain; charset="utf-8"
> 
> Also NkBASE [1].
> Carlos
> 
> [1] https://github.com/Nekso/nkbase.
> 
> On Fri, Nov 6, 2015 at 7:08 PM, Christopher Meiklejohn <
> christopher.meiklej...@gmail.com> wrote:
>> 
>> On Wed, Nov 4, 2015 at 7:02 AM, Russell Brown 
> wrote:
>>> Hi,
>>> 
>>> I know that Project FiFo[1] does (or did?) use Riak DT[2]. I was
> wondering if there are any other open source applications/products out
> there that use Riak DT?
>>> 
>>> Many thanks in advance
>>> 
>>> Russell
>>> 
>>> [1] Project FiFo - https://project-fifo.net
>>> [2] Riak DT - https://github.com/basho/riak_dt
>> 
>> Let's not forget the two SyncFree projects that both use Riak DT: Lasp
>> [1] and Antidote [2].
>> 
>> - Chris
>> 
>> [1] https://github.com/lasp-lang/lasp
>> [2] https://github.com/syncfree/antidote
>> 
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> 
> 
> --
> 
> Message: 2
> Date: Sun, 8 Nov 2015 17:10:55 +0100
> From: Carlos Baquero 
> To: Christopher Meiklejohn 
> Cc: Russell Brown , riak-users
>
> Subject: Re: Open source users of Riak DT?
> Message-ID: <9f0f914c-4349-43fd-bc34-ff30b165e...@di.uminho.pt>
> Content-Type: text/plain; charset="us-ascii"
> 
> 
> This is not a direct use, but some of the datatypes: Flags, ORMap, and causal 
> counters, are informed by the semantics of those in Riak DT.  
> 
> https://github.com/CBaquero/delta-enabled-crdts
> 
> Carlos 
> 
> Sent from my iPhone
> 
>>> On 06/11/2015, at 19:08, Christopher Meiklejohn 
>>>  wrote:
>>> 
>>> On Wed, Nov 4, 2015 at 7:02 AM, Russell Brown  wrote:
>>> Hi,
>>> 
>>> I know that Project FiFo[1] does (or did?) use Riak DT[2]. I was wondering 
>>> if there are any other open source applications/products out there that use 
>>> Riak DT?
>>> 
>>> Many thanks in advance
>>> 
>>> Russell
>>> 
>>> [1] Project FiFo - https://project-fifo.net
>>> [2] Riak DT - https://github.com/basho/riak_dt
>> 
>> Let's not forget the two SyncFree projects that both use Riak DT: Lasp
>> [1] and Antidote [2].
>> 
>> - Chris
>> 
>> [1] https://github.com/lasp-lang/lasp
>> [2] https://github.com/syncfree/antidote
>> 
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> --
> 
> End of riak-users Digest, Vol 76, Issue 7
> *

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Is this a silly design?

2010-09-29 Thread Tyler Weir
Hello,

I'm working on a side project and I don't know much about reasonable
design for a Riak schema.

I'll have a hybrid model, with user profiles sitting in Postgres and
their data in Riak.

If I were to store a blob of info per user per day (3 text blobs, a
date, a URL and tags), does it make sense to have one bucket per user?
If so, the key for the daily blob is simple, the date (unless that is
also silly).

I'm guessing 100 users, with maybe 400 RiakObjects per user per year.

Does that design seem sound, or am I breaking some fundamental rules?

Sorry for naivety,
Tyler


-
http://www.tylerweir.ca

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Is this a silly design?

2010-09-30 Thread Tyler Weir
Hi Dan,

Thanks for the response and thank you for the additional MR snippet.
That is helpful.

Cheers,
Tyler

-
http://www.tylerweir.ca



On Wed, Sep 29, 2010 at 5:48 PM, Dan Reverri  wrote:
> Hi Tyler,
> You're proposed design would work well with Riak. Buckets in Riak, by
> default, are "free" meaning 100 buckets wouldn't consume any more resources
> than 1 bucket.
> Also, by using the date as the key you could map/reduce over a user's data
> for set periods of time. For instance, consider the following entries:
> /riak/user1/20100929
> /riak/user1/20100930
> /riak/user1/20101001
> /riak/user1/20101002
> /riak/user1/20101003
> /riak/user1/20101004
> To map/reduce over the first 3 days of October you can specify your
> map/reduce inputs as:
> {"inputs":[["user1","20101001"],["user1","20101002"],["user1","20101003"]],
> ...query goes here... }
>
> Daniel Reverri
> Developer Advocate
> Basho Technologies, Inc.
> d...@basho.com
>
>
> On Wed, Sep 29, 2010 at 9:30 AM, Tyler Weir  wrote:
>>
>> Hello,
>>
>> I'm working on a side project and I don't know much about reasonable
>> design for a Riak schema.
>>
>> I'll have a hybrid model, with user profiles sitting in Postgres and
>> their data in Riak.
>>
>> If I were to store a blob of info per user per day (3 text blobs, a
>> date, a URL and tags), does it make sense to have one bucket per user?
>> If so, the key for the daily blob is simple, the date (unless that is
>> also silly).
>>
>> I'm guessing 100 users, with maybe 400 RiakObjects per user per year.
>>
>> Does that design seem sound, or am I breaking some fundamental rules?
>>
>> Sorry for naivety,
>> Tyler
>>
>>
>> -
>> http://www.tylerweir.ca
>>
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com