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

Add an option to suppress the 'use yarn jar' warning or remove it

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      https://issues.apache.org/jira/browse/HADOOP-11257 added a 'deprecation' warning for 'hadoop jar'.

      hadoop jar is used for a lot more that starting jobs. As an example - hive uses it to start all it's services (HiveServer2, the hive client, beeline etc).
      Using 'yarn jar' for to start these services / tools doesn't make a lot of sense - there's no relation to yarn other than requiring the classpath to include yarn libraries.

      I'd propose reverting the changes where this message is printed if YARN variables are set (leave it in the help message), or adding a mechanism which would allow users to suppress this WARNING.

        Attachments

        1. HADOOP-13335.05.trunk.patch
          1 kB
          Siddharth Seth
        2. HADOOP-13335.05.branch-2.patch
          1 kB
          Siddharth Seth
        3. HADOOP-13335.04.patch
          2 kB
          Siddharth Seth
        4. HADOOP-13335.03.patch
          2 kB
          Siddharth Seth
        5. HADOOP-13335.03_branch-2.patch
          2 kB
          Siddharth Seth
        6. HADOOP-13335.02.patch
          2 kB
          Siddharth Seth
        7. HADOOP-13335.02_branch-2.patch
          2 kB
          Siddharth Seth
        8. HADOOP-13335.01.patch
          2 kB
          Siddharth Seth

          Issue Links

            Activity

              People

              • Assignee:
                sseth Siddharth Seth
                Reporter:
                sseth Siddharth Seth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: