Github user scwf commented on the pull request:

    https://github.com/apache/spark/pull/3124#issuecomment-65351311
  
    Hi @pwendell, Beeline relies on the ```Implementation-Version``` field in 
the manifest to inspect version info. And my other PR fixed the manifest 
issue(#3103) of maven building, after that PR the manifest of assembly jar is 
as follows:  
    ```
    Manifest-Version: 1.0
    Implementation-Vendor: org.apache.spark
    Implementation-Title: spark-assembly
    Implementation-Version: 1.2.0-SNAPSHOT
    Implementation-Vendor-Id: org.apache.spark
    Specification-Vendor: org.apache.spark
    Specification-Title: spark-assembly
    Specification-Version: 1.2.0-SNAPSHOT
    ```, which is same with manifest of SBT assembly jar.
    
    The problem of using assembly jar is that Hive beeline version will be 
```1.2.0-SNAPSHOT``` since it read it from the manifest file of assembly jar. 
But we need the correct version of hive beeline, which should be ```0.13.1a```, 
so here i  exclud hive-beeline from the assembly jar. 
    
    We can not read the right version if using assembly jar 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to