Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-212

[hbase] hql.jsp : The character 0x19 is not valid

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I thought xmlenc would deal with invalid xml characters but seems like it doesn't:

      2007-11-01 16:22:19,773 WARN /: /hql.jsp?q=select+%27anchor%3Aanchor_text%27+from+enwiki+limit%3D17%3B: 
      org.znerd.xmlenc.InvalidXMLException: The character 0x19 is not valid.
              at org.znerd.xmlenc.XMLEncoder.text(Unknown Source)
              at org.znerd.xmlenc.XMLEncoder.text(Unknown Source)
              at org.znerd.xmlenc.XMLOutputter.pcdata(Unknown Source)
              at org.apache.hadoop.hbase.shell.formatter.HtmlTableFormatter.row(HtmlTableFormatter.java:80)
              at org.apache.hadoop.hbase.shell.SelectCommand.scanPrint(SelectCommand.java:216)
              at org.apache.hadoop.hbase.shell.SelectCommand.execute(SelectCommand.java:91)
              at org.apache.hadoop.hbase.generated.master.hql_jsp._jspService(hql_jsp.java:72)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
              at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
              at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
              at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
              at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
              at org.mortbay.http.HttpServer.service(HttpServer.java:954)
              at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
              at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
              at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
              at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
              at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
              at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      

      Offending cell is:

      +--------------------------------------+--------------------------------------+
      | --jNlYdCLIa-Owwhpomi4F==             |  1 1 tyrone biggums
       1 1 dave chappel|
      |                                      | le show
       1 1 chappelles show        |
      +--------------------------------------+--------------------------------------+
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stack stack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: