Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: scripts
    • Labels:
    • Release Note:
      Hide
      <!-- markdown -->

      | Old | New |
      |:---- |:---- |
      | HADOOP\_HDFS\_LOG\_DIR | HADOOP\_LOG\_DIR |
      | HADOOP\_HDFS\_LOGFILE | HADOOP\_LOGFILE |
      | HADOOP\_HDFS\_NICENESS | HADOOP\_NICENESS |
      | HADOOP\_HDFS\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
      | HADOOP\_HDFS\_PID\_DIR | HADOOP\_PID\_DIR |
      | HADOOP\_HDFS\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
      | HADOOP\_HDFS\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
      | HADOOP\_MAPRED\_LOG\_DIR | HADOOP\_LOG\_DIR |
      | HADOOP\_MAPRED\_LOGFILE | HADOOP\_LOGFILE |
      | HADOOP\_MAPRED\_NICENESS | HADOOP\_NICENESS |
      | HADOOP\_MAPRED\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
      | HADOOP\_MAPRED\_PID\_DIR | HADOOP\_PID\_DIR |
      | HADOOP\_MAPRED\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
      | HADOOP\_MAPRED\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
      | YARN\_CONF\_DIR | HADOOP\_CONF\_DIR |
      | YARN\_LOG\_DIR | HADOOP\_LOG\_DIR |
      | YARN\_LOGFILE | HADOOP\_LOGFILE |
      | YARN\_NICENESS | HADOOP\_NICENESS |
      | YARN\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT |
      | YARN\_PID\_DIR | HADOOP\_PID\_DIR |
      | YARN\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER |
      | YARN\_IDENT\_STRING | HADOOP\_IDENT\_STRING |
      | YARN\_OPTS | HADOOP\_OPTS |
      | YARN\_SLAVES | HADOOP\_SLAVES |
      | YARN\_USER\_CLASSPATH | HADOOP\_CLASSPATH |
      | YARN\_USER\_CLASSPATH\_FIRST | HADOOP\_USER\_CLASSPATH\_FIRST |
      | KMS\_CONFIG | HADOOP\_CONF\_DIR |
      | KMS\_LOG | HADOOP\_LOG\_DIR |
      Show
      <!-- markdown --> | Old | New | |:---- |:---- | | HADOOP\_HDFS\_LOG\_DIR | HADOOP\_LOG\_DIR | | HADOOP\_HDFS\_LOGFILE | HADOOP\_LOGFILE | | HADOOP\_HDFS\_NICENESS | HADOOP\_NICENESS | | HADOOP\_HDFS\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT | | HADOOP\_HDFS\_PID\_DIR | HADOOP\_PID\_DIR | | HADOOP\_HDFS\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER | | HADOOP\_HDFS\_IDENT\_STRING | HADOOP\_IDENT\_STRING | | HADOOP\_MAPRED\_LOG\_DIR | HADOOP\_LOG\_DIR | | HADOOP\_MAPRED\_LOGFILE | HADOOP\_LOGFILE | | HADOOP\_MAPRED\_NICENESS | HADOOP\_NICENESS | | HADOOP\_MAPRED\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT | | HADOOP\_MAPRED\_PID\_DIR | HADOOP\_PID\_DIR | | HADOOP\_MAPRED\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER | | HADOOP\_MAPRED\_IDENT\_STRING | HADOOP\_IDENT\_STRING | | YARN\_CONF\_DIR | HADOOP\_CONF\_DIR | | YARN\_LOG\_DIR | HADOOP\_LOG\_DIR | | YARN\_LOGFILE | HADOOP\_LOGFILE | | YARN\_NICENESS | HADOOP\_NICENESS | | YARN\_STOP\_TIMEOUT | HADOOP\_STOP\_TIMEOUT | | YARN\_PID\_DIR | HADOOP\_PID\_DIR | | YARN\_ROOT\_LOGGER | HADOOP\_ROOT\_LOGGER | | YARN\_IDENT\_STRING | HADOOP\_IDENT\_STRING | | YARN\_OPTS | HADOOP\_OPTS | | YARN\_SLAVES | HADOOP\_SLAVES | | YARN\_USER\_CLASSPATH | HADOOP\_CLASSPATH | | YARN\_USER\_CLASSPATH\_FIRST | HADOOP\_USER\_CLASSPATH\_FIRST | | KMS\_CONFIG | HADOOP\_CONF\_DIR | | KMS\_LOG | HADOOP\_LOG\_DIR |

      Description

      It is a very common shell pattern in 3.x to effectively replace sub-project specific vars with generics. We should have a function that does this replacement and provides a warning to the end user that the old shell var is deprecated. Additionally, we should use this shell function to deprecate the shell vars that are holdovers already.

        Attachments

        1. HADOOP-11460-04.patch
          26 kB
          John Smith
        2. HADOOP-11460-03.patch
          26 kB
          John Smith
        3. HADOOP-11460-02.patch
          24 kB
          Allen Wittenauer
        4. HADOOP-11460-01.patch
          18 kB
          Allen Wittenauer
        5. HADOOP-11460-00.patch
          7 kB
          Allen Wittenauer

          Issue Links

            Activity

              People

              • Assignee:
                pocky John Smith
                Reporter:
                aw Allen Wittenauer
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: