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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • build
    • None
    • Ubuntu 18.04 x86_64 running in a VM with 4 CPUs / 8 GBs RAM / 128 GB disk.  

    • 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

        1. HADOOP-15802.001.patch
          0.6 kB
          Jon Boone

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment