hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-21109) hbase won't start (java.lang.ArrayIndexOutOfBoundsException)
Date Fri, 24 Aug 2018 12:23:00 GMT
arb created HBASE-21109:
---------------------------

             Summary: hbase won't start (java.lang.ArrayIndexOutOfBoundsException)
                 Key: HBASE-21109
                 URL: https://issues.apache.org/jira/browse/HBASE-21109
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: arb


HBASE won't start and gives a Java error when I try in Java 9 but seems to start in Java 8

The error is:

~/Downloads/hbase-2.1.0$ export JAVA_HOME=/usr
~/Downloads/hbase-2.1.0$ bin/start-hbase.sh script
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64
 at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983)
 at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/JarFile.java:1017)
 at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.java:399)
 at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524)
 at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:480)
 at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIndex.java:114)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:640)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:632)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.URLClassPath$JarLoader.ensureOpen(java.base@9-internal/URLClassPath.java:631)
 at jdk.internal.loader.URLClassPath$JarLoader.<init>(java.base@9-internal/URLClassPath.java:606)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:386)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:376)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLClassPath.java:375)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLClassPath.java:352)
 at jdk.internal.loader.URLClassPath.getResource(java.base@9-internal/URLClassPath.java:218)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/BuiltinClassLoader.java:463)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/BuiltinClassLoader.java:460)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-internal/BuiltinClassLoader.java:459)
 at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-internal/BuiltinClassLoader.java:406)
 at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:364)
 at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
 at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
 at sun.launcher.LauncherHelper.loadMainClass(java.base@9-internal/LauncherHelper.java:585)
 at sun.launcher.LauncherHelper.checkAndLoadMain(java.base@9-internal/LauncherHelper.java:497)
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64
 at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983)
 at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/JarFile.java:1017)
 at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.java:399)
 at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524)
 at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:480)
 at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIndex.java:114)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:640)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:632)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.URLClassPath$JarLoader.ensureOpen(java.base@9-internal/URLClassPath.java:631)
 at jdk.internal.loader.URLClassPath$JarLoader.<init>(java.base@9-internal/URLClassPath.java:606)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:386)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassPath.java:376)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLClassPath.java:375)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLClassPath.java:352)
 at jdk.internal.loader.URLClassPath.getResource(java.base@9-internal/URLClassPath.java:218)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/BuiltinClassLoader.java:463)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/BuiltinClassLoader.java:460)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
 at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-internal/BuiltinClassLoader.java:459)
 at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-internal/BuiltinClassLoader.java:406)
 at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:364)
 at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
 at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
 at sun.launcher.LauncherHelper.loadMainClass(java.base@9-internal/LauncherHelper.java:585)
 at sun.launcher.LauncherHelper.checkAndLoadMain(java.base@9-internal/LauncherHelper.java:497)
running master, logging to /opr/Downloads/hbase-2.1.0/bin/../logs/hbase-opr-master-nagios.out
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64
 at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983)
 at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/JarFile.java:1017)
 at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.java:399)
 at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524)
 at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:480)
 at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIndex.java:114)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:640)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:632)
: running regionserver, logging to /opr/Downloads/hbase-2.1.0/bin/../logs/hbase-opr-regionserver-nagios.out
: Error: A JNI error has occurred, please check your installation and try again
: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64
: at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983)
: at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/JarFile.java:1017)
: at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.java:399)
: at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524)
: at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:480)
: at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIndex.java:114)
: at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:640)
: at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal/URLClassPath.java:632)
opr@nagios:~/Downloads/hbase-2.1.0$ more /opr/Downloads/hbase-2.1.0/bin/../logs/hbase-opr-regionserver-nagios.out
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 64
 at java.util.jar.JarFile.match(java.base@9-internal/JarFile.java:983)
 at java.util.jar.JarFile.checkForSpecialAttributes(java.base@9-internal/
JarFile.java:1017)
 at java.util.jar.JarFile.isMultiRelease(java.base@9-internal/JarFile.jav
a:399)
 at java.util.jar.JarFile.getEntry(java.base@9-internal/JarFile.java:524)
 at java.util.jar.JarFile.getJarEntry(java.base@9-internal/JarFile.java:4
80)
 at jdk.internal.util.jar.JarIndex.getJarIndex(java.base@9-internal/JarIn
dex.java:114)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal
/URLClassPath.java:640)
 at jdk.internal.loader.URLClassPath$JarLoader$1.run(java.base@9-internal
/URLClassPath.java:632)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Nati
ve Method)
 at jdk.internal.loader.URLClassPath$JarLoader.ensureOpen(java.base@9-int
ernal/URLClassPath.java:631)
 at jdk.internal.loader.URLClassPath$JarLoader.<init>(java.base@9-interna
l/URLClassPath.java:606)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassP
ath.java:386)
 at jdk.internal.loader.URLClassPath$3.run(java.base@9-internal/URLClassP
ath.java:376)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Nati
ve Method)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLCl
assPath.java:375)
 at jdk.internal.loader.URLClassPath.getLoader(java.base@9-internal/URLCl
assPath.java:352)
 at jdk.internal.loader.URLClassPath.getResource(java.base@9-internal/URL
ClassPath.java:218)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/Bui
ltinClassLoader.java:463)
 at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-internal/Bui
ltinClassLoader.java:460)
 at java.security.AccessController.doPrivileged(java.base@9-internal/Nati
ve Method)
 at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(jav
a.base@9-internal/BuiltinClassLoader.java:459)
 at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-in
ternal/BuiltinClassLoader.java:406)
 at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal
/BuiltinClassLoader.java:364)
 at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9
-internal/ClassLoaders.java:184)
 at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java
:419)
 at sun.launcher.LauncherHelper.loadMainClass(java.base@9-internal/Launch
erHelper.java:585)
 at sun.launcher.LauncherHelper.checkAndLoadMain(java.base@9-internal/Lau
ncherHelper.java:497)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message