Whirr
  1. Whirr
  2. WHIRR-178

[Hadoop] Guard useradd against existing user account

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0
    • Component/s: None
    • Labels:
      None

      Description

      When sharing clusters with other services there may be a race to create the user "hadoop". Add a check that tests before adding the user.

      1. WHIRR-178.patch
        0.9 kB
        Lars George

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          7d 19h 24m 1 Tom White 03/Jan/11 05:25
          Gavin made changes -
          Link This issue depends upon WHIRR-25 [ WHIRR-25 ]
          Gavin made changes -
          Link This issue depends on WHIRR-25 [ WHIRR-25 ]
          Tom White made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Tom White added a comment -

          I've just committed this. Thanks Lars!

          Show
          Tom White added a comment - I've just committed this. Thanks Lars!
          Lars George made changes -
          Attachment WHIRR-178.patch [ 12466967 ]
          Hide
          Lars George added a comment -

          Adds extra check to see if user already exists.

          Show
          Lars George added a comment - Adds extra check to see if user already exists.
          Lars George made changes -
          Field Original Value New Value
          Link This issue depends on WHIRR-25 [ WHIRR-25 ]
          Lars George created issue -

            People

            • Assignee:
              Lars George
              Reporter:
              Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development