首页 > 代码库 > Pig错误:ERROR 2998: Unhandled internal error. Found interface jline.Terminal, but class was expected

Pig错误:ERROR 2998: Unhandled internal error. Found interface jline.Terminal, but class was expected

运行Pig时出现这个错误:

[main] ERROR org.apache.pig.Main - ERROR 2998: Unhandled internal error. Found interface jline.Terminal, but class was expected

解决的办法是把${HADOOP_HOME}/share/hadoop/yarn/lib下的jline-2.1.1.jar删除掉,再重启Hadoop就可以了。

Pig错误:ERROR 2998: Unhandled internal error. Found interface jline.Terminal, but class was expected