hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11455) Fix javac warnings in HDFS that caused by deprecated FileSystem APIs
Date Tue, 28 Feb 2017 15:22:45 GMT

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

Yiqun Lin updated HDFS-11455:
-----------------------------
    Summary: Fix javac warnings in HDFS that caused by deprecated FileSystem APIs  (was: Fix
javadoc warnings in HDFS that caused by deprecated FileSystem APIs)

> Fix javac warnings in HDFS that caused by deprecated FileSystem APIs
> --------------------------------------------------------------------
>
>                 Key: HDFS-11455
>                 URL: https://issues.apache.org/jira/browse/HDFS-11455
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-11455.001.patch, HDFS-11455.002.patch
>
>
> There are many javadoc warnings coming out after FileSystem APIs which promote inefficient
call patterns being deprecated in HADOOP-13321. The relevant warnings:
> {code}
> [WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java:[320,18]
[deprecation] isFile(Path) in FileSystem has been deprecated
> [WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestQuota.java:[1409,18]
[deprecation] isFile(Path) in FileSystem has been deprecated
> [WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java:[778,19]
[deprecation] isDirectory(Path) in FileSystem has been deprecated
> [WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java:[787,20]
[deprecation] isDirectory(Path) in FileSystem has been deprecated
> [WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestQuotaByStorageType.java:[834,18]
[deprecation] isFile(Path) in FileSystem has been 
> {code}



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

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


Mime
View raw message