[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-15 Thread Attila Doroszlai (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786363#comment-17786363
 ] 

Attila Doroszlai commented on HADOOP-18973:
---

Thanks a lot [~ayushtkn]!

> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>  Labels: pull-request-available
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-15 Thread Ayush Saxena (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786362#comment-17786362
 ] 

Ayush Saxena commented on HADOOP-18973:
---

[~adoroszlai] done!!!

> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>  Labels: pull-request-available
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-15 Thread Attila Doroszlai (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786344#comment-17786344
 ] 

Attila Doroszlai commented on HADOOP-18973:
---

[~ayushsaxena], [~weichiu], can you please tag the new {{apache/hadoop:2}} 
docker image as {{apache/hadoop:2.10.2}} and {{apache/hadoop:2.10}}, too?

> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>  Labels: pull-request-available
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786233#comment-17786233
 ] 

ASF GitHub Bot commented on HADOOP-18973:
-

adoroszlai commented on PR #6273:
URL: https://github.com/apache/hadoop/pull/6273#issuecomment-1812006882

   Thanks @ayushtkn for the review.




> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>  Labels: pull-request-available
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-15 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17786232#comment-17786232
 ] 

ASF GitHub Bot commented on HADOOP-18973:
-

adoroszlai merged PR #6273:
URL: https://github.com/apache/hadoop/pull/6273




> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>  Labels: pull-request-available
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-18973) Clean yum cache after installing which in hadoop2 docker image

2023-11-14 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/HADOOP-18973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17785999#comment-17785999
 ] 

ASF GitHub Bot commented on HADOOP-18973:
-

adoroszlai opened a new pull request, #6273:
URL: https://github.com/apache/hadoop/pull/6273

   ## What changes were proposed in this pull request?
   
   * Clean yum cache after installing `which` to reduce image size by ~230MB.
   * Reorder installation of Hadoop and `which`.  Hadoop release bits are not 
going to change, but we may want to install other packages in the image.  The 
updated order reduces the number of image layers that have to be downloaded 
after such future change.
   
   https://issues.apache.org/jira/browse/HADOOP-18973
   
   ## How was this patch tested?
   
   ```
   $ docker pull apache/hadoop:2
   $ docker run -it --rm apache/hadoop:2 du -sh /var/cache/yum
   234M /var/cache/yum
   
   $ ./build.sh
   ...
   Successfully built c88de0d4d5c2
   Successfully tagged apache/hadoop:2
   
   $ docker run -it --rm apache/hadoop:2 du -sh /var/cache/yum
   64K  /var/cache/yum
   
   $ docker image ls | head -3
   REPOSITORYTAG
IMAGE ID   CREATED  SIZE
   apache/hadoop 2  
c88de0d4d5c2   9 minutes ago1.18GB
   apache/hadoop  
ba716169c882   49 minutes ago   1.43GB
   ```




> Clean yum cache after installing which in hadoop2 docker image
> --
>
> Key: HADOOP-18973
> URL: https://issues.apache.org/jira/browse/HADOOP-18973
> Project: Hadoop Common
>  Issue Type: Improvement
>Reporter: Attila Doroszlai
>Assignee: Attila Doroszlai
>Priority: Minor
>
> Minor addendum to HADOOP-18970: clean yum cache after installing {{which}} to 
> reduce image size by ~230MB.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org