Hi Greg,

Thanks for testing and providing feedback. 

1. That's a bug. It should be LATEST_TIMESTAMP like the Java API. See 
https://issues.apache.org/jira/browse/HBASE-1824 . Fix for 0.20.1 but there's a 
patch already available on the issue. 

2. See https://issues.apache.org/jira/browse/HBASE-1808 . Fix for 0.20.1 but 
there will be a patch available on the issue soon. 

3. Since I'm not familiar with the books, I suppose you can choose the TV show. 
While it may be problematic that your data is transferred to a parallel 
universe, if that information somehow enters a black hole there it may reemerge 
as information back in our universe. Your colleagues may find that reassuring 
(or not). 

   - Andy




________________________________
From: Greg Cottman <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Wednesday, September 9, 2009 11:51:51 PM
Subject: Stargate questions


I am using the Stargate REST API (version 0.20.0) - thanks to Andrew Purtell 
for his help!! - and I had a couple of questions:


1.      If I don't put the optional "timestamp" attribute in a Cell when I'm 
inserting data, the timestamp ends up as zero, which caused much confusion 
because it pre-dates the value I thought I was replacing.  I assumed that not 
specifying this attribute would cause the timestamp to default to the current 
HBase server time.  Instead I found I had to specify the timestamp as "-1" to 
get this behaviour.  Is this a bug or an intentional semantic?


2.      I can't get a scanner to return just a subset of columns using the 
"columns" attribute when making the scanner request.  I've tried holding my 
mouth different ways and it doesn't seem to matter what I put in the columns 
attribute - although I am remembering to Base64 encode it.  What is the 
expected format in this attribute for specifying which columns you want the 
scanner to return?



3.      Is Stargate named after the TV show or the portal for the star dance in 
the Sara Douglass books?  I just want to be sure my head is in the right place 
when I'm using this service.  I wouldn't want to accidentally send all my bits 
to a parallel universe.  That would be tough to explain at the daily stand-up.

Cheers,
Greg.


      

Reply via email to