1. After installing hive, it can’t start and reports the following error
[ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChangeError: Found class jline
The reason is the presence of an old version of jline in the hadoop directory.
/hadoop-2.6.5/share/hadoop/yarn/lib:
-rw-r–r– 1 wkz wkz 87325 Mar 10 18:10 jline-0.9.94.jar
Solution:
Copy the JAR package of the new version of jline under hive to hadoop at.
cp /hive/lib/jline-2.12.jar ./
/hadoop-2.6.5/share/hadoop/yarn/lib:
-rw-r–r– 1 wkz wkz 87325 Mar 10 18:10 jline-0.9.94.jar
-rw-r–r– 1 wkz wkz 213854 Mar 11 22:22 jline-2.12.jar
Then delete the old jline-0.9.94.jar package, or rename it and start successfully.
————————————————
Read More:
- Hbase Shell startup error: [ERROR] Terminal initialization failed; falling back to unsupported
- [Maven Error] Exception in thread “main” java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
- Hive ERROR Failed with exception java.io.IOException:java.lang.IllegalArgumentException
- [Solved] java.lang.reflect.InaccessibleObjectException: Unable to make protected java.net.http.HttpRequest()…
- Hive Error: FAILED: RuntimeException Error loading hooks(hive.exec.post.hooks): java.lang.ClassNotFoundException: org.apache.atlas.hive.hook.HiveHook
- [Solved] Hive tez due to: ROOT_INPUT_INIT_FAILURE java.lang.IllegalArgumentException: Illegal Capacity: -38297
- [Solved] Failed to bind properties under ‘spring.datasource.type‘ to java.lang.Class<javax.sql.DataSource>
- [Solved] swagger3 Error: org.springframework.context.ApplicationContextException: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException
- [Solved] .java.lang.IllegalArgumentException: requirement failed: Can only call getServletHandlers on a runn
- Java.lang.AbstractMethodError: org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout()Ljava/lang/Integer; error resolution
- [Solved] Schema initialization FAILED Metastore state would be inconsistent
- [Solved] java.lang.UnsatisfiedLinkError: dlopen failed: /lib/arm64/libc++_shared.so not found
- [Solved] Hadoop error java.lang.nosuchmethoderror
- [Solved] Flume Error: java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
- [Solved] java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/util/ByteArrayBuffer
- [Solved] Non-fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library “libmmkv.so“ not found
- [Solved] Request processing failed; nested exception is java.lang.NullPointerException
- NestedServletException, Handler dispatch failed; nested exception is java.lang.StackOverflowError [Solved]
- [HBase Error]“java.lang.OutOfMemoryError: Requested array size exceeds VM limit”