Hadoop Common
  1. Hadoop Common
  2. HADOOP-8214

make hadoop script recognize a full set of deprecated commands

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 2.0.0-alpha, 0.23.7
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      bin/hadoop launcher script does a nice job of recognizing deprecated usage and vectoring users towards the proper command line tools (hdfs, mapred). It would be nice if we can take care of the following deprecated commands that don't get the same special treatment:

        oiv                  apply the offline fsimage viewer to an fsimage
        dfsgroups            get the groups which users belong to on the Name Node
        mrgroups             get the groups which users belong to on the Job Tracker
        mradmin              run a Map-Reduce admin client
        jobtracker           run the MapReduce job Tracker node
        tasktracker          run a MapReduce task Tracker node
      

      Here's what I propos to do with them:

      1. oiv – issue DEPRECATED warning and run hdfs oiv
      2. dfsgroups – issue DEPRECATED warning and run hdfs groups
      3. mrgroups – issue DEPRECATED warning and run mapred groups
      4. mradmin – issue DEPRECATED warning and run yarn rmadmin
      5. jobtracker – issue DEPRECATED warning and do nothing
      6. tasktracker-- issue DEPRECATED warning and do nothing

      Thoughts?

      1. HADOOP-8214.patch.txt
        2 kB
        Roman Shaposhnik

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Roman Shaposhnik
            Reporter:
            Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development