Deprecated API


Contents
Deprecated Classes
org.apache.hadoop.hdfs.DistributedFileSystem.DiskStatus
          Use FsStatus instead 
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode
           
 

Deprecated Fields
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_BLOCK_CHECKSUM
          Deprecated at 0.21. Use Op.BLOCK_CHECKSUM instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_COPY_BLOCK
          Deprecated at 0.21. Use Op.COPY_BLOCK instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_READ_BLOCK
          Deprecated at 0.21. Use Op.READ_BLOCK instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_READ_METADATA
          As of version 15, OP_READ_METADATA is no longer supported. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_REPLACE_BLOCK
          Deprecated at 0.21. Use Op.REPLACE_BLOCK instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_CHECKSUM_OK
          Deprecated at 0.21. Use Status.CHECKSUM_OK instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_ERROR
          Deprecated at 0.21. Use Status.ERROR instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_ERROR_ACCESS_TOKEN
          Deprecated at 0.21. Use Status.ERROR_ACCESS_TOKEN instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_ERROR_CHECKSUM
          Deprecated at 0.21. Use Status.ERROR_CHECKSUM instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_ERROR_EXISTS
          Deprecated at 0.21. Use Status.ERROR_EXISTS instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_ERROR_INVALID
          Deprecated at 0.21. Use Status.ERROR_INVALID instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_STATUS_SUCCESS
          Deprecated at 0.21. Use Status.SUCCESS instead. 
org.apache.hadoop.hdfs.protocol.DataTransferProtocol.OP_WRITE_BLOCK
          Deprecated at 0.21. Use Op.WRITE_BLOCK instead. 
 

Deprecated Methods
org.apache.hadoop.hdfs.server.datanode.DataNode.createSocketAddr(String)
           
org.apache.hadoop.hdfs.DFSClient.delete(String)
           
org.apache.hadoop.hdfs.protocol.ClientProtocol.delete(String)
          use ClientProtocol.delete(String, boolean) istead. 
org.apache.hadoop.hdfs.server.namenode.NameNode.delete(String)
           
org.apache.hadoop.hdfs.protocol.BlockListAsLongs.getBlockGenStamp(int)
           
org.apache.hadoop.hdfs.protocol.BlockListAsLongs.getBlockId(int)
           
org.apache.hadoop.hdfs.protocol.BlockListAsLongs.getBlockLen(int)
           
org.apache.hadoop.hdfs.DistributedFileSystem.getDiskStatus()
          Use FileSystem.getStatus() instead 
org.apache.hadoop.hdfs.server.namenode.NameNode.getEditLogSize()
           
org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol.getEditLogSize()
          See SecondaryNameNode 
org.apache.hadoop.hdfs.DistributedFileSystem.getRawCapacity()
          Use FileSystem.getStatus() instead 
org.apache.hadoop.hdfs.DistributedFileSystem.getRawUsed()
          Use FileSystem.getStatus() instead 
org.apache.hadoop.hdfs.server.datanode.FSDatasetInterface.getReplica(long)
           
org.apache.hadoop.hdfs.server.datanode.FSDataset.getReplica(long)
          use FSDataset.fetchReplicaInfo(long) instead. 
org.apache.hadoop.hdfs.DFSClient.mkdirs(String)
           
org.apache.hadoop.hdfs.DFSClient.open(String, int, boolean, FileSystem.Statistics)
          Use DFSClient.open(String, int, boolean) instead. 
org.apache.hadoop.hdfs.DFSClient.rename(String, String)
          Use DFSClient.rename(String, String, Options.Rename...) instead. 
org.apache.hadoop.hdfs.protocol.ClientProtocol.rename(String, String)
          Use ClientProtocol.rename(String, String, Options.Rename...) instead. 
org.apache.hadoop.hdfs.server.namenode.NameNode.rename(String, String)
           
org.apache.hadoop.hdfs.server.namenode.NameNode.rollEditLog()
           
org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol.rollEditLog()
          See SecondaryNameNode 
org.apache.hadoop.hdfs.server.namenode.NameNode.rollFsImage()
           
org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol.rollFsImage()
          See SecondaryNameNode 
 

Deprecated Constructors
org.apache.hadoop.hdfs.DFSClient(Configuration)
          Deprecated at 0.21 
org.apache.hadoop.hdfs.DistributedFileSystem(InetSocketAddress, Configuration)
           
 



Copyright © 2009 The Apache Software Foundation