You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2017/02/28 15:25:45 UTC

[jira] [Resolved] (YARN-6239) Fix javac warnings in YARN that caused by deprecated FileSystem APIs

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

Yiqun Lin resolved YARN-6239.
-----------------------------
    Resolution: Fixed

> Fix javac warnings in YARN that caused by deprecated FileSystem APIs
> --------------------------------------------------------------------
>
>                 Key: YARN-6239
>                 URL: https://issues.apache.org/jira/browse/YARN-6239
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>             Fix For: 3.0.0-alpha3
>
>         Attachments: YARN-6239.001.patch
>
>
> There are some javac warnings generated after some FileSystem APIs which promote inefficient call patterns being deprecated in HADOOP-13321. The relevant warnings:
> {code}
> [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:
> {code}
> This issue is part of HADOOP-14106.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org