Removed API in Hive 2.1

The following classes and interfaces are not available with Hive 2.1:

Removed Classes

Class Description
org.apache.hadoop.hive.common.metrics.Metrics Metrics Subsystem - allows exposure of a number of named parameters/counters via jmx, intended to be used as a static subsystem Has a couple of primary ways it can be used: (i) Using the set and get methods to set and get named parameters (ii) Using the incrementCounter method to increment and set named parameters in one go, rather than having to make a get and then a set.
org.apache.hadoop.hive.hbase.HBaseStatsAggregator A class that implements the StatsAggregator interface through HBase.
org.apache.hadoop.hive.hbase.HBaseStatsPublisher A class that implements the StatsPublisher interface through HBase.
org.apache.hadoop.hive.hbase.HBaseStatsSetupConstants HBase constants statistics setup.
org.apache.hadoop.hive.hbase.HBaseStatsUtils Utilities for hbase statistics.
org.apache.hadoop.hive.metastore.ProtectMode Protection Mode.
org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler Extends the transaction handler with methods needed only by the compactor threads.
org.apache.hadoop.hive.metastore.txn.TxnHandler A handler to answer transaction related calls that come into the metastore server.
org.apache.hadoop.hive.metastore.txn.ValidCompactorTxnList And implmentation of org.apache.hadoop.hive.common.ValidTxnList for use by the compactor.
org.apache.hadoop.hive.ql.exec.DefaultFetchFormatter Serializes row by user specified serde and call toString() to make string type result
org.apache.hadoop.hive.ql.exec.Heartbeater Class to handle heartbeats for MR and Tez tasks.
org.apache.hadoop.hive.ql.exec.vector.RandomRowObjectSource Generates object inspector and random row object[].
org.apache.hadoop.hive.ql.exec.vector.VectorAssignRowDynBatch Assigns specified columns of a VectorizedRowBatch row from a Writable row Object[].
org.apache.hadoop.hive.ql.exec.vector.VectorAssignRowSameBatch Assigns specified columns of a VectorizedRowBatch row from a Writable row Object[].
org.apache.hadoop.hive.ql.exec.vector.VectorSerializeRowNoNulls Serializes columns from a row in a VectorizedRowBatch into a serialization format.
org.apache.hadoop.hive.ql.exec.vector.VectorizedColumnarSerDe VectorizedColumnarSerDe is used by Vectorized query execution engine for columnar based storage supported by RCFile.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFDayOfMonthLong Expression to get day of month.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFHourLong Returns hour of day.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFMinuteLong Returns minute value.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFMonthLong Returns month value.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFSecondLong Expression to get seconds.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFTimestampFieldLong Abstract class to return various fields from a Timestamp or Date.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFUnixTimeStampLong Return Unix Timestamp.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFWeekOfYearLong Expression to get week of year.
org.apache.hadoop.hive.ql.exec.vector.expressions.VectorUDFYearLong Expression to get year as a long.
org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastIntHashUtil Utilities for mapr join in vectorization mode.
org.apache.hadoop.hive.ql.io.VectorizedRCFileInputFormat A MapReduce/Hive Vectorized input format for RC files.
org.apache.hadoop.hive.ql.io.VectorizedRCFileRecordReader RCFileRecordReader.
org.apache.hadoop.hive.ql.io.orc.FileDump A tool for printing out the file structure of ORC files.
org.apache.hadoop.hive.ql.io.orc.InStream Class to define input stream.
org.apache.hadoop.hive.ql.io.orc.Metadata Metadata stored in underlying db.
org.apache.hadoop.hive.ql.io.orc.MetadataReader Class to read and process metadata.
org.apache.hadoop.hive.ql.io.orc.OrcProto Class to serialize data stored in orc.
org.apache.hadoop.hive.ql.io.orc.OrcUtils Utilities to process orc files.
org.apache.hadoop.hive.ql.io.orc.RecordReaderFactory Factory to create ORC tree readers.
org.apache.hadoop.hive.ql.io.orc.RecordReaderUtils Stateless methods shared between RecordReaderImpl and EncodedReaderImpl.
org.apache.hadoop.hive.ql.io.orc.StripeStatistics Information about index data stored in stripe.
org.apache.hadoop.hive.ql.io.orc.TreeReaderFactory Factory for creating ORC tree readers.
org.apache.hadoop.hive.ql.log.PidDailyRollingFileAppender Logging pids in file.
org.apache.hadoop.hive.ql.optimizer.calcite.HiveConfigContext Hive configuration context.
org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveLimit Define limit operator.
org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveSort Define sort operator.
org.apache.hadoop.hive.ql.parse.VariableSubstitution The Hive variable substitution mechanism was designed to avoid some of the code that was getting baked into the scripting language on top of Hive.
org.apache.hadoop.hive.ql.session.DependencyResolver Creating list of dependency jars.
org.apache.hadoop.hive.ql.stats.CounterStatsAggregator Counter statistics aggregator.
org.apache.hadoop.hive.ql.stats.CounterStatsAggregatorSpark Counter statistics aggregator for Spark.
org.apache.hadoop.hive.ql.stats.CounterStatsAggregatorTez This class aggregates stats via counters and does so for Tez Tasks.
org.apache.hadoop.hive.ql.stats.CounterStatsPublisher Counter statistics publisher.
org.apache.hadoop.hive.ql.udf.UDFRegExp UDFRegExp.
org.apache.hadoop.hive.shims.Hadoop20SShims Implemention of shims against Hadoop 0.20 with Security.
org.apache.hadoop.hive.shims.HiveEventCounter Hive event counter.
org.apache.hadoop.hive.shims.Jetty20SShims In order to be compatible with multiple versions of Jetty, all parts of the Jetty interface that are not cross-version compatible are encapsulated in an implementation of this class.
org.apache.hadoop.mapred.WebHCatJTShim20S This is in org.apache.hadoop.mapred package because it relies on JobSubmissionProtocol which is package private
org.apache.hive.benchmark.vectorization.VectorizationBench Measures the performance for vectorization.
org.apache.hive.jdbc.ZooKeeperHiveClientHelper

Resolve to a host:port by connecting to ZooKeeper and picking a host randomly.

org.apache.hive.service.cli.Column Column.
org.apache.hive.service.cli.Type Type.
org.apache.hive.service.cli.thrift.TArrayTypeEntry Array type entry.
org.apache.hive.service.cli.thrift.TBinaryColumn Binary column.
org.apache.hive.service.cli.thrift.TBoolColumn Boolean column.
org.apache.hive.service.cli.thrift.TBoolValue Boolean value.
org.apache.hive.service.cli.thrift.TByteColumn Byte column.
org.apache.hive.service.cli.thrift.TByteValue Byte value.
org.apache.hive.service.cli.thrift.TCLIService Command line interface service.
org.apache.hive.service.cli.thrift.TCLIServiceConstants Command line interface constatnts.
org.apache.hive.service.cli.thrift.TCancelDelegationTokenReq Cancel delegation token request.
org.apache.hive.service.cli.thrift.TCancelDelegationTokenResp Cancel delegation token response.
org.apache.hive.service.cli.thrift.TCancelOperationReq Cancel operation request.
org.apache.hive.service.cli.thrift.TCancelOperationResp Cancel operation response.
org.apache.hive.service.cli.thrift.TCloseOperationReq Close operation request.
org.apache.hive.service.cli.thrift.TCloseOperationResp Close operation response.
org.apache.hive.service.cli.thrift.TCloseSessionReq Close session request.
org.apache.hive.service.cli.thrift.TCloseSessionResp Close session response.
org.apache.hive.service.cli.thrift.TColumn Column.
org.apache.hive.service.cli.thrift.TColumnDesc Column description.
org.apache.hive.service.cli.thrift.TColumnValue Column value.
org.apache.hive.service.cli.thrift.TDoubleColumn Double column.
org.apache.hive.service.cli.thrift.TDoubleValue Double value.
org.apache.hive.service.cli.thrift.TExecuteStatementReq Execute statement request.
org.apache.hive.service.cli.thrift.TExecuteStatementResp Execute statement response.
org.apache.hive.service.cli.thrift.TFetchOrientation Fetch orientation.
org.apache.hive.service.cli.thrift.TFetchResultsReq Fetch results request.
org.apache.hive.service.cli.thrift.TFetchResultsResp Fetch results response.
org.apache.hive.service.cli.thrift.TGetCatalogsReq Get catalogs request.

Removed Interfaces

Interface

Description

org.apache.hadoop.hive.ql.exec.FetchFormatter (For internal-use only) Used in ListSinkOperator for formatting final output
org.apache.hadoop.hive.ql.io.orc.BinaryColumnStatistics Statistics for binary columns.
org.apache.hadoop.hive.ql.io.orc.BooleanColumnStatistics Statistics for boolean columns.
org.apache.hadoop.hive.ql.io.orc.ColumnStatistics Statistics that are available for all types of columns.
org.apache.hadoop.hive.ql.io.orc.CompressionCodec

Compress the in buffer to the out buffer.

org.apache.hadoop.hive.ql.io.orc.CompressionCodec.Modifier Compress the in buffer to the out buffer.
org.apache.hadoop.hive.ql.io.orc.ConversionTreeReaderFactory Factory for creating ORC tree readers.
org.apache.hadoop.hive.ql.io.orc.DateColumnStatistics Statistics for DATE columns.
org.apache.hadoop.hive.ql.io.orc.DecimalColumnStatistics Statistics for decimal columns.
org.apache.hadoop.hive.ql.io.orc.DirectDecompressionCodec Decompression codec.
org.apache.hadoop.hive.ql.io.orc.DoubleColumnStatistics Statistics for float and double columns.
org.apache.hadoop.hive.ql.io.orc.IntegerColumnStatistics Statistics for all of the integer columns, such as byte, short, int, and long.
org.apache.hadoop.hive.ql.io.orc.PositionProvider An interface used for seeking to a row index.
org.apache.hadoop.hive.ql.io.orc.StringColumnStatistics Statistics for string columns.
org.apache.hadoop.hive.ql.io.orc.StripeInformation Information about the stripes in an ORC file that is provided by the Reader.
org.apache.hadoop.hive.ql.io.orc.TimestampColumnStatistics Statistics for Timestamp columns.
org.apache.hadoop.hive.ql.stats.StatsCollectionTaskIndependent Marker interface to differentiate between stats publisher / aggregator which don't track stats per task, as oppose to others which do.