[ https://issues.apache.org/jira/browse/HADOOP-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546949 ]
Billy Pearson commented on HADOOP-2068: --------------------------------------- I am still getting an error with urlencode looks like the : is throwing it off calling row key com.example.www/:http [EMAIL PROTECTED] hbase]# curl --verbose http://192.168.1.200:60010/api/webdata/row/com.example.www%2F%3Ahttp * About to connect() to 192.168.1.200 port 60010 * Trying 192.168.1.200... * connected * Connected to 192.168.1.200 (192.168.1.200) port 60010 > GET /api/webdata/row/com.example.www%2F%3Ahttp HTTP/1.1 User-Agent: curl/7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 Host: 192.168.1.200:60010 Pragma: no-cache Accept: */* < HTTP/1.1 500 For+input+string%3A+%22%3Ahttp%22 < Date: Fri, 30 Nov 2007 00:53:31 GMT < Server: Jetty/5.1.4 (Linux/2.6.9-55.0.12.ELsmp i386 java/1.5.0_12 < Content-Type: text/html < Content-Length: 1282 < Connection: close <html> <head> <title>Error 500 For input string: ":http"</title> </head> <body> <h2>HTTP ERROR: 500</h2><pre>For input string: ":http"</pre> <p>RequestURI=/api/webdata/row/com.example.www/:http</p> <p><i><small><a href="http://jetty.mortbay.org">Powered by Jetty://</a></small></i></p> </body> </html> * Closing connection #0 > [hbase] RESTful interface > ------------------------- > > Key: HADOOP-2068 > URL: https://issues.apache.org/jira/browse/HADOOP-2068 > Project: Hadoop > Issue Type: New Feature > Components: contrib/hbase > Reporter: stack > Priority: Minor > Attachments: rest-11-27-07-v2.patch, rest-11-27-07.3.patc, > rest-11-27-07.patch, rest-11-28-07.2.patch, rest-11-28-07.3.patch, > rest-11-28-07.patch, rest.patch > > > A RESTful interface would be one means of making hbase accessible to clients > that are not java. It might look something like the below: > + An HTTP GET of http://MASTER:PORT/ outputs the master's attributes: online > meta regions, list of tables, etc.: i.e. what you see now when you go to > http://MASTER:PORT/master.jsp. > + An HTTP GET of http://MASTER:PORT/TABLENAME: 200 if tables exists and > HTableDescription (mimetype: text/plain or text/xml) or 401 if no such table. > HTTP DELETE would drop the table. HTTP PUT would add one. > + An HTTP GET of http://MASTER:PORT/TABLENAME/ROW: 200 if row exists and 401 > if not. > + An HTTP GET of http://MASTER:PORT/TABLENAME/ROW/COLUMNFAMILY: > HColumnDescriptor (mimetype: text/plain or text/xml) or 401 if no such table. > + An HTTP GET of http://MASTER:PORT/TABLENAME/ROW/COLUMNNAME/: 200 and latest > version (mimetype: binary/octet-stream) or 401 if no such cell. HTTP DELETE > would delete the cell. HTTP PUT would add a new version. > + An HTTP GET of http://MASTER:PORT/TABLENAME/ROW/COLUMNNAME/TIMESTAMP: 200 > (mimetype: binary/octet-stream) or 401 if no such cell. HTTP DELETE would > remove. HTTP PUT would put this record. > + Browser originally goes against master but master then redirects to the > hosting region server to serve, update, delete, etc. the addressed cell -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.