[
https://issues.apache.org/jira/browse/HADOOP-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HADOOP-1375:
--------------------------
Attachment: hbase_shell_base_v09.patch
Regards, "echo 'show tables;' | hbase shell", thanks for adding this facility.
Its good that the shell exits after its performed the 'show tables' command.
Thats the way it should work. We need to figure out a flag for outputting data
without ConsoleTable wrapping but we can do that later.
I've attached a version9 of the patch. I spent some time banging on it and it
works very nicely. I made some changes listed below.
It passes all local tests but fails building javadoc because javadoc is built
with the hadoop javadoc target. It doesn't have JLine in its CLASSPATH. Let
me try and make a patch for the top-level hadoop build.xml so contribs build
their own javadoc. After that is in place I would like to commit v09 if you
agree. There is one thing you may yet want to fix before the commit. The
license header on java source says copyright Apache, not udanax. Is this what
you want?
Here are changes:
I removed the regionserver file edit you included by mistake (as well as the
hbase-site.xml I included by mistake).
Fixed no command returning NPE.
Fixed print out of rows whose keys > 20 (They were being cut off if data < 20).
Removed 'set' for now. Can do anything 'set' could do using 'insert'.
Changed 'desc' to 'describe' -- was only abbreviated command.
I removed the author tags. Its hadoop convention. I added to NOTICES.txt that
hbase includes software from udanax.
I changed date on all licenses from 2006 to 2007 in java files.
Various formatting changes.
> 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
> Affects Versions: 0.13.0
> Environment: All environments
> Reporter: edward yoon
> Priority: Minor
> Fix For: 0.14.0
>
> Attachments: hadoop1375-v12.patch, hbase_shell_base_v03.patch,
> hbase_shell_base_v04.patch, hbase_shell_base_v05.patch,
> hbase_shell_base_v06.patch, hbase_shell_base_v07.patch,
> hbase_shell_base_v08.patch, hbase_shell_base_v09.patch, jline-0.9.91.jar
>
>
> @link : http://wiki.apache.org/lucene-hadoop/Hbase/HbaseShell
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.