Andrew, the JIRA recommends using the API docs, it is the API docs that seem to be out of date.
Is there somewhere else I can get a copy of the schema? Anthony -----Original Message----- From: Andrew Purtell [mailto:[email protected]] Sent: Monday, 31 May 2010 5:54 AM To: [email protected] Cc: Anthony Ikeda Subject: Re: Stargate REST Schema The Wiki is a little out of date. I opened HBASE-2633 to address: https://issues.apache.org/jira/browse/HBASE-2633<br><br> - Andy<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Anthony Ikeda <[email protected]><br>Subject: Stargate REST Schema<br>To: [email protected]<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"> </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"> </p> <p class="MsoNormal">Data returned:</p> <p class="MsoNormal"><?xml version="1.0" encoding="UTF-8" standalone="yes"?></p> <p class="MsoNormal"><CellSet></p> <p class="MsoNormal" style="text-indent: 36pt;"><Row key=" "></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><Cell timestamp="1274855815537" column=" "> </Cell></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><Cell timestamp="1274855763261" column=" "> </Cell></p> <p class="MsoNormal" style="text-indent: 36pt;"></Row></p> <p class="MsoNormal"></CellSet></p> <p class="MsoNormal"> </p> <p class="MsoNormal">According to the schema the data should be:</p> <p class="MsoNormal"><?xml version="1.0" encoding="UTF-8" standalone="yes"?></p> <p class="MsoNormal"><CellSet></p> <p class="MsoNormal" style="text-indent: 36pt;"><row></p> <p class="MsoNormal" style="text-indent: 36pt;"> <key></key></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><cell timestamp="1274855815537" column=" "></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"> <value></value></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"></cell></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"><cell timestamp="1274855763261" column=" "></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"> <value></value></p> <p class="MsoNormal" style="margin-left: 36pt; text-indent: 36pt;"></cell></p> <p class="MsoNormal" style="text-indent: 36pt;"></row></p> <p class="MsoNormal"></CellSet></p> <p class="MsoNormal"> </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"> </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"> </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:[email protected]" alt="logo_cardlink1" border="0" height="108" width="155"><span lang="EN-US"></span></p> <p class="MsoNormal"> </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> _____________________________________________________________________ This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com ********************************************************************** 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. **********************************************************************
