[ https://issues.apache.org/jira/browse/HADOOP-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550830 ]
Edward Yoon commented on HADOOP-2351: ------------------------------------- It need some modifications for html outputting. {code} bash-3.00# src/contrib/hbase/bin/hbase shell --html Hbase Shell, 0.0.2 version. Copyright (c) 2007 by udanax, licensed to Apache Software Foundation. Type 'help;' for usage. hql > select * from udanax; Exception in thread "main" java.lang.IllegalStateException: getState() == BEFORE_XML_DECLARATION at org.znerd.xmlenc.XMLOutputter.endTag(Unknown Source) at org.apache.hadoop.hbase.shell.formatter.HtmlTableFormatter.footer(HtmlTableFormatter.java:135) at org.apache.hadoop.hbase.shell.SelectCommand.scanPrint(SelectCommand.java:238) at org.apache.hadoop.hbase.shell.SelectCommand.execute(SelectCommand.java:94) at org.apache.hadoop.hbase.Shell.main(Shell.java:111) bash-3.00# {code} > [Hbase Shell] If select command returns no result, it doesn't need to show > the header information. > -------------------------------------------------------------------------------------------------- > > Key: HADOOP-2351 > URL: https://issues.apache.org/jira/browse/HADOOP-2351 > Project: Hadoop > Issue Type: Improvement > Components: contrib/hbase > Affects Versions: 0.16.0 > Reporter: Edward Yoon > Assignee: Edward Yoon > Priority: Trivial > Fix For: 0.16.0 > > Attachments: 2351.patch > > > {code} > hql > select * from udanax; > +-------------------------+-------------------------+-------------------------+ > | Row | Column | Cell > | > +-------------------------+-------------------------+-------------------------+ > 0 row(s) in set. (0.09 sec) > hql > exit; > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.