hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11032) Replace deprecated methods in FileSystem with their replacements
Date Mon, 21 Apr 2014 20:22:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975986#comment-13975986
] 

Enis Soztutar commented on HBASE-11032:
---------------------------------------

Linked HBASE-11045. 
+1 for the v1 patch. 

> Replace deprecated methods in FileSystem with their replacements
> ----------------------------------------------------------------
>
>                 Key: HBASE-11032
>                 URL: https://issues.apache.org/jira/browse/HBASE-11032
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Gustavo Anatoly
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-11032-v1.patch, HBASE-11032.patch
>
>
> FileStatus#isDir() is deprecated.
> FileStatus#isDirectory() should be called instead.
> Here is the list of deprecated methods in FileSystem :
> {code}
> public String getName()
> public static FileSystem getNamed(String name, Configuration conf)
>   public FSDataOutputStream createNonRecursive(Path f,
>       boolean overwrite,
>       int bufferSize, short replication, long blockSize,
>       Progressable progress) throws IOException {
>    public FSDataOutputStream createNonRecursive(Path f, FsPermission permission,
>        boolean overwrite, int bufferSize, short replication, long blockSize,
>        Progressable progress) throws IOException {
>   public short getReplication(Path src) throws IOException {
>   public boolean delete(Path f) throws IOException {
>   public long getLength(Path f) throws IOException {
>   public long getBlockSize(Path f) throws IOException {
>   public long getDefaultBlockSize() {
> public short getDefaultReplication()
> {code}
> Except for createNonRecursive() which doesn't have non-deprecated equivalent in DistributedFileSystem,
deprecated methods are replaced with their non-deprecated counterparts.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message