You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/02/13 02:13:07 UTC

[jira] Commented: (HBASE-438) XMLOutputter state should be initialized.

    [ https://issues.apache.org/jira/browse/HBASE-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568387#action_12568387 ] 

Bryan Duxbury commented on HBASE-438:
-------------------------------------

Tests pass locally for me. Patch seems pretty simple. +1

> XMLOutputter state should be initialized.
> -----------------------------------------
>
>                 Key: HBASE-438
>                 URL: https://issues.apache.org/jira/browse/HBASE-438
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.1.0
>            Reporter: Edward Yoon
>            Assignee: Edward Yoon
>            Priority: Critical
>             Fix For: 0.2.0
>
>         Attachments: 438.patch
>
>
> {code}
> bash-3.00# bin/hbase shell --html
> HQL, 0.2.0-dev version.
> Copyright (c) 2008 by udanax, licensed to Apache Software Foundation.
> Type 'help;' for usage.
> hql > show tables;
> <table>
>  <tr>
>   <th>
> Name
>   </th>
>   <th>
> Descriptor
>   </th>
>  </tr>
>  <tr>
>   <td>
> a
>   </td>
>   <td>
> name: a, families: {b:={name: b, max versions: 3, compression: NONE, in memory: false, block cache enabled: false, max length: 2147483647, bloom filter: none}}
>   </td>
>  </tr>
> </table>
> 1 table(s) in set. (0.21 sec)
> hql > show tables;
> Exception in thread "main" java.lang.IllegalStateException: getState() == DOCUMENT_ENDED
>         at org.znerd.xmlenc.XMLOutputter.startTag(Unknown Source)
>         at org.apache.hadoop.hbase.hql.formatter.HtmlTableFormatter.header(HtmlTableFormatter.java:125)
>         at org.apache.hadoop.hbase.hql.ShowCommand.execute(ShowCommand.java:66)
>         at org.apache.hadoop.hbase.hql.HQLClient.executeQuery(HQLClient.java:68)        at org.apache.hadoop.hbase.Shell.main(Shell.java:114)
> bash-3.00#
> {code}

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