You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2017/02/28 16:57:45 UTC
[jira] [Commented] (HDFS-11455) Fix javac warnings in HDFS that
caused by deprecated FileSystem APIs
[ https://issues.apache.org/jira/browse/HDFS-11455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888436#comment-15888436 ]
Mingliang Liu commented on HDFS-11455:
--------------------------------------
Failing tests seem unrelated. I'm +1 on this. Let's hold on commit 3 days if [~stevel@apache.org] has a chance to review. Thanks,
> 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 javac 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