izchen opened a new pull request, #149:
URL: https://github.com/apache/incubator-uniffle/pull/149

   ### What changes were proposed in this pull request?
   
   Tag Spark and Hadoop version in release package.
   
   1. Add version information to client jar name
   2. Add version information in RELEASE file
   
   
   
   An example:
   
   ```
   ./build_distribution.sh --spark3-profile 'spark3.0' --spark3-mvn '-Dx.x1=1 
-Dspark.version=3.0.2' -Dhadoop.version=2.8.0 -Dx.x2=2
   ```
   
   Before PR:
   
   ```
   $ tree jars/client
   jars/client
   ├── mr
   │   └── rss-client-mr-0.6.0-snapshot-shaded.jar
   ├── spark2
   │   └── rss-client-spark2-0.6.0-snapshot-shaded.jar
   └── spark3
       └── rss-client-spark3-0.6.0-snapshot-shaded.jar
       
   $ cat RELEASE
   RSS 0.6.0-snapshot (git revision 04cbdbb) built
   Build flags: -Dhadoop.version=2.8.0 -Dx.x3=3    
   ```
   
   After PR:
   
   ```
   $ tree jars/client
   jars/client
   ├── mr
   │   └── rss-client-mr2.8.0-0.6.0-snapshot-shaded.jar
   ├── spark2
   │   └── rss-client-spark2.4.6-0.6.0-snapshot-shaded.jar
   └── spark3
       └── rss-client-spark3.0.2-0.6.0-snapshot-shaded.jar
       
   $ cat RELEASE
   RSS 0.6.0-snapshot (git revision 27032c1) built for Hadoop 2.8.0 Spark2 
2.4.6 Spark3 3.0.2
   Build flags: --spark2-profile 'spark2' --spark2-mvn '' --spark3-profile 
'spark3.0' --spark3-mvn '-Dx.x1=1 -Dspark.version=3.0.2' -Dhadoop.version=2.8.0 
-Dx.x2=2
   ```
   
   ### Why are the changes needed?
   
   Unable to determine spark and hadoop version of release package, which may 
cause confusion in usage.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. 
   
   Changed client jar name.
   
   
   ### How was this patch tested?
   
   local test
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to