[ 
https://issues.apache.org/jira/browse/HADOOP-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HADOOP-1375:
--------------------------

    Attachment: hadoop1375-v12.patch

Jinsuk:

Attached is a patch that adds a javacc target, includes the hbase/lib directory 
in CLASSPATH building, and that no longer includes the javacc generated 
classes. 

The javacc target is called out of compile-contrib target.  If the system 
property 'javacc.home' is defined, then we will generate the shell classes 
otherwise, its a noop.  

I took the liberty of changing packages of generated classes moving all under 
org.apache.hadoop.hbase.shell.generated following the top-level precedent 
generating hadoop org,apache.hadoop.record.compiler classes with javacc.

I also removed NOTICES.txt.  The Doug comment above seems to require that we 
add your copyright statement to the top-level NOTICES.txt.  We can make a 
separate issue to do this after your shell work goes into hbase.

Would appreciate feedback on problems found and questions raised above when you 
get a chance





> 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: hadoop1375-v12.patch, jline-0.9.91.jar, 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}
> [# [EMAIL PROTECTED] ./bin/hadoop jar ./build/hadoop-hbase 
> org.apache.hadoop.hbase.shell.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 > scan webtable;
> Hbase > exit
> [# [EMAIL PROTECTED] 
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to