花明

关注

Hive启动报错: Found class jline.Terminal, but interface was expected

花明

关注

阅读 69

2023-04-19


启动hive时报如下错误:

Hive启动报错: Found class jline.Terminal, but interface was expected_jar


 

条件:

hive1.2.1

 

hadoop2.5.2

 

原因:

 

hadoop目录下存在老版本jline:

/hadoop-2.5.2/share/hadoop/yarn/lib:

-rw-r--r-- 1 root root  87325 Mar 10 18:10 jline-0.9.94.jar

 

解决:

 

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

相关推荐

at小涛

Found interface org.elasticsearch.common.bytes.BytesReference, but class was expected

at小涛 44 0 0

sunflower821

Pig启动出现Unhandled internal error. jline.Terminal.getTerminal()Ljline/Terminal

sunflower821 28 0 0

老北京的热干面

Error 1 Expected class, delegate, enum, interface, or struct

老北京的热干面 108 0 0

小沙坨

spring项目启动时 报错 expected single matching bean but found 2

小沙坨 24 0 0

whiteMu

启动hive报错

whiteMu 82 0 0

_karen

启动hive报错no hbase in

_karen 165 0 0

花姐的职场人生

报错解决:RuntimeError: expected scalar type Long but found Float

花姐的职场人生 45 0 0

夏木之下

Hive启动时报错

夏木之下 135 0 0

简单聊育儿

Spark 报错 no Java class corresponding to Product with Serializable found

简单聊育儿 130 0 0

Raow1

bug hive Class com.hadoop.compression.lzo.LzoCodec not found

Raow1 71 0 0

精彩评论(0)

0 0 举报