Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6239

Fix javac warnings in YARN that caused by deprecated FileSystem APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • None
    • None

    Description

      There are some javac warnings generated after some FileSystem APIs which promote inefficient call patterns being deprecated in HADOOP-13321. The relevant warnings:

      [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestFileSystemApplicationHistoryStore.java:[283,23] [deprecation] isDirectory(Path) in FileSystem has been deprecated
      [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestFileSystemApplicationHistoryStore.java:[294,28] [deprecation] isDirectory(Path) in FileSystem has been deprecated
      [WARNING] /testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestFileSystemApplicationHistoryStore.java:
      

      This issue is part of HADOOP-14106.

      Attachments

        1. YARN-6239.001.patch
          3 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: