Hive startup error: Foundclassjline. Terminal, butinterfacewasexpe

Source: Internet
Author: User
Hive startup error: Foundclassjline. Terminal, butinterfacewasexpected

Hive startup error: Found class jline. Terminal, but interface was expected

Homepage → Database Technology

Background:

Read News

Hive startup error: Found class jline. Terminal, but interface was expected

[Date: 2015-10-05] Source: Linux community Author: Bai Qiao [Font:]

Faults:

[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.exe cuteDriver (CliDriver. java: 715)
At org. apache. hadoop. hive. cli. CliDriver. run (client driver. java: 675)
At org. apache. hadoop. hive. cli. CliDriver. main (client driver. java: 615)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
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)

Condition:

Hive1.2.1

Hadoop2.6.0

Cause:

The hadoop directory contains the old version jline:
/Hadoop-2.6.0/share/hadoop/yarn/lib:
-Rw-r -- 1 root 87325 Mar 10 jline-0.9.94.jar

Solution:

Cp/hive/apache-hive-1.1.0-bin/lib/jline-2.12.jar/hadoop-2.5.2/share/hadoop/yarn/lib

Hive programming guide PDF (Chinese Version)

Hadoop cluster-based Hive Installation

Differences between Hive internal tables and external tables

Hadoop + Hive + Map + reduce cluster installation and deployment

Install in Hive local standalone Mode

WordCount word statistics for Hive Learning

Hive operating architecture and configuration and deployment

Hive details: click here
Hive: click here

This article permanently updates the link address:

  • 0
  • Oracle Database Import and export practices

    Master-slave replication for different MongoDB versions

    Hive startup Error

    Image Information

    View All comments in this article (0)

    Comments

    Latest Information

    Popular this week

    Introduction to Linux community-advertisement service-website map-help Info-contact us
    The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.


    Copyright©2006-2015 Linux community All rights reserved Shanghai ICP filing no. 15008072-1

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.