Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9476

Beeline fails to start on trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 0.15.0
    • Fix Version/s: 1.1.0
    • Component/s: Beeline
    • Labels:
      None

      Description

      vgumashta:hive vgumashta$ beeline --verbose=true
      [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 org.apache.hive.beeline.BeeLineOpts.<init>(BeeLineOpts.java:73)
      	at org.apache.hive.beeline.BeeLine.<init>(BeeLine.java:117)
      	at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:469)
      	at org.apache.hive.beeline.BeeLine.main(BeeLine.java:453)
      	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)
      
      Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected
      	at org.apache.hive.beeline.BeeLineOpts.<init>(BeeLineOpts.java:101)
      	at org.apache.hive.beeline.BeeLine.<init>(BeeLine.java:117)
      	at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:469)
      	at org.apache.hive.beeline.BeeLine.main(BeeLine.java:453)
      	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)
      

      Working fine on 14.1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                damien.carol Damien Carol
                Reporter:
                vgumashta Vaibhav Gumashta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: