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

Fix checkstyle warnings in TestFileSystemApplicationHistoryStore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.2.0, 3.1.1, 3.0.3
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: