Deprecated API


Contents
Deprecated Classes
org.apache.hadoop.mapred.InputFormatBase
          replaced by FileInputFormat 
org.apache.hadoop.mapred.PhasedFileSystem
          PhasedFileSystem is no longer used during speculative execution of tasks. 
org.apache.hadoop.io.SetFile.Writer
          pass a Configuration too 
org.apache.hadoop.streaming.StreamLineRecordReader
            
org.apache.hadoop.streaming.StreamOutputFormat
            
org.apache.hadoop.streaming.StreamSequenceRecordReader
            
org.apache.hadoop.util.ToolBase
          This class is depracated. Classes extending ToolBase should rather implement Tool interface, and use ToolRunner for execution functionality. Alternatively, GenericOptionsParser can be used to parse generic arguments related to hadoop framework. 
org.apache.hadoop.io.UTF8
          replaced by Text 
 

Deprecated Methods
org.apache.hadoop.hbase.HTable.abortBatch(long)
          Batch operations are now the default. abortBatch is now implemented by @see HTable.abort(long) 
org.apache.hadoop.conf.Configuration.addDefaultResource(Path)
          Use Configuration.addResource(Path) instead 
org.apache.hadoop.conf.Configuration.addDefaultResource(String)
          Use Configuration.addResource(String) instead 
org.apache.hadoop.conf.Configuration.addDefaultResource(URL)
          Use Configuration.addResource(URL) instead 
org.apache.hadoop.conf.Configuration.addFinalResource(Path)
          Use Configuration.addResource(Path) instead 
org.apache.hadoop.conf.Configuration.addFinalResource(String)
          Use Configuration.addResource(String) instead 
org.apache.hadoop.conf.Configuration.addFinalResource(URL)
          Use Configuration.addResource(URL) instead 
org.apache.hadoop.hbase.HTable.commitBatch(long)
          Batch operations are now the default. commitBatch(long) is now implemented by @see HTable.commit(long) 
org.apache.hadoop.hbase.HTable.commitBatch(long, long)
          Batch operations are now the default. commitBatch(long, long) is now implemented by @see HTable.commit(long, long) 
org.apache.hadoop.util.CopyFiles.copy(Configuration, String, String, Path, boolean, boolean)
           
org.apache.hadoop.conf.Configuration.entries()
          Use Configuration.iterator() instead. 
org.apache.hadoop.conf.Configuration.get(String, Object)
          A side map of Configuration to Object should be used instead. 
org.apache.hadoop.fs.FileSystem.getBlockSize(Path)
          Use getFileStatus() instead 
org.apache.hadoop.record.compiler.generated.SimpleCharStream.getColumn()
            
org.apache.hadoop.hbase.shell.generated.SimpleCharStream.getColumn()
            
org.apache.hadoop.mapred.FileSplit.getFile()
          Call FileSplit.getPath() instead. 
org.apache.hadoop.mapred.JobConf.getInputKeyClass()
          Call RecordReader.createKey(). 
org.apache.hadoop.mapred.JobConf.getInputValueClass()
          Call RecordReader.createValue(). 
org.apache.hadoop.fs.FileSystem.getLength(Path)
          Use getFileStatus() instead 
org.apache.hadoop.fs.kfs.KosmosFileSystem.getLength(Path)
           
org.apache.hadoop.record.compiler.generated.SimpleCharStream.getLine()
            
org.apache.hadoop.hbase.shell.generated.SimpleCharStream.getLine()
            
org.apache.hadoop.dfs.DistributedFileSystem.getName()
            
org.apache.hadoop.fs.RawLocalFileSystem.getName()
            
org.apache.hadoop.fs.FilterFileSystem.getName()
          call #getUri() instead. 
org.apache.hadoop.fs.FileSystem.getName()
          call #getUri() instead. 
org.apache.hadoop.fs.kfs.KosmosFileSystem.getName()
           
org.apache.hadoop.fs.FileSystem.getNamed(String, Configuration)
          call #get(URI,Configuration) instead. 
org.apache.hadoop.conf.Configuration.getObject(String)
          A side map of Configuration to Object should be used instead. 
org.apache.hadoop.fs.FileSystem.getReplication(Path)
          Use getFileStatus() instead 
org.apache.hadoop.fs.kfs.KosmosFileSystem.getReplication(Path)
           
org.apache.hadoop.mapred.JobClient.getTaskOutputFilter()
           
org.apache.hadoop.fs.FileSystem.isDirectory(Path)
          Use getFileStatus() instead 
org.apache.hadoop.fs.kfs.KosmosFileSystem.isDirectory(Path)
           
org.apache.hadoop.fs.kfs.KosmosFileSystem.isFile(Path)
           
org.apache.hadoop.fs.FileSystem.listPaths(Path)
           
org.apache.hadoop.fs.RawLocalFileSystem.lock(Path, boolean)
            
org.apache.hadoop.fs.kfs.KosmosFileSystem.lock(Path, boolean)
           
org.apache.hadoop.io.SequenceFile.Reader.next(DataOutputBuffer)
          Call SequenceFile.Reader.nextRaw(DataOutputBuffer,SequenceFile.ValueBytes). 
org.apache.hadoop.fs.RawLocalFileSystem.release(Path)
            
org.apache.hadoop.fs.kfs.KosmosFileSystem.release(Path)
           
org.apache.hadoop.hbase.HTable.renewLease(long)
          Batch updates are now the default. Consequently this method does nothing. 
org.apache.hadoop.conf.Configuration.set(String, Object)
            
org.apache.hadoop.mapred.JobConf.setInputKeyClass(Class)
          Not used 
org.apache.hadoop.mapred.JobConf.setInputValueClass(Class)
          Not used 
org.apache.hadoop.conf.Configuration.setObject(String, Object)
            
org.apache.hadoop.mapred.JobClient.setTaskOutputFilter(JobClient.TaskStatusFilter)
           
org.apache.hadoop.hbase.HTable.startBatchUpdate(Text)
          Batch operations are now the default. startBatchUpdate is now implemented by @see HTable.startUpdate(Text) 
 

Deprecated Constructors
org.apache.hadoop.dfs.ChecksumDistributedFileSystem(InetSocketAddress, Configuration)
            
org.apache.hadoop.util.CopyFiles()
           
org.apache.hadoop.dfs.DistributedFileSystem(InetSocketAddress, Configuration)
            
 



Copyright © 2006 The Apache Software Foundation