Run configuration in Eclipse

2011-09-26 Thread Ruby Stevenson
hi, all I am trying to set up run configuration in Eclipse, the VM argument I passed in are as the following, I am pretty sure the path shown below is valid, yet I am getting the exception - any help is appreciated. -Dcassandra.config=${workspace_loc:cassandra}/test/conf/cassandra.yaml -Dcassandr

Re: Run configuration in Eclipse

2011-09-27 Thread Ruby Stevenson
yes, this solves the problem. many thanks Ruby 2011/9/26 Jérémy SEVELLEC : > Hi, > > try adding "file:" like that : > -Dcassandra.config=file:${workspace_loc:cassandra}/test/conf/cassandra.yaml > > Regards > > Jérémy > > 2011/9/26 Ruby Stevenson >

row key for string

2011-09-29 Thread Ruby Stevenson
hi all I am reading some code related to encoding a string representing the file path into a row key, it essentially went through a series of transformation like this: String filepath = "/x/y/z"; ByteBuffer bb = ByteBufferUtil.bytes(filepath); String s = FBUtilities.hashTo

Re: row key for string

2011-09-29 Thread Ruby Stevenson
:58 AM, "Ruby Stevenson" wrote: >> hi all >> >> I am reading some code related to encoding a string representing the >> file path into a row key, it essentially went through a series of >> transformation like this: >> >> String filepath =

Re: row key for string

2011-09-29 Thread Ruby Stevenson
you are using RP or BOP no need. > > On Thu, Sep 29, 2011 at 12:14 PM, Ruby Stevenson wrote: > >> btw - the original code is in brisk repo: >> >> >> https://github.com/riptano/brisk/blob/master/src/java/src/org/apache/cassandra/hadoop/fs/CassandraFileSystemThriftS