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

Fix checkstyle warnings in TestFileSystemApplicationHistoryStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.2.0, 3.1.1, 3.0.3
    • None
    • None
    • Reviewed

    Description

      There are two warnings generated in TestFileSystemApplicationHistoryStore.

      hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestFileSystemApplicationHistoryStore.java
      warning: shadow_local: Local variable 'fs' shadows component of class 'org/apache/hadoop/yarn/server/applicationhistoryservice/TestFileSystemApplicationHistoryStore'.
      line: 276
      

      Actually these warnings should have be caught in YARN-6239, but the Jenkins checkstyle was broken during that time. The JIRA will address this and make a quick fix.

      Attachments

        1. YARN-6385.001.patch
          3 kB
          Yiqun Lin

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: