当前位置: 首页 > 工具软件 > JLine > 使用案例 >

运行pig出错Unhandled internal error. Found interface jline.Terminal, but class was expected

公西运良
2023-12-01

运行pig时报如下错误

2015-07-14 10:41:12,869 [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,然后将{PIG_HOME}/lib下的jline拷到{HADOOP_HOME}/share/hadoop/yarn/lib下,重启hadoop,再启动pig,就可以正常启动了


 类似资料: