Deprecated API


Contents
Deprecated Interfaces
org.apache.hadoop.io.Closeable
          use java.io.Closeable 
org.apache.hadoop.record.Index
          Replaced by Avro. 
org.apache.hadoop.record.compiler.generated.RccConstants
          Replaced by Avro. 
org.apache.hadoop.record.RecordInput
          Replaced by Avro. 
org.apache.hadoop.record.RecordOutput
          Replaced by Avro. 
 

Deprecated Classes
org.apache.hadoop.record.BinaryRecordInput
          Replaced by Avro. 
org.apache.hadoop.record.BinaryRecordOutput
          Replaced by Avro. 
org.apache.hadoop.record.Buffer
          Replaced by Avro. 
org.apache.hadoop.record.compiler.CodeBuffer
          Replaced by Avro. 
org.apache.hadoop.record.compiler.Consts
          Replaced by Avro. 
org.apache.hadoop.record.CsvRecordInput
          Replaced by Avro. 
org.apache.hadoop.record.CsvRecordOutput
          Replaced by Avro. 
org.apache.hadoop.log.EventCounter
          use EventCounter instead 
org.apache.hadoop.record.meta.FieldTypeInfo
          Replaced by Avro. 
org.apache.hadoop.metrics.file.FileContext
           
org.apache.hadoop.fs.FileUtil.HardLink
          Use HardLink 
org.apache.hadoop.record.compiler.JBoolean
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JBuffer
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JByte
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JDouble
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JField
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JFile
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JFloat
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JInt
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JLong
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JMap
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JRecord
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JString
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JType
          Replaced by Avro. 
org.apache.hadoop.record.compiler.JVector
          Replaced by Avro. 
org.apache.hadoop.record.meta.MapTypeID
          Replaced by Avro. 
org.apache.hadoop.record.compiler.generated.Rcc
          Replaced by Avro. 
org.apache.hadoop.record.compiler.ant.RccTask
          Replaced by Avro. 
org.apache.hadoop.record.compiler.generated.RccTokenManager
          Replaced by Avro. 
org.apache.hadoop.record.Record
          Replaced by Avro. 
org.apache.hadoop.record.RecordComparator
          Replaced by Avro. 
org.apache.hadoop.record.meta.RecordTypeInfo
          Replaced by Avro. 
org.apache.hadoop.record.compiler.generated.SimpleCharStream
          Replaced by Avro. 
org.apache.hadoop.record.meta.StructTypeID
          Replaced by Avro. 
org.apache.hadoop.record.compiler.generated.Token
          Replaced by Avro. 
org.apache.hadoop.record.meta.TypeID
          Replaced by Avro. 
org.apache.hadoop.record.Utils
          Replaced by Avro. 
org.apache.hadoop.record.meta.Utils
          Replaced by Avro. 
org.apache.hadoop.record.meta.VectorTypeID
          Replaced by Avro. 
org.apache.hadoop.record.XmlRecordInput
          Replaced by Avro. 
org.apache.hadoop.record.XmlRecordOutput
          Replaced by Avro. 
 

Deprecated Exceptions
org.apache.hadoop.fs.permission.AccessControlException
          Use AccessControlException instead. 
org.apache.hadoop.record.compiler.generated.ParseException
          Replaced by Avro. 
 

Deprecated Errors
org.apache.hadoop.record.compiler.generated.TokenMgrError
          Replaced by Avro. 
 

Deprecated Fields
org.apache.hadoop.fs.CommonConfigurationKeysPublic.IO_SORT_FACTOR_KEY
          Moved to mapreduce, see mapreduce.task.io.sort.factor in mapred-default.xml See https://issues.apache.org/jira/browse/HADOOP-6801 
org.apache.hadoop.fs.CommonConfigurationKeysPublic.IO_SORT_MB_KEY
          Moved to mapreduce, see mapreduce.task.io.sort.mb in mapred-default.xml See https://issues.apache.org/jira/browse/HADOOP-6801 
 

Deprecated Methods
org.apache.hadoop.conf.Configuration.addDeprecation(String, String[])
          use Configuration.addDeprecation(String key, String newKey) instead 
org.apache.hadoop.conf.Configuration.addDeprecation(String, String[], String)
          use Configuration.addDeprecation(String key, String newKey, String customMessage) instead 
org.apache.hadoop.ipc.RPC.call(Method, Object[][], InetSocketAddress[], Configuration)
          Use RPC.call(Method, Object[][], InetSocketAddress[], UserGroupInformation, Configuration) instead 
org.apache.hadoop.ipc.Client.call(Writable[], InetSocketAddress[])
          Use Client.call(Writable[], InetSocketAddress[], Class, UserGroupInformation, Configuration) instead 
org.apache.hadoop.ipc.Client.call(Writable[], InetSocketAddress[], Class, UserGroupInformation)
          Use Client.call(Writable[], InetSocketAddress[], Class, UserGroupInformation, Configuration) instead 
org.apache.hadoop.ipc.Client.call(Writable, InetSocketAddress)
          Use Client.call(Writable, ConnectionId) instead 
org.apache.hadoop.ipc.Client.call(Writable, InetSocketAddress, Class, UserGroupInformation, int)
          Use Client.call(Writable, ConnectionId) instead 
org.apache.hadoop.ipc.Client.call(Writable, InetSocketAddress, UserGroupInformation)
          Use Client.call(Writable, ConnectionId) instead 
org.apache.hadoop.ipc.Server.call(Writable, long)
          Use Server.call(Class, Writable, long) instead 
org.apache.hadoop.io.WritableUtils.cloneInto(Writable, Writable)
          use ReflectionUtils.cloneInto instead. 
org.apache.hadoop.util.ReflectionUtils.cloneWritableInto(Writable, Writable)
           
org.apache.hadoop.fs.FileSystem.createNonRecursive(Path, boolean, int, short, long, Progressable)
          API only for 0.20-append 
org.apache.hadoop.fs.FileSystem.createNonRecursive(Path, FsPermission, boolean, int, short, long, Progressable)
          API only for 0.20-append 
org.apache.hadoop.io.file.tfile.TFile.Reader.createScanner(byte[], byte[])
          Use TFile.Reader.createScannerByKey(byte[], byte[]) instead. 
org.apache.hadoop.io.file.tfile.TFile.Reader.createScanner(RawComparable, RawComparable)
          Use TFile.Reader.createScannerByKey(RawComparable, RawComparable) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(Configuration, FSDataOutputStream, Class, Class, SequenceFile.CompressionType, CompressionCodec)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(Configuration, FSDataOutputStream, Class, Class, SequenceFile.CompressionType, CompressionCodec, SequenceFile.Metadata)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, int, short, long, boolean, SequenceFile.CompressionType, CompressionCodec, SequenceFile.Metadata)
           
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, int, short, long, SequenceFile.CompressionType, CompressionCodec, Progressable, SequenceFile.Metadata)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, SequenceFile.CompressionType)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, SequenceFile.CompressionType, CompressionCodec)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, SequenceFile.CompressionType, CompressionCodec, Progressable)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, SequenceFile.CompressionType, CompressionCodec, Progressable, SequenceFile.Metadata)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.createWriter(FileSystem, Configuration, Path, Class, Class, SequenceFile.CompressionType, Progressable)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.fs.FileSystem.delete(Path)
          Use FileSystem.delete(Path, boolean) instead. 
org.apache.hadoop.fs.FileUtil.fullyDelete(FileSystem, Path)
          Use FileSystem.delete(Path, boolean) 
org.apache.hadoop.io.BytesWritable.get()
          Use BytesWritable.getBytes() instead. 
org.apache.hadoop.fs.FileSystem.getBlockSize(Path)
          Use getFileStatus() instead 
org.apache.hadoop.fs.FileSystem.getLength(Path)
          Use getFileStatus() instead 
org.apache.hadoop.fs.FileSystem.getName()
          call #getUri() instead. 
org.apache.hadoop.fs.FileSystem.getNamed(String, Configuration)
          call #get(URI,Configuration) instead. 
org.apache.hadoop.ipc.VersionedProtocol.getProtocolVersion(String, long)
           
org.apache.hadoop.fs.FileSystem.getReplication(Path)
          Use getFileStatus() instead 
org.apache.hadoop.ipc.RPC.getServer(Class, Object, String, int, int, boolean, Configuration)
          secretManager should be passed. 
org.apache.hadoop.ipc.RPC.getServer(Object, String, int, Configuration)
          protocol interface should be passed. 
org.apache.hadoop.ipc.RPC.getServer(Object, String, int, int, boolean, Configuration)
          protocol interface should be passed. 
org.apache.hadoop.io.BytesWritable.getSize()
          Use BytesWritable.getLength() instead. 
org.apache.hadoop.fs.FileSystem.getStatistics()
          use FileSystem.getAllStatistics() instead 
org.apache.hadoop.fs.FileStatus.isDir()
          Use FileStatus.isFile(), FileStatus.isDirectory(), and FileStatus.isSymlink() instead. 
org.apache.hadoop.fs.kfs.KosmosFileSystem.lock(Path, boolean)
           
org.apache.hadoop.fs.Path.makeQualified(FileSystem)
           
org.apache.hadoop.metrics2.util.MetricsCache.Record.metrics()
          use metricsEntrySet() instead 
org.apache.hadoop.fs.FileSystem.primitiveCreate(Path, FsPermission, EnumSet, int, short, long, Progressable, Options.ChecksumOpt)
           
org.apache.hadoop.fs.FileSystem.primitiveMkdir(Path, FsPermission)
           
org.apache.hadoop.fs.FileSystem.primitiveMkdir(Path, FsPermission, boolean)
           
org.apache.hadoop.fs.kfs.KosmosFileSystem.release(Path)
           
org.apache.hadoop.fs.FileSystem.rename(Path, Path, Options.Rename...)
           
org.apache.hadoop.fs.FSDataOutputStream.sync()
           
org.apache.hadoop.fs.Syncable.sync()
          As of HADOOP 0.21.0, replaced by hflush 
 

Deprecated Constructors
org.apache.hadoop.io.BloomMapFile.Reader(FileSystem, String, Configuration)
           
org.apache.hadoop.io.BloomMapFile.Reader(FileSystem, String, WritableComparator, Configuration)
           
org.apache.hadoop.io.BloomMapFile.Reader(FileSystem, String, WritableComparator, Configuration, boolean)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, Class, Class)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType, CompressionCodec, Progressable)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType, Progressable)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType, CompressionCodec, Progressable)
           
org.apache.hadoop.io.BloomMapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType, Progressable)
           
org.apache.hadoop.fs.shell.CommandFormat(String, int, int, String...)
          use replacement since name is an unused parameter 
org.apache.hadoop.fs.FSDataOutputStream(OutputStream)
           
org.apache.hadoop.io.MapFile.Reader(FileSystem, String, Configuration)
            
org.apache.hadoop.io.MapFile.Reader(FileSystem, String, WritableComparator, Configuration)
            
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, Class, Class)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType, CompressionCodec, Progressable)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, Class, Class, SequenceFile.CompressionType, Progressable)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType, CompressionCodec, Progressable)
          Use Writer(Configuration, Path, Option...) instead. 
org.apache.hadoop.io.MapFile.Writer(Configuration, FileSystem, String, WritableComparator, Class, SequenceFile.CompressionType, Progressable)
          Use Writer(Configuration, Path, Option...)} instead. 
org.apache.hadoop.io.SequenceFile.Reader(FileSystem, Path, Configuration)
          Use Reader(Configuration, Option...) instead. 
org.apache.hadoop.io.SequenceFile.Reader(FSDataInputStream, int, long, long, Configuration)
          Use Reader(Configuration, Reader.Option...) instead. 
org.apache.hadoop.io.SequenceFile.Writer(FileSystem, Configuration, Path, Class, Class)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.Writer(FileSystem, Configuration, Path, Class, Class, int, short, long, Progressable, SequenceFile.Metadata)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SequenceFile.Writer(FileSystem, Configuration, Path, Class, Class, Progressable, SequenceFile.Metadata)
          Use SequenceFile.createWriter(Configuration, Writer.Option...) instead. 
org.apache.hadoop.io.SetFile.Writer(FileSystem, String, Class)
          pass a Configuration too 
 



Copyright © 2013 Apache Software Foundation. All Rights Reserved.