hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-11032) Replace FileStatus#isDir() with FileStatus#isDirectory()
Date Fri, 18 Apr 2014 22:40:16 GMT

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

Ted Yu edited comment on HBASE-11032 at 4/18/14 10:39 PM:
----------------------------------------------------------

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}


was (Author: yuzhihong@gmail.com):
Here is the list of deprecated methods in FileSystem :
{code}
public String getName()
public static FileSystem getNamed(String name, Configuration conf)
public FsServerDefaults getServerDefaults()
  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 {
  protected void rename(final Path src, final Path dst,
      final Rename... options) 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}

> Replace FileStatus#isDir() with FileStatus#isDirectory()
> --------------------------------------------------------
>
>                 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
>
> FileStatus#isDir() is deprecated.
> FileStatus#isDirectory() should be called instead.



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

Mime
View raw message