File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed
hadoop-cloud-storage-project Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ Note that the site needs to be built in a second pass after other artifacts.
391391----------------------------------------------------------------------------------
392392Including Cloud Connector Dependencies in Distributions:
393393
394- Hadoop distributions include the hadoop modules need to work with data and services
394+ Hadoop distributions include the hadoop modules needed to work with data and services
395395on cloud infrastructure
396396
397397However, dependencies are omitted for all cloud connectors except hadoop-azure
@@ -400,15 +400,14 @@ For the latter two modules, it depends on shading options.
400400
401401For hadoop-aws the AWS SDK bundle.jar is omitted, but everything else is included.
402402
403-
404403Excluding the extra binaries:
405- * Keeps release artifact size below the limit of the ASF distribution network
404+ * Keeps release artifact size below the limit of the ASF distribution network.
406405* Reduces download and size overhead in docker usage.
407- * Reduces the CVE attack surface
406+ * Reduces the CVE attack surface and audit-related complaints about those same ScVES.
408407* Reduces the risk of classpath conflict.
409408
410409To produce a build with the specific desired dependencies, the build must be executed
411- with the relevant profile of ${module}-package.
410+ with the relevant profile of ${module}-package alongside the -Pdist profile .
412411
413412For example, a build with the hadoop-aws and hadoop-azure-datalake dependencies,
414413run with
Original file line number Diff line number Diff line change 3434 <module >hadoop-cos</module >
3535 <module >hadoop-huaweicloud</module >
3636 <module >hadoop-tos</module >
37- <module >hadoop-cloud-storage-dist</module >
3837 </modules >
3938
4039 <build >
5352 </plugin >
5453 </plugins >
5554 </build >
56-
55+ <profiles >
56+ <profile >
57+ <id >dist</id >
58+ <activation >
59+ <activeByDefault >false</activeByDefault >
60+ <property >
61+ <name >tar</name >
62+ </property >
63+ </activation >
64+ <modules >
65+ <module >hadoop-cloud-storage-dist</module >
66+ </modules >
67+ </profile >
68+ </profiles >
5769</project >
You can’t perform that action at this time.
0 commit comments