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

start-build-env.sh creates an invalid /etc/sudoers.d/hadoop-build-${USER_ID} file entry

    Details

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

      Ubuntu 18.04 x86_64 running in a VM with 4 CPUs / 8 GBs RAM / 128 GB disk.  

    • Hadoop Flags:
      Reviewed

      Description

      In my Ubuntu 18.04 dev VM, I cloned the hadoop repo and ran the start-build-env.sh script.  Once the docker build was completed and the container running, I tried to sudo and it failed.  Upon investigation, I discovered that it was creating an entry in /etc/sudoers.d/hadoop-build-${USER_ID} that contained the characters '\t' rather than a tab.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonBoone Jon Boone
                Reporter:
                jonBoone Jon Boone
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: