[ 
https://issues.apache.org/jira/browse/YARN-6385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yiqun Lin updated YARN-6385:
----------------------------
    Description: 
There are two warnings generated in {{TestFileSystemApplicationHistoryStore}}.

{code}
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
{code}
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.

  was:
There are two warnings generated in {{TestFileSystemApplicationHistoryStore}}.

{code}
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
{code}
Actually these warnings should have be found in YARN-6239, but the Jenkins 
checkstyle was broken during that time. The JIRA will address this and make a 
quick fix.


> Fix warnings caused by TestFileSystemApplicationHistoryStore
> ------------------------------------------------------------
>
>                 Key: YARN-6385
>                 URL: https://issues.apache.org/jira/browse/YARN-6385
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>
> There are two warnings generated in {{TestFileSystemApplicationHistoryStore}}.
> {code}
> 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
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to