Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16240

start-build-env.sh can consume all disk space during image creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0, 3.2.1
    • 3.3.0
    • build
    • None
    • macOS Mojave 10.14.4

    • Reviewed

    Description

      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.

       

      Attachments

        1. HADOOP-16240.001.patch
          0.8 kB
          Craig Condit

        Activity

          People

            ccondit Craig Condit
            ccondit Craig Condit
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: