You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Anu Engineer (JIRA)" <ji...@apache.org> on 2019/04/08 21:58:00 UTC

[jira] [Commented] (HADOOP-16240) start-build-env.sh can consume all disk space during image creation

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

Anu Engineer commented on HADOOP-16240:
---------------------------------------

+1, I will commit this as soon as we have Jenkins run. Jenkins does not run on MacOS. So I will run this locally before committing, Jenkins run is just to ensure that there are no regressions. Thanks for your contribution.

> start-build-env.sh can consume all disk space during image creation
> -------------------------------------------------------------------
>
>                 Key: HADOOP-16240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16240
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.3.0, 3.2.1
>         Environment: macOS Mojave 10.14.4
>            Reporter: Craig Condit
>            Priority: Minor
>         Attachments: HADOOP-16240.001.patch
>
>
> The start-build-env.sh creates a Docker image and creates a user within it which maps to the user ID from the host. In the case where the host UID is very large (> 1 billion or so, not uncommon in large AD deployments), the resultant image fails to build due to /var/log/lastlog and /var/log/faillog growing to consume all available disk space.
> These files are not necessary for the build process and if they do not exist, they will not be grown.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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