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

fix jsvc/secure user var inconsistencies

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      <!-- markdown -->

      The secure user variables have been changed to be consistent with the rest of the environment variable changes:

      | Old | New |
      |:---- |:---- |
      | HADOOP\_SECURE\_DN\_USER | HDFS\_DATANODE\_SECURE\_USER |
      | HADOO\P_PRIVILEGED\_NFS\_USER | HDFS\_NFS3\_SECURE\_USER |
      Show
      <!-- markdown --> The secure user variables have been changed to be consistent with the rest of the environment variable changes: | Old | New | |:---- |:---- | | HADOOP\_SECURE\_DN\_USER | HDFS\_DATANODE\_SECURE\_USER | | HADOO\P_PRIVILEGED\_NFS\_USER | HDFS\_NFS3\_SECURE\_USER |

      Description

      Post-HADOOP-13341 and (more importantly) HADOOP-13673, there has been a major effort on making the configuration environment variables consistent among all the projects. The vast majority of vars now look like (command)(subcommand)(etc). Two hold outs are HADOOP_SECURE_DN_USER and HADOOP_PRIVILEGED_NFS_USER.

      Additionally, there is

      • no generic handling
      • no documentation for anyone
      • no safety checks to make sure things are defined

      In order to fix all of this, we should:

      • deprecate the previous vars using the deprecation function, updating the HDFS documentation that references them
      • add generic (command)_(subcommand)_SECURE_USER support
      • add some verification for the previously mentioned var
      • add some docs to UnixShellGuide.md

        Attachments

        1. HADOOP-14202.00.patch
          54 kB
          Allen Wittenauer
        2. HADOOP-14202.01.patch
          58 kB
          Allen Wittenauer
        3. HADOOP-14202.02.patch
          59 kB
          Allen Wittenauer
        4. HADOOP-14202.03.patch
          68 kB
          Allen Wittenauer
        5. HADOOP-14202.04.patch
          68 kB
          Allen Wittenauer

          Issue Links

            Activity

              People

              • Assignee:
                aw Allen Wittenauer
                Reporter:
                aw Allen Wittenauer
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: