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

Support configurable user name and group name validation patterns in chown and chgrp shell commands.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:

      Description

      The chown and chgrp shell commands enforce a valid set of characters for user names and group names. The validation rules for user names and group names vary across different OSes, so this is a portability problem and a maintenance burden. It requires us to change the code every time we discover a difference in the rules. I propose that we remove this validation logic and instead pass through input user names and group names to the OS. We can handle error reporting by catching errors returned from the OS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: