In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Logging initialized using configuration in jar Vele fileVlue Unitur hiveAccording to apacheMurveMou1.1.0 LBUBINGUBUBUBUBUBUBUBUBUBUBUR
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/hadoop-2.5.2/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jarr _ r _ r _ r]
SLF4J: Found binding in [jarVera fileVele Velcro HivePlus apacheMuhiveMou1.1.0 LBINBINGUP]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[ERROR] Terminal initialization failed; falling back to unsupported
Java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
At jline.TerminalFactory.create (TerminalFactory.java:101)
At jline.TerminalFactory.get (TerminalFactory.java:158)
At jline.console.ConsoleReader. (ConsoleReader.java:229)
At jline.console.ConsoleReader. (ConsoleReader.java:221)
At jline.console.ConsoleReader. (ConsoleReader.java:209)
At org.apache.hadoop.hive.cli.CliDriver.getConsoleReader (CliDriver.java:773)
At org.apache.hadoop.hive.cli.CliDriver.executeDriver (CliDriver.java:715)
At org.apache.hadoop.hive.cli.CliDriver.run (CliDriver.java:675)
At org.apache.hadoop.hive.cli.CliDriver.main (CliDriver.java:615)
At sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethod)
At sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:57)
At sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
At java.lang.reflect.Method.invoke (Method.java:606)
At org.apache.hadoop.util.RunJar.main (RunJar.java:212)
The reason is that there is an old version of jline in the hadoop directory:
/ hadoop-2.5.2/share/hadoop/yarn/lib:
-rw-r--r-- 1 root root 87325 Mar 10 18:10 jline-0.9.94.jar
The solution is:
Copy the JAR package of the new version of jline under hive to hadoop:
Cp / hive/apache-hive-1.1.0-bin/lib/jline-2.12.jar. /
/ hadoop-2.5.2/share/hadoop/yarn/lib:
-rw-r--r-- 1 root root 87325 Mar 10 18:10 jline-0.9.94.jar.bak
-rw-r--r-- 1 root root 213854 Mar 11 22:22 jline-2.12.jar
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.