Grokbase Groups HBase dev March 2009
FAQ
master.jsp & table.jsp do not URI Encode table or region names in links
-----------------------------------------------------------------------

Key: HBASE-1298
URL: https://issues.apache.org/jira/browse/HBASE-1298
Project: Hadoop HBase
Issue Type: Bug
Affects Versions: 0.19.0
Environment: HBase Version 0.19.0, r735381
Hadoop Version 0.19.0, r713890
Reporter: Hoss Man


"UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"

"/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the "+" character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the "+" character as "%2B" produces the correct output.

A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp


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

Search Discussions

  • Hoss Man (JIRA) at Mar 30, 2009 at 5:47 pm
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hoss Man updated HBASE-1298:
    ----------------------------

    Description:
    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"

    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.

    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp


    was:
    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"

    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the "+" character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the "+" character as "%2B" produces the correct output.

    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp



    (fixing wiki parsing in description)
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man

    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hoss Man (JIRA) at Mar 30, 2009 at 5:51 pm
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hoss Man updated HBASE-1298:
    ----------------------------

    Affects Version/s: 0.19.1

    Verified problem also exists in 0.19.1 and trunk.
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man

    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Mar 31, 2009 at 7:18 am
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack updated HBASE-1298:
    -------------------------

    Fix Version/s: 0.20.0
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Fix For: 0.20.0


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Apr 3, 2009 at 10:42 am
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George updated HBASE-1298:
    -------------------------------

    Attachment: 1298.patch

    Attached patch fixes href issues with non URL safe characters in region names.
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Fix For: 0.20.0

    Attachments: 1298.patch, table.jsp.jpg


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Apr 3, 2009 at 10:42 am
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George updated HBASE-1298:
    -------------------------------

    Attachment: table.jsp.jpg

    Shows regions with unsafe characters.
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Fix For: 0.20.0

    Attachments: 1298.patch, table.jsp.jpg


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Apr 3, 2009 at 10:44 am
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George updated HBASE-1298:
    -------------------------------

    Attachment: regionhistorian.jsp.jpg

    Shows in the address bar how the region names are now encoded properly.
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Fix For: 0.20.0

    Attachments: 1298.patch, regionhistorian.jsp.jpg, table.jsp.jpg


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Apr 3, 2009 at 10:44 am
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George reassigned HBASE-1298:
    ----------------------------------

    Assignee: Lars George
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Assignee: Lars George
    Fix For: 0.20.0

    Attachments: 1298.patch, regionhistorian.jsp.jpg, table.jsp.jpg


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Apr 3, 2009 at 2:20 pm
    [ https://issues.apache.org/jira/browse/HBASE-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack resolved HBASE-1298.
    --------------------------

    Resolution: Fixed

    Thanks for the patch Lars.
    master.jsp & table.jsp do not URI Encode table or region names in links
    -----------------------------------------------------------------------

    Key: HBASE-1298
    URL: https://issues.apache.org/jira/browse/HBASE-1298
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0, 0.19.1
    Environment: HBase Version 0.19.0, r735381
    Hadoop Version 0.19.0, r713890
    Reporter: Hoss Man
    Assignee: Lars George
    Fix For: 0.20.0

    Attachments: 1298.patch, regionhistorian.jsp.jpg, table.jsp.jpg


    "UAZAAAAAZNaGnEKI+gC" is a key in my "userdata" table which happens to be the start key for a region named "userdata,UAZAAAAAZNaGnEKI+gC,1238170268268"
    "/table.jsp?name=userdata" lists a link to "/regionhistorian.jsp?regionname=userdata,UAZAAAAAZNaGnEKI+gC,1238170268268" which is incorrect because the " + " character is not properly URI Encoded. This results in a misleading user error message: "This region is no longer available. It may be due to a split, a merge or the name changed. " manually escaping the " + " character as "%2B" produces the correct output.
    A quick skim of master.jsp suggests it has a similar problem: it doesn't URI Encode table names when constructing links to table.jsp
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedMar 30, '09 at 5:45p
activeApr 3, '09 at 2:20p
posts9
users1
websitehbase.apache.org

1 user in discussion

stack (JIRA): 9 posts

People

Translate

site design / logo © 2021 Grokbase