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

Rename/remove non-HADOOP_*, etc from the shell scripts

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      <!-- markdown -->
      The following shell environment variables have been deprecated:

      | Old | New |
      |:---- |:---- |
      | DEFAULT\_LIBEXEC\_DIR | HADOOP\_DEFAULT\_LIBEXEC\_DIR |
      | SLAVE\_NAMES | HADOOP\_SLAVE\_NAMES |
      | TOOL\_PATH | HADOOP\_TOOLS\_PATH |

      In addition:

      * DEFAULT\_LIBEXEC\_DIR will NOT be automatically transitioned to HADOOP\_DEFAULT\_LIBEXEC\_DIR and will require changes to any scripts setting that value. A warning will be printed to the screen if DEFAULT\_LIBEXEC\_DIR has been configured.
      * HADOOP\_TOOLS\_PATH is now properly handled as a multi-valued, Java classpath-style variable. Prior, multiple values assigned to TOOL\_PATH would not work a predictable manner.
      Show
      <!-- markdown --> The following shell environment variables have been deprecated: | Old | New | |:---- |:---- | | DEFAULT\_LIBEXEC\_DIR | HADOOP\_DEFAULT\_LIBEXEC\_DIR | | SLAVE\_NAMES | HADOOP\_SLAVE\_NAMES | | TOOL\_PATH | HADOOP\_TOOLS\_PATH | In addition: * DEFAULT\_LIBEXEC\_DIR will NOT be automatically transitioned to HADOOP\_DEFAULT\_LIBEXEC\_DIR and will require changes to any scripts setting that value. A warning will be printed to the screen if DEFAULT\_LIBEXEC\_DIR has been configured. * HADOOP\_TOOLS\_PATH is now properly handled as a multi-valued, Java classpath-style variable. Prior, multiple values assigned to TOOL\_PATH would not work a predictable manner.

      Description

      We should make an effort to clean up the shell env var name space by removing unsafe variables. See comments for list.

        Attachments

        1. HADOOP-10787.05.patch
          41 kB
          Allen Wittenauer
        2. HADOOP-10787.04.patch
          39 kB
          Allen Wittenauer
        3. HADOOP-10787.03.patch
          39 kB
          Allen Wittenauer
        4. HADOOP-10787.02.patch
          37 kB
          Allen Wittenauer
        5. HADOOP-10787.01.patch
          35 kB
          Allen Wittenauer
        6. HADOOP-10787.00.patch
          32 kB
          Allen Wittenauer

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: