Github user ScrapCodes commented on the pull request:

    https://github.com/apache/spark/pull/3111#issuecomment-61952127
  
    I really have no clue how to solve jline dependency issue.
    
    We use jline 0.9.94(jline 1) in hive-cli and hive-thriftserver and scala 
repl uses jline2.12. They have different package structures for every class 
except Terminal(s).
    
    We can solve this problem in multiple ways 
    1) put both versions of jline on the class path. (This is dangerous, but 
considering we are not using Terminal from jline it should be okay. Saying 
without seeing what is inside hive-cli) But build system will not allow two 
artifacts with same name and different version. We can not solve this by 
shading one, atleast I am not sure if we can.
    2) hive-cli refers to jline1 internally, so if we exclude it we will see 
(Noclassdefs)
    3) This issue has nothing to do with multiple scala builds its just the 
problem with scala 2.11 since it depends on jline-jline-2.12 while scala 2.10 
depended on org.scala-lang_jline so both coexisted and it was okay then. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to