You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "udanax (JIRA)" <ji...@apache.org> on 2007/06/01 08:45:15 UTC
[jira] Updated: (HADOOP-1375) a simple parser for hbase.
[ https://issues.apache.org/jira/browse/HADOOP-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
udanax updated HADOOP-1375:
---------------------------
Attachment: patch.txt
* added full table scan syntax.
> Finally, before commit, we'll have to remove the javacc generated classes and add a javacc target to the hbase ant build file like the one in top-level hadoop build.xml - perhaps I can help with this?
Yes, it would be great if you could add a javacc target to the ant file.
Also, can you add jline-*.jar to the library folder, if it is okay?
> a simple parser for hbase.
> --------------------------
>
> Key: HADOOP-1375
> URL: https://issues.apache.org/jira/browse/HADOOP-1375
> Project: Hadoop
> Issue Type: Improvement
> Components: contrib/hbase
> Environment: All environments
> Reporter: udanax
> Priority: Minor
> Attachments: patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt, patch.txt
>
>
> this is a simple parser for hbase test.
> i just write it.
> you can use this syntax to create and set.
> {code}
> [# root@localhost] ./bin/hadoop jar ./build/hadoop-hbase org.apache.hadoop.hbase.parser.HbaseShell
> Hbase > help;
> blah blah...
> Hbase > create webtable
> --> columnfamilies('anchors', 'language') limit=3;
> Hbase > set webtable values('anchors:http://www.udanax.org/','opensource') where row="http://www.hadoop.co.kr";
> Hbase > scan webtable where row="http://www.hadoop.co.kr";
> blah blah...
> Hbase > set webtable values('language:kr','euc-kr') where row="http://www.hadoop.co.kr";
> Hbase > scan webtable where row="http://www.hadoop.co.kr" and column="language:kr";
> blah blah...
> Hbase > exit
> [# root@localhost]
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.