hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-500) Fix lingering and new javac warnings
Date Fri, 24 Jul 2009 17:58:14 GMT

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

Jakob Homan updated HDFS-500:
-----------------------------

    Attachment: HDFS-500.patch

Patch removes all lingering warnings from hdfs that can be removed.  There are five remaining:
{noformat}
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/java/org/apache/hadoop/hdfs/DeprecatedUTF8.java:35:
warning: [deprecation] org.apache.hadoop.io.UTF8 in org.apache.hadoop.io has been deprecated
    [javac] 1 warning
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java:571:
warning: [deprecation] org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode in org.apache.hadoop.hdfs.server.namenode
has been deprecated
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestNameEditsConfigs.java:94:
warning: [deprecation] org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode in org.apache.hadoop.hdfs.server.namenode
has been deprecated
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/TestDFSPermission.java:162:
warning: [deprecation] create(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.permission.FsPermission,boolean,int,short,long,org.apache.hadoop.util.Progressable)
in org.apache.hadoop.fs.FileSystem has been deprecated
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/TestFSInputChecker.java:56:
warning: [deprecation] create(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.permission.FsPermission,boolean,int,short,long,org.apache.hadoop.util.Progressable)
in org.apache.hadoop.fs.FileSystem has been deprecated
    [javac] /Users/jhoman/work/git/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/security/TestPermission.java:88:
warning: [deprecation] create(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.permission.FsPermission,boolean,int,short,long,org.apache.hadoop.util.Progressable)
in org.apache.hadoop.fs.FileSystem has been deprecated
    [javac] 5 warnings
{noformat}
The three warnings related to the create method are being resolved in HDFS-490.  The remaining
three are due to the Java bug that does not correctly ignore deprecations when directed to
do so (as documented in MAPREDUCE-623 and HADOOP-5877).  Still waiting for consensus on how
to handle these zombie warnings.

There are quite a few warnings not directly in the hdfs package, but that exist within the
hdfs-with-mr tests from Mapred's Great Package Deprecation of 2008.  Mapred's still working
on how to handle these, but it seems to me that having these tests in hdfs creates a cycle
that runs counter to the goal of the project split.

> Fix lingering and new javac warnings
> ------------------------------------
>
>                 Key: HDFS-500
>                 URL: https://issues.apache.org/jira/browse/HDFS-500
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>            Priority: Minor
>         Attachments: HDFS-500.patch
>
>
> The broken javac warnings issues documented in HADOOP-6124 have allowed some new javac
warnings into the codebase, and there are a few lingering from the previous code cleanup.
 These should be fixed.  Patch shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message