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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      macOS Mojave 10.14.4

    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: