Dean,
Are type 1 UUIDs the best ones to use if I want to avoid conflict? I
saw this page: http://en.wikipedia.org/wiki/Universally_unique_identifier
The only problem with type 1 UUIDs is they are "not opaque"? I know
there is one kind of UUID that can generate two equal values if you
generate them at the same milisecond, but I guess I was confusing them...
Best regards,
Marcelo Valle.
2012/10/29 Hiller, Dean <Dean.Hiller@nrel.gov>
> Hmm, this brings the question of what uuid libraries are others using? I
> know this one generates type 1 UUIDs with two longs so it is 16 bytes.
>
> http://johannburkard.de/software/uuid/
>
> Thanks,
> Dean
>
> From: Marcelo Elias Del Valle <mvallebr@gmail.com<mailto:
> mvallebr@gmail.com>>
> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <
> user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
> Date: Monday, October 29, 2012 1:17 PM
> To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <
> user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
> Subject: Re: ColumnFamilyInputFormat - error when column name is UUID
>
> Answering myself: it seems we can't have any non type 1 UUIDs in column
> names. I used the UTF8 comparator and saved my UUIDs as strings, it worked.
>
--
Marcelo Elias Del Valle
http://mvalle.com - @mvallebr
|