hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Stargate REST Schema
Date Sun, 30 May 2010 19:54:21 GMT
The Wiki is a little out of date. I opened HBASE-2633 to address: https://issues.apache.org/jira/browse/HBASE-2633<br><br>&nbsp;&nbsp;
- Andy<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left:
5px; padding-left: 5px;"><br>From: Anthony Ikeda &lt;Anthony.Ikeda@cardlink.com.au&gt;<br>Subject:
Stargate REST Schema<br>To: user@hbase.apache.org<br>Date: Wednesday, May 26,
2010, 12:06 AM<br><br><div id="yiv241752248">


 
 

<style>
<!--
#yiv241752248  
 _filtered #yiv241752248 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv241752248 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv241752248 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv241752248 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
#yiv241752248  
#yiv241752248 p.MsoNormal, #yiv241752248 li.MsoNormal, #yiv241752248 div.MsoNormal
	{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv241752248 a:link, #yiv241752248 span.MsoHyperlink
	{color:blue;text-decoration:underline;}
#yiv241752248 a:visited, #yiv241752248 span.MsoHyperlinkFollowed
	{color:purple;text-decoration:underline;}
#yiv241752248 p.MsoAcetate, #yiv241752248 li.MsoAcetate, #yiv241752248 div.MsoAcetate
	{margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"sans-serif";}
#yiv241752248 span.EmailStyle17
	{font-family:"sans-serif";color:windowtext;}
#yiv241752248 span.BalloonTextChar
	{font-family:"sans-serif";}
#yiv241752248 .MsoChpDefault
	{}
 _filtered #yiv241752248 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv241752248 div.Section1
	{}
-->
</style>

<div class="Section1">

<p class="MsoNormal">Is the currently published schema the latest version? I’m
just noticing differences in the entities that are being generated by JAXB and
the data that they are marshalling to.</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">The schema I’m using is the one posted at: <a rel="nofollow"
target="_blank" href="http://wiki.apache.org/hadoop/Hbase/Stargate">http://wiki.apache.org/hadoop/Hbase/Stargate</a>
however, when running Stargate (hbase 0.20.4), the xml representations returned
are not conforming to this schema.</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Data returned:</p> 

<p class="MsoNormal">&lt;?xml version="1.0" encoding="UTF-8"
standalone="yes"?&gt;</p> 

<p class="MsoNormal">&lt;CellSet&gt;</p> 

<p class="MsoNormal" style="text-indent: 36pt;">&lt;Row key=" "&gt;</p>


<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;Cell
timestamp="1274855815537" column=" "&gt; &lt;/Cell&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;Cell
timestamp="1274855763261" column=" "&gt; &lt;/Cell&gt;</p> 

<p class="MsoNormal" style="text-indent: 36pt;">&lt;/Row&gt;</p> 

<p class="MsoNormal">&lt;/CellSet&gt;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">According to the schema the data should be:</p> 

<p class="MsoNormal">&lt;?xml version="1.0" encoding="UTF-8"
standalone="yes"?&gt;</p> 

<p class="MsoNormal">&lt;CellSet&gt;</p> 

<p class="MsoNormal" style="text-indent: 36pt;">&lt;row&gt;</p> 

<p class="MsoNormal" style="text-indent: 36pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;key&gt;&lt;/key&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;cell
timestamp="1274855815537" column=" "&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;value&gt;&lt;/value&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;/cell&gt;</p>


<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;cell
timestamp="1274855763261" column=" "&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;value&gt;&lt;/value&gt;</p> 

<p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;">&lt;/cell&gt;</p>


<p class="MsoNormal" style="text-indent: 36pt;">&lt;/row&gt;</p> 

<p class="MsoNormal">&lt;/CellSet&gt;</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal">Is this schema something I need to reverse engineer or is
there a client API I should be using?</p> 

<p class="MsoNormal"> &nbsp;</p> 

<p class="MsoNormal"><span lang="EN-US">Anthony Ikeda</span></p> 

<p class="MsoNormal"><span lang="EN-US">Java Analyst/Programmer</span></p>


<p class="MsoNormal"><span lang="EN-US">Cardlink Services Limited</span></p>


<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;" lang="EN-US">Level
4, 3 Rider Boulevard</span></p> 

<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;" lang="EN-US">Rhodes
NSW 2138</span></p> 

<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;" lang="EN-US">&nbsp;</span></p>


<p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;" lang="EN-US">Web:
<a rel="nofollow" target="_blank" href="http://www.cardlink.com.au">www.cardlink.com.au</a>
| Tel: + 61 2 9646
9221 | Fax: + 61 2 9646 9283</span></p> 

<p class="MsoNormal"><img id="Picture_x0020_1" src="cid:image001.gif@01CAFCF4.A3D49C00"
alt="logo_cardlink1" border="0" height="108" width="155"><span lang="EN-US"></span></p>


<p class="MsoNormal"> &nbsp;</p> 

</div>

<br>
**********************************************************************<br>
This e-mail message and any attachments are intended only for the use of the addressee(s)
named above and may contain information that is privileged and confidential. If you are not
the intended recipient, any display, dissemination, distribution, or copying is strictly prohibited.
  If you believe you have received this e-mail message in error, please immediately notify
the sender by replying to this e-mail message or by telephone to (02) 9646 9222. Please delete
the email and any attachments and do not retain the email or any attachments in any form.<br>
**********************************************************************<br>
 

</div></blockquote>


      


Mime
View raw message