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/04/11 19:54:04 UTC

[jira] Created: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

hbase master dies with stack overflow error if rootdir isn't qualified
----------------------------------------------------------------------

                 Key: HBASE-575
                 URL: https://issues.apache.org/jira/browse/HBASE-575
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.1.1
            Reporter: Michael Bieniosek
            Priority: Blocker
             Fix For: 0.1.2


With a relative rootdir (/hbase/), the hbase master throws this on startup:

08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
        at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
Caused by: java.lang.StackOverflowError
        at java.net.URI$Parser.checkChars(Unknown Source)


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


[jira] Updated: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

Jim Kellerman updated HBASE-575:
--------------------------------

    Status: Patch Available  (was: Open)

Detects invalid root directory paths. Includes a test case. Please review.

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: patch.txt
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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


[jira] Updated: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

Jim Kellerman updated HBASE-575:
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2.0
           Status: Resolved  (was: Patch Available)

Committed to 0.1 branch and trunk.

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.2.0, 0.1.2
>
>         Attachments: patch.txt
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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


[jira] Updated: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

Jim Kellerman updated HBASE-575:
--------------------------------

    Attachment: patch.txt

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: patch.txt
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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


[jira] Commented: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

stack commented on HBASE-575:
-----------------------------

Why inline the rootdir test into the HMaster constructor?  Why not make a utility method hosted elsewhere --- FSUtils -- and have the HMaster constructor use that?  Have the test exercise the utility method rather than HMaster (as is where it catches any IOE, its overly broad).

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.1.2
>
>         Attachments: patch.txt
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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


[jira] Commented: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

stack commented on HBASE-575:
-----------------------------

I asked Michael to make this a blocker since its the first thing users will see migrating from 0.16.x to 0.1.0 (if they don't read the doc. that is)

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Priority: Blocker
>             Fix For: 0.1.2
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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


[jira] Assigned: (HBASE-575) hbase master dies with stack overflow error if rootdir isn't qualified

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

Jim Kellerman reassigned HBASE-575:
-----------------------------------

    Assignee: Jim Kellerman

> hbase master dies with stack overflow error if rootdir isn't qualified
> ----------------------------------------------------------------------
>
>                 Key: HBASE-575
>                 URL: https://issues.apache.org/jira/browse/HBASE-575
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.1.1
>            Reporter: Michael Bieniosek
>            Assignee: Jim Kellerman
>            Priority: Blocker
>             Fix For: 0.1.2
>
>
> With a relative rootdir (/hbase/), the hbase master throws this on startup:
> 08/04/11 17:53:00 ERROR hbase.HMaster: Can not start master
> java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at org.apache.hadoop.hbase.HMaster.doMain(HMaster.java:3329)
>         at org.apache.hadoop.hbase.HMaster.main(HMaster.java:3363)
> Caused by: java.lang.StackOverflowError
>         at java.net.URI$Parser.checkChars(Unknown Source)

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