Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.95.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When I tried to use graceful rolling restart, I got:

      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.
      

      It turns out that there is extra { in bin/hbase:

      if [ "${HBASE_NOEXEC}" != "" ]; then
        "$JAVA" -Dproc_$COMMAND {-XX:OnOutOfMemoryError="kill -9 %p" $JAVA_HEAP_MAX $HBASE_OPTS -classpath "$CLASSPATH" $CLASS "$@"
      
      1. 8686.txt
        0.6 kB
        Ted Yu

        Activity

        Hide
        Hudson added a comment -

        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
        Show
        Hudson added a comment - 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
        Hide
        Hudson added a comment -

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

        Result = SUCCESS
        stack :
        Files :

        • /hbase/branches/0.95/bin/hbase
        Show
        Hudson added a comment - Integrated in hbase-0.95 #231 (See https://builds.apache.org/job/hbase-0.95/231/ ) HBASE-8686 Extra left brace in bin/hbase (Revision 1491018) Result = SUCCESS stack : Files : /hbase/branches/0.95/bin/hbase
        Hide
        stack added a comment -

        Committed to 0.95 too.

        Show
        stack added a comment - Committed to 0.95 too.
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #554 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/554/)
        HBASE-8686 Extra left brace in bin/hbase (Ted Yu) (Revision 1489635)

        Result = FAILURE
        tedyu :
        Files :

        • /hbase/trunk/bin/hbase
        Show
        Hudson added a comment - Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #554 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/554/ ) HBASE-8686 Extra left brace in bin/hbase (Ted Yu) (Revision 1489635) Result = FAILURE tedyu : Files : /hbase/trunk/bin/hbase
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK #4157 (See https://builds.apache.org/job/HBase-TRUNK/4157/)
        HBASE-8686 Extra left brace in bin/hbase (Ted Yu) (Revision 1489635)

        Result = SUCCESS
        tedyu :
        Files :

        • /hbase/trunk/bin/hbase
        Show
        Hudson added a comment - Integrated in HBase-TRUNK #4157 (See https://builds.apache.org/job/HBase-TRUNK/4157/ ) HBASE-8686 Extra left brace in bin/hbase (Ted Yu) (Revision 1489635) Result = SUCCESS tedyu : Files : /hbase/trunk/bin/hbase
        Hide
        Ted Yu added a comment -

        Integrated to trunk.

        Thanks for the review, Enis.

        Show
        Ted Yu added a comment - Integrated to trunk. Thanks for the review, Enis.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12586156/8686.txt
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +1 hadoop1.0. The patch compiles against the hadoop 1.0 profile.

        +1 hadoop2.0. The patch compiles against the hadoop 2.0 profile.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 lineLengths. The patch introduces lines longer than 100

        +1 site. The mvn site goal succeeds with this patch.

        +1 core tests. The patch passed unit tests in .

        Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
        Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12586156/8686.txt against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 hadoop1.0 . The patch compiles against the hadoop 1.0 profile. +1 hadoop2.0 . The patch compiles against the hadoop 2.0 profile. +1 javadoc . The javadoc tool did not generate any warning messages. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 lineLengths . The patch introduces lines longer than 100 +1 site . The mvn site goal succeeds with this patch. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/5933//console This message is automatically generated.
        Hide
        Enis Soztutar added a comment -

        +1.

        Show
        Enis Soztutar added a comment - +1.

          People

          • Assignee:
            Ted Yu
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development