10.5.15

java - hive startup -[ERROR] Terminal initialization failed; falling back to unsupported - Stack Overflow

I had the same problem and got it working from this link:

https://cwiki.apache.org/confluence/display/Hive/Hive+on+Spark%3A+Getting+Started

Hive has upgraded to Jline2 but jline 0.9x exists in the Hadoop lib.
So you should follow these steps:

Delete jline from the Hadoop lib directory (it's only pulled in transitively from ZooKeeper).
export HADOOP_USER_CLASSPATH_FIRST=true
shareimprove this answer
answered Mar 13 at 19:03

Rodrigo Salvo
1113
4
This worked for me without even deleting jline jar, only HADOOP_USER_CLASSPATH_FIRST=true did the trick –  ThinkFloyd Apr 7 at 12:21
 
this worked for me too –  zhaozhi Apr 22 at 7:24

No comments: