hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8686) Extra left brace in bin/hbase
Date Sun, 09 Jun 2013 00:17:20 GMT

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

Hudson commented on HBASE-8686:
-------------------------------

Integrated in hbase-0.95-on-hadoop2 #126 (See [https://builds.apache.org/job/hbase-0.95-on-hadoop2/126/])
    HBASE-8686 Extra left brace in bin/hbase (Revision 1491018)

     Result = FAILURE
stack : 
Files : 
* /hbase/branches/0.95/bin/hbase

                
> Extra left brace in bin/hbase
> -----------------------------
>
>                 Key: HBASE-8686
>                 URL: https://issues.apache.org/jira/browse/HBASE-8686
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: 8686.txt
>
>
> When I tried to use graceful rolling restart, I got:
> {code}
> Unloading hor8n00.gq1.ygridcore.net region(s)
> Exception in thread "main" java.lang.NoClassDefFoundError: {-XX:OnOutOfMemoryError=kill
-9 %p
> Caused by: java.lang.ClassNotFoundException: {-XX:OnOutOfMemoryError=kill -9 %p
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: {-XX:OnOutOfMemoryError=kill -9 %p.  Program will exit.
> {code}
> It turns out that there is extra { in bin/hbase:
> {code}
> if [ "${HBASE_NOEXEC}" != "" ]; then
>   "$JAVA" -Dproc_$COMMAND {-XX:OnOutOfMemoryError="kill -9 %p" $JAVA_HEAP_MAX $HBASE_OPTS
-classpath "$CLASSPATH" $CLASS "$@"
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message