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

make hadoop script recognize a full set of deprecated commands

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: