You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Bieniosek (JIRA)" <ji...@apache.org> on 2008/03/03 20:16:50 UTC

[jira] Created: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
---------------------------------------------------------------------------------------------

                 Key: HBASE-488
                 URL: https://issues.apache.org/jira/browse/HBASE-488
             Project: Hadoop HBase
          Issue Type: Bug
          Components: hql
         Environment: hadoop/hbase 0.16
            Reporter: Michael Bieniosek


In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text

HTTP ERROR: 500

getState() == BEFORE_XML_DECLARATION

The search returns zero results in the hbase shell.

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


[jira] Commented: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "Michael Bieniosek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575922#action_12575922 ] 

Michael Bieniosek commented on HBASE-488:
-----------------------------------------

Yeah, I use it a lot.  It is much simpler than trying to use the command-line version.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Updated: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "Michael Bieniosek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bieniosek updated HBASE-488:
------------------------------------

    Priority: Minor  (was: Major)

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>            Priority: Minor
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Commented: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593213#action_12593213 ] 

Bryan Duxbury commented on HBASE-488:
-------------------------------------

+1 for marking this wont fix. 

I think that if we really want to we can allow the web ui to send JRuby snippets to get interpreted (assuming we use JRuby as the shell interpreter...). Making that secure is up to us of course.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>             Fix For: 0.2.0
>
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Resolved: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-488.
-------------------------

    Resolution: Won't Fix

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>             Fix For: 0.2.0
>
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Commented: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575919#action_12575919 ] 

Bryan Duxbury commented on HBASE-488:
-------------------------------------

Should we just get rid of the HQL query option in the web interface instead, or do people use that a lot?

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Updated: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-488:
------------------------

    Fix Version/s: 0.2.0

This issue will probably get marked as won't fix in 0.2.0.  HQL will be removed and I think we'll be removing querying from the UI at same time since it unlikely we'll be able to make it so you can only do read-only things in any of the HQL-replacements we've looked at so far.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.16.0, 0.2.0, 0.1.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>             Fix For: 0.2.0
>
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Updated: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-488:
------------------------

             Priority: Major  (was: Minor)
    Affects Version/s: 0.16.0
                       0.2.0
                       0.1.0

Should we fix this for 0.1?  It looks pretty bad.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Commented: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575921#action_12575921 ] 

stack commented on HBASE-488:
-----------------------------

Its used here internally a bunch debugging.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>    Affects Versions: 0.1.0, 0.2.0, 0.16.0
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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


[jira] Commented: (HBASE-488) if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574715#action_12574715 ] 

stack commented on HBASE-488:
-----------------------------

I thought HBASE-438 would fix this but I just tried it and it doesn't.

> if hql.jsp selects zero result, displays HTTP ERROR: 500 getState() == BEFORE_XML_DECLARATION
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-488
>                 URL: https://issues.apache.org/jira/browse/HBASE-488
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: hql
>         Environment: hadoop/hbase 0.16
>            Reporter: Michael Bieniosek
>            Priority: Minor
>
> In hql.jsp, if I make hql that returns zero results, eg 'select nosuchcolumn from table', I get a 500 page with the text
> HTTP ERROR: 500
> getState() == BEFORE_XML_DECLARATION
> The search returns zero results in the hbase shell.

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