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

make hadoop script recognize a full set of deprecated commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1
    • 2.0.0-alpha, 0.23.7
    • scripts
    • None
    • 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

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: