[
https://issues.apache.org/jira/browse/HADOOP-18682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17813672#comment-17813672
]
ASF GitHub Bot commented on HADOOP-18682:
-----------------------------------------
xBis7 commented on PR #6483:
URL: https://github.com/apache/hadoop/pull/6483#issuecomment-1923807455
These are the times from my local machine. Someone with a more powerful CPU
or a different OS will be getting different times but the spread, with and
without the `dist` profile, will be analogous.
* trunk
* Without `-Pdist`
```shell
> mvn clean install -Dmaven.javadoc.skip=true -DskipTests -DskipShade
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:06 min
```
* With `-Pdist`
```shell
> mvn clean install -Dmaven.javadoc.skip=true -DskipTests -DskipShade
-Pdist,src
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:49 min
```
* this branch
* Without `-Pdist`
```shell
> mvn clean install -Dmaven.javadoc.skip=true -DskipTests -DskipShade
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:34 min
```
<img
src="https://github.com/apache/hadoop/assets/74301312/c1bfdd11-7b8f-42d0-b615-69ee8bd50907"
width="300"/>
* With `-Pdist`
```shell
> mvn clean install -Dmaven.javadoc.skip=true -DskipTests -DskipShade
-Pdist,src
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:30 min
```
<img
src="https://github.com/apache/hadoop/assets/74301312/5036c39a-20b2-45f4-b7c8-cc98aae4f930"
width="300"/>
Without the `dist` profile, docker is still built but there are no dist
files to be used for the containers and therefore starting the environment will
fail.
> Move hadoop docker scripts under the main source code
> -----------------------------------------------------
>
> Key: HADOOP-18682
> URL: https://issues.apache.org/jira/browse/HADOOP-18682
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Christos Bisias
> Priority: Major
> Labels: pull-request-available
>
> Exploratory:
> Coming from https://github.com/apache/hadoop/pull/5514
> We have docker scripts maintained in a different branch. We can explore them
> to have as part of dev-support in our main source code.
> They can be used for new users to try the code without the headache of
> building and doing crazy stuff, and can help in dev testing as well
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]