SQOOP-3273: Removing com.cloudera.sqoop packages
authorAnna Szonyi <annaszonyi@apache.org>
Thu, 18 Jan 2018 14:01:54 +0000 (15:01 +0100)
committerAnna Szonyi <annaszonyi@apache.org>
Thu, 18 Jan 2018 14:01:54 +0000 (15:01 +0100)
(Szabolcs Vasas via Anna Szonyi)

554 files changed:
build.xml
conf/sqoop-site-template.xml
ivy.xml
src/docs/dev/api-reference.txt
src/docs/sip/sip-4.txt
src/java/com/cloudera/sqoop/ConnFactory.java [deleted file]
src/java/com/cloudera/sqoop/Sqoop.java [deleted file]
src/java/com/cloudera/sqoop/SqoopOptions.java [deleted file]
src/java/com/cloudera/sqoop/cli/RelatedOptions.java [deleted file]
src/java/com/cloudera/sqoop/cli/SqoopParser.java [deleted file]
src/java/com/cloudera/sqoop/cli/ToolOptions.java [deleted file]
src/java/com/cloudera/sqoop/config/ConfigurationConstants.java [deleted file]
src/java/com/cloudera/sqoop/config/ConfigurationHelper.java [deleted file]
src/java/com/cloudera/sqoop/hbase/HBasePutProcessor.java [deleted file]
src/java/com/cloudera/sqoop/hbase/HBaseUtil.java [deleted file]
src/java/com/cloudera/sqoop/hbase/PutTransformer.java [deleted file]
src/java/com/cloudera/sqoop/hbase/ToStringPutTransformer.java [deleted file]
src/java/com/cloudera/sqoop/hive/HiveImport.java [deleted file]
src/java/com/cloudera/sqoop/hive/HiveTypes.java [deleted file]
src/java/com/cloudera/sqoop/hive/TableDefWriter.java [deleted file]
src/java/com/cloudera/sqoop/io/CodecMap.java [deleted file]
src/java/com/cloudera/sqoop/io/FixedLengthInputStream.java [deleted file]
src/java/com/cloudera/sqoop/io/LobFile.java [deleted file]
src/java/com/cloudera/sqoop/io/LobReaderCache.java [deleted file]
src/java/com/cloudera/sqoop/io/NamedFifo.java [deleted file]
src/java/com/cloudera/sqoop/io/SplittableBufferedWriter.java [deleted file]
src/java/com/cloudera/sqoop/io/SplittingOutputStream.java [deleted file]
src/java/com/cloudera/sqoop/io/UnsupportedCodecException.java [deleted file]
src/java/com/cloudera/sqoop/lib/BigDecimalSerializer.java [deleted file]
src/java/com/cloudera/sqoop/lib/BlobRef.java [deleted file]
src/java/com/cloudera/sqoop/lib/BooleanParser.java [deleted file]
src/java/com/cloudera/sqoop/lib/ClobRef.java [deleted file]
src/java/com/cloudera/sqoop/lib/DelimiterSet.java [deleted file]
src/java/com/cloudera/sqoop/lib/FieldFormatter.java [deleted file]
src/java/com/cloudera/sqoop/lib/FieldMapProcessor.java [deleted file]
src/java/com/cloudera/sqoop/lib/FieldMappable.java [deleted file]
src/java/com/cloudera/sqoop/lib/JdbcWritableBridge.java [deleted file]
src/java/com/cloudera/sqoop/lib/LargeObjectLoader.java [deleted file]
src/java/com/cloudera/sqoop/lib/LobRef.java [deleted file]
src/java/com/cloudera/sqoop/lib/LobSerializer.java [deleted file]
src/java/com/cloudera/sqoop/lib/ProcessingException.java [deleted file]
src/java/com/cloudera/sqoop/lib/RecordParser.java [deleted file]
src/java/com/cloudera/sqoop/lib/SqoopRecord.java [deleted file]
src/java/com/cloudera/sqoop/manager/CatalogQueryManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/ConnManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/Db2Manager.java [deleted file]
src/java/com/cloudera/sqoop/manager/DefaultManagerFactory.java [deleted file]
src/java/com/cloudera/sqoop/manager/DirectMySQLManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/DirectPostgresqlManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/ExportJobContext.java [deleted file]
src/java/com/cloudera/sqoop/manager/GenericJdbcManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/HsqldbManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/ImportJobContext.java [deleted file]
src/java/com/cloudera/sqoop/manager/InformationSchemaManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/ManagerFactory.java [deleted file]
src/java/com/cloudera/sqoop/manager/MySQLManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/MySQLUtils.java [deleted file]
src/java/com/cloudera/sqoop/manager/OracleManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/PostgresqlManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/SQLServerManager.java [deleted file]
src/java/com/cloudera/sqoop/manager/SqlManager.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AsyncSqlOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AsyncSqlRecordWriter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AutoProgressMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroImportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/AvroRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/DataDrivenImportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/DelegatingOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/ExportBatchOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/ExportInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/ExportJobBase.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/ExportOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/HBaseImportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/HBaseImportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/ImportJobBase.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/JdbcExportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/JdbcUpdateExportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/JdbcUpsertExportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/JobBase.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeMapperBase.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeRecord.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeRecordMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeReducer.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MergeTextMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLDumpImportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLDumpInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLDumpMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLExportJob.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLRecordExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/MySQLTextExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/NullOutputCommitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/OracleExportOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/OracleUpsertOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/RawKeyTextOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/SQLServerExportOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/SequenceFileExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/SequenceFileImportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/TextExportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/TextImportMapper.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/UpdateOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/BigDecimalSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/BooleanSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DBConfiguration.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DBInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DBOutputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DBSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DataDrivenDBRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/DateSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/FloatSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/IntegerSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/OracleDBRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/OracleDateSplitter.java [deleted file]
src/java/com/cloudera/sqoop/mapreduce/db/TextSplitter.java [deleted file]
src/java/com/cloudera/sqoop/metastore/GenericJobStorage.java [deleted file]
src/java/com/cloudera/sqoop/metastore/JobData.java [deleted file]
src/java/com/cloudera/sqoop/metastore/JobStorage.java [deleted file]
src/java/com/cloudera/sqoop/metastore/JobStorageFactory.java [deleted file]
src/java/com/cloudera/sqoop/metastore/hsqldb/HsqldbMetaStore.java [deleted file]
src/java/com/cloudera/sqoop/orm/AvroSchemaGenerator.java [deleted file]
src/java/com/cloudera/sqoop/orm/ClassWriter.java [deleted file]
src/java/com/cloudera/sqoop/orm/CompilationManager.java [deleted file]
src/java/com/cloudera/sqoop/orm/TableClassName.java [deleted file]
src/java/com/cloudera/sqoop/tool/BaseSqoopTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/CodeGenTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/CreateHiveTableTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/EvalSqlTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ExportTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/HelpTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ImportAllTablesTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ImportTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/JobTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ListDatabasesTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ListTablesTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/MergeTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/MetastoreTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/SqoopTool.java [deleted file]
src/java/com/cloudera/sqoop/tool/ToolDesc.java [deleted file]
src/java/com/cloudera/sqoop/tool/ToolPlugin.java [deleted file]
src/java/com/cloudera/sqoop/tool/VersionTool.java [deleted file]
src/java/com/cloudera/sqoop/util/AppendUtils.java [deleted file]
src/java/com/cloudera/sqoop/util/AsyncSink.java [deleted file]
src/java/com/cloudera/sqoop/util/ClassLoaderStack.java [deleted file]
src/java/com/cloudera/sqoop/util/DirectImportUtils.java [deleted file]
src/java/com/cloudera/sqoop/util/ErrorableAsyncSink.java [deleted file]
src/java/com/cloudera/sqoop/util/ErrorableThread.java [deleted file]
src/java/com/cloudera/sqoop/util/Executor.java [deleted file]
src/java/com/cloudera/sqoop/util/ExitSecurityException.java [deleted file]
src/java/com/cloudera/sqoop/util/ExportException.java [deleted file]
src/java/com/cloudera/sqoop/util/FileListing.java [deleted file]
src/java/com/cloudera/sqoop/util/ImportException.java [deleted file]
src/java/com/cloudera/sqoop/util/Jars.java [deleted file]
src/java/com/cloudera/sqoop/util/JdbcUrl.java [deleted file]
src/java/com/cloudera/sqoop/util/LoggingAsyncSink.java [deleted file]
src/java/com/cloudera/sqoop/util/LoggingUtils.java [deleted file]
src/java/com/cloudera/sqoop/util/NullAsyncSink.java [deleted file]
src/java/com/cloudera/sqoop/util/OptionsFileUtil.java [deleted file]
src/java/com/cloudera/sqoop/util/PerfCounters.java [deleted file]
src/java/com/cloudera/sqoop/util/RandomHash.java [deleted file]
src/java/com/cloudera/sqoop/util/ResultSetPrinter.java [deleted file]
src/java/com/cloudera/sqoop/util/StoredAsProperty.java [deleted file]
src/java/com/cloudera/sqoop/util/SubprocessSecurityManager.java [deleted file]
src/java/com/cloudera/sqoop/util/TaskId.java [deleted file]
src/java/org/apache/sqoop/ConnFactory.java
src/java/org/apache/sqoop/Sqoop.java
src/java/org/apache/sqoop/SqoopOptions.java
src/java/org/apache/sqoop/accumulo/AccumuloMutationProcessor.java
src/java/org/apache/sqoop/avro/AvroUtil.java
src/java/org/apache/sqoop/cli/ToolOptions.java
src/java/org/apache/sqoop/config/ConfigurationHelper.java
src/java/org/apache/sqoop/hbase/HBasePutProcessor.java
src/java/org/apache/sqoop/hbase/ToStringPutTransformer.java
src/java/org/apache/sqoop/hive/HiveImport.java
src/java/org/apache/sqoop/hive/TableDefWriter.java
src/java/org/apache/sqoop/io/CodecMap.java
src/java/org/apache/sqoop/io/LobFile.java
src/java/org/apache/sqoop/io/LobReaderCache.java
src/java/org/apache/sqoop/lib/BlobRef.java
src/java/org/apache/sqoop/lib/ClobRef.java
src/java/org/apache/sqoop/lib/DelimiterSet.java
src/java/org/apache/sqoop/lib/FieldFormatter.java
src/java/org/apache/sqoop/lib/FieldMapProcessor.java
src/java/org/apache/sqoop/lib/JdbcWritableBridge.java
src/java/org/apache/sqoop/lib/LargeObjectLoader.java
src/java/org/apache/sqoop/lib/LobRef.java
src/java/org/apache/sqoop/lib/LobSerializer.java
src/java/org/apache/sqoop/lib/RecordParser.java
src/java/org/apache/sqoop/lib/SqoopRecord.java
src/java/org/apache/sqoop/manager/CatalogQueryManager.java
src/java/org/apache/sqoop/manager/ConnManager.java
src/java/org/apache/sqoop/manager/CubridManager.java
src/java/org/apache/sqoop/manager/Db2Manager.java
src/java/org/apache/sqoop/manager/DefaultManagerFactory.java
src/java/org/apache/sqoop/manager/DirectMySQLManager.java
src/java/org/apache/sqoop/manager/DirectNetezzaManager.java
src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
src/java/org/apache/sqoop/manager/ExportJobContext.java
src/java/org/apache/sqoop/manager/GenericJdbcManager.java
src/java/org/apache/sqoop/manager/HsqldbManager.java
src/java/org/apache/sqoop/manager/ImportJobContext.java
src/java/org/apache/sqoop/manager/InformationSchemaManager.java
src/java/org/apache/sqoop/manager/MainframeManager.java
src/java/org/apache/sqoop/manager/ManagerFactory.java
src/java/org/apache/sqoop/manager/MySQLManager.java
src/java/org/apache/sqoop/manager/MySQLUtils.java
src/java/org/apache/sqoop/manager/NetezzaManager.java
src/java/org/apache/sqoop/manager/OracleManager.java
src/java/org/apache/sqoop/manager/PGBulkloadManager.java
src/java/org/apache/sqoop/manager/PostgresqlManager.java
src/java/org/apache/sqoop/manager/SQLServerManager.java
src/java/org/apache/sqoop/manager/SqlManager.java
src/java/org/apache/sqoop/manager/SupportedManagers.java
src/java/org/apache/sqoop/manager/oracle/OraOopConnManager.java
src/java/org/apache/sqoop/manager/oracle/OraOopDBInputSplit.java
src/java/org/apache/sqoop/manager/oracle/OraOopDBRecordReader.java
src/java/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormat.java
src/java/org/apache/sqoop/manager/oracle/OraOopManagerFactory.java
src/java/org/apache/sqoop/manager/oracle/OraOopOutputFormatBase.java
src/java/org/apache/sqoop/manager/oracle/OraOopOutputFormatInsert.java
src/java/org/apache/sqoop/manager/oracle/OraOopOutputFormatUpdate.java
src/java/org/apache/sqoop/manager/oracle/OraOopUtilities.java
src/java/org/apache/sqoop/mapreduce/AccumuloImportJob.java
src/java/org/apache/sqoop/mapreduce/AccumuloImportMapper.java
src/java/org/apache/sqoop/mapreduce/AsyncSqlOutputFormat.java
src/java/org/apache/sqoop/mapreduce/AsyncSqlRecordWriter.java
src/java/org/apache/sqoop/mapreduce/AvroImportMapper.java
src/java/org/apache/sqoop/mapreduce/DataDrivenImportJob.java
src/java/org/apache/sqoop/mapreduce/DelegatingOutputFormat.java
src/java/org/apache/sqoop/mapreduce/ExportBatchOutputFormat.java
src/java/org/apache/sqoop/mapreduce/ExportCallOutputFormat.java
src/java/org/apache/sqoop/mapreduce/ExportJobBase.java
src/java/org/apache/sqoop/mapreduce/ExportOutputFormat.java
src/java/org/apache/sqoop/mapreduce/GenericRecordExportMapper.java
src/java/org/apache/sqoop/mapreduce/HBaseBulkImportJob.java
src/java/org/apache/sqoop/mapreduce/HBaseBulkImportMapper.java
src/java/org/apache/sqoop/mapreduce/HBaseImportJob.java
src/java/org/apache/sqoop/mapreduce/HBaseImportMapper.java
src/java/org/apache/sqoop/mapreduce/ImportJobBase.java
src/java/org/apache/sqoop/mapreduce/JdbcCallExportJob.java
src/java/org/apache/sqoop/mapreduce/JdbcExportJob.java
src/java/org/apache/sqoop/mapreduce/JdbcUpdateExportJob.java
src/java/org/apache/sqoop/mapreduce/JdbcUpsertExportJob.java
src/java/org/apache/sqoop/mapreduce/JobBase.java
src/java/org/apache/sqoop/mapreduce/MergeAvroMapper.java
src/java/org/apache/sqoop/mapreduce/MergeAvroReducer.java
src/java/org/apache/sqoop/mapreduce/MergeGenericRecordExportMapper.java
src/java/org/apache/sqoop/mapreduce/MergeJob.java
src/java/org/apache/sqoop/mapreduce/MergeMapperBase.java
src/java/org/apache/sqoop/mapreduce/MergeParquetMapper.java
src/java/org/apache/sqoop/mapreduce/MergeParquetReducer.java
src/java/org/apache/sqoop/mapreduce/MergeRecord.java
src/java/org/apache/sqoop/mapreduce/MergeRecordMapper.java
src/java/org/apache/sqoop/mapreduce/MergeReducer.java
src/java/org/apache/sqoop/mapreduce/MergeReducerBase.java
src/java/org/apache/sqoop/mapreduce/MergeTextMapper.java
src/java/org/apache/sqoop/mapreduce/MySQLDumpImportJob.java
src/java/org/apache/sqoop/mapreduce/MySQLDumpInputFormat.java
src/java/org/apache/sqoop/mapreduce/MySQLDumpMapper.java
src/java/org/apache/sqoop/mapreduce/MySQLExportJob.java
src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java
src/java/org/apache/sqoop/mapreduce/MySQLRecordExportMapper.java
src/java/org/apache/sqoop/mapreduce/MySQLTextExportMapper.java
src/java/org/apache/sqoop/mapreduce/OracleExportOutputFormat.java
src/java/org/apache/sqoop/mapreduce/OracleUpsertOutputFormat.java
src/java/org/apache/sqoop/mapreduce/ParquetImportMapper.java
src/java/org/apache/sqoop/mapreduce/SQLServerExportOutputFormat.java
src/java/org/apache/sqoop/mapreduce/SequenceFileExportMapper.java
src/java/org/apache/sqoop/mapreduce/SequenceFileImportMapper.java
src/java/org/apache/sqoop/mapreduce/TextExportMapper.java
src/java/org/apache/sqoop/mapreduce/TextImportMapper.java
src/java/org/apache/sqoop/mapreduce/UpdateOutputFormat.java
src/java/org/apache/sqoop/mapreduce/cubrid/CubridUpsertOutputFormat.java
src/java/org/apache/sqoop/mapreduce/db/BigDecimalSplitter.java
src/java/org/apache/sqoop/mapreduce/db/BooleanSplitter.java
src/java/org/apache/sqoop/mapreduce/db/DBConfiguration.java
src/java/org/apache/sqoop/mapreduce/db/DBInputFormat.java
src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java
src/java/org/apache/sqoop/mapreduce/db/DBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java
src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/DateSplitter.java
src/java/org/apache/sqoop/mapreduce/db/Db2DBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/Db2DataDrivenDBInputFormat.java
src/java/org/apache/sqoop/mapreduce/db/Db2DataDrivenDBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/FloatSplitter.java
src/java/org/apache/sqoop/mapreduce/db/IntegerSplitter.java
src/java/org/apache/sqoop/mapreduce/db/OracleDBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBInputFormat.java
src/java/org/apache/sqoop/mapreduce/db/OracleDataDrivenDBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/OracleDateSplitter.java
src/java/org/apache/sqoop/mapreduce/db/SQLServerDBInputFormat.java
src/java/org/apache/sqoop/mapreduce/db/SQLServerDBRecordReader.java
src/java/org/apache/sqoop/mapreduce/db/TextSplitter.java
src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaDBDataSliceSplitter.java
src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatImportHelper.java
src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java
src/java/org/apache/sqoop/mapreduce/mainframe/MainframeImportJob.java
src/java/org/apache/sqoop/mapreduce/mysql/MySQLUpsertOutputFormat.java
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaDataDrivenDBInputFormat.java
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableInputFormat.java
src/java/org/apache/sqoop/mapreduce/postgresql/PGBulkloadExportJob.java
src/java/org/apache/sqoop/mapreduce/postgresql/PostgreSQLCopyExportJob.java
src/java/org/apache/sqoop/mapreduce/postgresql/PostgreSQLCopyExportMapper.java
src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerExportBatchOutputFormat.java
src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerInputFormat.java
src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerRecordReader.java
src/java/org/apache/sqoop/mapreduce/sqlserver/SqlServerUpsertOutputFormat.java
src/java/org/apache/sqoop/metastore/GenericJobStorage.java
src/java/org/apache/sqoop/metastore/JobData.java
src/java/org/apache/sqoop/metastore/JobStorage.java
src/java/org/apache/sqoop/metastore/JobStorageFactory.java
src/java/org/apache/sqoop/metastore/hsqldb/HsqldbMetaStore.java
src/java/org/apache/sqoop/orm/AvroSchemaGenerator.java
src/java/org/apache/sqoop/orm/ClassWriter.java
src/java/org/apache/sqoop/orm/CompilationManager.java
src/java/org/apache/sqoop/orm/TableClassName.java
src/java/org/apache/sqoop/tool/BaseSqoopTool.java
src/java/org/apache/sqoop/tool/CodeGenTool.java
src/java/org/apache/sqoop/tool/CreateHiveTableTool.java
src/java/org/apache/sqoop/tool/EvalSqlTool.java
src/java/org/apache/sqoop/tool/ExportTool.java
src/java/org/apache/sqoop/tool/HelpTool.java
src/java/org/apache/sqoop/tool/ImportAllTablesTool.java
src/java/org/apache/sqoop/tool/ImportTool.java
src/java/org/apache/sqoop/tool/JobTool.java
src/java/org/apache/sqoop/tool/ListDatabasesTool.java
src/java/org/apache/sqoop/tool/ListTablesTool.java
src/java/org/apache/sqoop/tool/MainframeImportTool.java
src/java/org/apache/sqoop/tool/MergeTool.java
src/java/org/apache/sqoop/tool/MetastoreTool.java
src/java/org/apache/sqoop/tool/SqoopTool.java
src/java/org/apache/sqoop/tool/ToolPlugin.java
src/java/org/apache/sqoop/tool/VersionTool.java
src/java/org/apache/sqoop/util/AppendUtils.java
src/java/org/apache/sqoop/util/CredentialsUtil.java
src/java/org/apache/sqoop/util/DirectImportUtils.java
src/java/org/apache/sqoop/util/ErrorableAsyncSink.java
src/java/org/apache/sqoop/util/Jars.java
src/java/org/apache/sqoop/util/LoggingAsyncSink.java
src/java/org/apache/sqoop/util/LoggingUtils.java
src/java/org/apache/sqoop/util/NullAsyncSink.java
src/java/org/apache/sqoop/util/OptionsFileUtil.java
src/java/org/apache/sqoop/util/SubprocessSecurityManager.java
src/java/org/apache/sqoop/util/TaskId.java
src/perftest/ExportStressTest.java
src/perftest/ExtConnFactoryTest.java
src/perftest/ExtFactory.java
src/perftest/LobFilePerfTest.java
src/perftest/LobFileStressTest.java
src/scripts/write-version-info.cmd
src/scripts/write-version-info.sh
src/test/com/cloudera/sqoop/TestSqoopOptions.java [deleted file]
src/test/com/cloudera/sqoop/hive/TestTableDefWriter.java [deleted file]
src/test/com/cloudera/sqoop/manager/TestSqlManager.java [deleted file]
src/test/com/cloudera/sqoop/mapreduce/db/TestIntegerSplitter.java [deleted file]
src/test/com/cloudera/sqoop/mapreduce/db/TestTextSplitter.java [deleted file]
src/test/findbugsExcludeFile.xml [deleted file]
src/test/org/apache/sqoop/TestAllTables.java [moved from src/test/com/cloudera/sqoop/TestAllTables.java with 97% similarity]
src/test/org/apache/sqoop/TestAppendUtils.java [moved from src/test/com/cloudera/sqoop/TestAppendUtils.java with 96% similarity]
src/test/org/apache/sqoop/TestAutoResetMapper.java
src/test/org/apache/sqoop/TestAvroExport.java [moved from src/test/com/cloudera/sqoop/TestAvroExport.java with 99% similarity]
src/test/org/apache/sqoop/TestAvroImport.java [moved from src/test/com/cloudera/sqoop/TestAvroImport.java with 98% similarity]
src/test/org/apache/sqoop/TestAvroImportExportRoundtrip.java [moved from src/test/com/cloudera/sqoop/TestAvroImportExportRoundtrip.java with 97% similarity]
src/test/org/apache/sqoop/TestBigDecimalExport.java
src/test/org/apache/sqoop/TestBigDecimalImport.java
src/test/org/apache/sqoop/TestBoundaryQuery.java [moved from src/test/com/cloudera/sqoop/TestBoundaryQuery.java with 92% similarity]
src/test/org/apache/sqoop/TestColumnTypes.java [moved from src/test/com/cloudera/sqoop/TestColumnTypes.java with 96% similarity]
src/test/org/apache/sqoop/TestCompression.java [moved from src/test/com/cloudera/sqoop/TestCompression.java with 93% similarity]
src/test/org/apache/sqoop/TestConnFactory.java [moved from src/test/com/cloudera/sqoop/TestConnFactory.java with 94% similarity]
src/test/org/apache/sqoop/TestDirectImport.java [moved from src/test/com/cloudera/sqoop/TestDirectImport.java with 92% similarity]
src/test/org/apache/sqoop/TestExport.java [moved from src/test/com/cloudera/sqoop/TestExport.java with 98% similarity]
src/test/org/apache/sqoop/TestExportUpdate.java [moved from src/test/com/cloudera/sqoop/TestExportUpdate.java with 99% similarity]
src/test/org/apache/sqoop/TestExportUsingProcedure.java
src/test/org/apache/sqoop/TestFreeFormQueryImport.java [moved from src/test/com/cloudera/sqoop/TestFreeFormQueryImport.java with 97% similarity]
src/test/org/apache/sqoop/TestIncrementalImport.java [moved from src/test/com/cloudera/sqoop/TestIncrementalImport.java with 98% similarity]
src/test/org/apache/sqoop/TestMerge.java [moved from src/test/com/cloudera/sqoop/TestMerge.java with 95% similarity]
src/test/org/apache/sqoop/TestMultiCols.java [moved from src/test/com/cloudera/sqoop/TestMultiCols.java with 98% similarity]
src/test/org/apache/sqoop/TestMultiMaps.java [moved from src/test/com/cloudera/sqoop/TestMultiMaps.java with 95% similarity]
src/test/org/apache/sqoop/TestParquetExport.java [moved from src/test/com/cloudera/sqoop/TestParquetExport.java with 99% similarity]
src/test/org/apache/sqoop/TestParquetImport.java [moved from src/test/com/cloudera/sqoop/TestParquetImport.java with 97% similarity]
src/test/org/apache/sqoop/TestQuery.java [moved from src/test/com/cloudera/sqoop/TestQuery.java with 92% similarity]
src/test/org/apache/sqoop/TestSplitBy.java [moved from src/test/com/cloudera/sqoop/TestSplitBy.java with 91% similarity]
src/test/org/apache/sqoop/TestSqoopJobDataPublisher.java
src/test/org/apache/sqoop/TestSqoopOptions.java
src/test/org/apache/sqoop/TestTargetDir.java [moved from src/test/com/cloudera/sqoop/TestTargetDir.java with 96% similarity]
src/test/org/apache/sqoop/TestWhere.java [moved from src/test/com/cloudera/sqoop/TestWhere.java with 92% similarity]
src/test/org/apache/sqoop/accumulo/AccumuloTestCase.java
src/test/org/apache/sqoop/credentials/TestPassingSecurePassword.java
src/test/org/apache/sqoop/hbase/HBaseImportAddRowKeyTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseImportAddRowKeyTest.java with 99% similarity]
src/test/org/apache/sqoop/hbase/HBaseImportNullTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseImportNullTest.java with 98% similarity]
src/test/org/apache/sqoop/hbase/HBaseImportTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseImportTest.java with 99% similarity]
src/test/org/apache/sqoop/hbase/HBaseImportTypesTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseImportTypesTest.java with 97% similarity]
src/test/org/apache/sqoop/hbase/HBaseKerberizedConnectivityTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseKerberizedConnectivityTest.java with 97% similarity]
src/test/org/apache/sqoop/hbase/HBaseQueryImportTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseQueryImportTest.java with 98% similarity]
src/test/org/apache/sqoop/hbase/HBaseTestCase.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java with 98% similarity]
src/test/org/apache/sqoop/hbase/HBaseUtilTest.java [moved from src/test/com/cloudera/sqoop/hbase/HBaseUtilTest.java with 97% similarity]
src/test/org/apache/sqoop/hbase/TestHBasePutProcessor.java
src/test/org/apache/sqoop/hcat/HCatalogExportTest.java
src/test/org/apache/sqoop/hcat/HCatalogImportTest.java
src/test/org/apache/sqoop/hcat/HCatalogTestUtils.java
src/test/org/apache/sqoop/hcat/TestHCatalogBasic.java
src/test/org/apache/sqoop/hive/TestHiveImport.java [moved from src/test/com/cloudera/sqoop/hive/TestHiveImport.java with 98% similarity]
src/test/org/apache/sqoop/hive/TestTableDefWriter.java
src/test/org/apache/sqoop/hive/TestTableDefWriterForExternalTable.java [new file with mode: 0644]
src/test/org/apache/sqoop/io/TestCodecMap.java [moved from src/test/com/cloudera/sqoop/io/TestCodecMap.java with 99% similarity]
src/test/org/apache/sqoop/io/TestLobFile.java [moved from src/test/com/cloudera/sqoop/io/TestLobFile.java with 99% similarity]
src/test/org/apache/sqoop/io/TestNamedFifo.java [moved from src/test/com/cloudera/sqoop/io/TestNamedFifo.java with 99% similarity]
src/test/org/apache/sqoop/io/TestSplittableBufferedWriter.java [moved from src/test/com/cloudera/sqoop/io/TestSplittableBufferedWriter.java with 99% similarity]
src/test/org/apache/sqoop/lib/TestBlobRef.java [moved from src/test/com/cloudera/sqoop/lib/TestBlobRef.java with 96% similarity]
src/test/org/apache/sqoop/lib/TestBooleanParser.java [moved from src/test/com/cloudera/sqoop/lib/TestBooleanParser.java with 98% similarity]
src/test/org/apache/sqoop/lib/TestClobRef.java [moved from src/test/com/cloudera/sqoop/lib/TestClobRef.java with 96% similarity]
src/test/org/apache/sqoop/lib/TestFieldFormatter.java [moved from src/test/com/cloudera/sqoop/lib/TestFieldFormatter.java with 99% similarity]
src/test/org/apache/sqoop/lib/TestLargeObjectLoader.java [moved from src/test/com/cloudera/sqoop/lib/TestLargeObjectLoader.java with 95% similarity]
src/test/org/apache/sqoop/lib/TestRecordParser.java [moved from src/test/com/cloudera/sqoop/lib/TestRecordParser.java with 99% similarity]
src/test/org/apache/sqoop/manager/TestDefaultManagerFactory.java
src/test/org/apache/sqoop/manager/TestMainframeManager.java
src/test/org/apache/sqoop/manager/TestSqlManager.java
src/test/org/apache/sqoop/manager/cubrid/CubridAuthTest.java
src/test/org/apache/sqoop/manager/cubrid/CubridCompatTest.java
src/test/org/apache/sqoop/manager/cubrid/CubridManagerExportTest.java [moved from src/test/com/cloudera/sqoop/manager/CubridManagerExportTest.java with 98% similarity]
src/test/org/apache/sqoop/manager/cubrid/CubridManagerImportTest.java [moved from src/test/com/cloudera/sqoop/manager/CubridManagerImportTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/db2/DB2ImportAllTableWithSchemaManualTest.java
src/test/org/apache/sqoop/manager/db2/DB2ManagerImportManualTest.java [moved from src/test/com/cloudera/sqoop/manager/DB2ManagerImportManualTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/db2/DB2XmlTypeImportManualTest.java
src/test/org/apache/sqoop/manager/hsqldb/TestHsqldbManager.java [moved from src/test/com/cloudera/sqoop/manager/TestHsqldbManager.java with 95% similarity]
src/test/org/apache/sqoop/manager/mysql/DirectMySQLExportTest.java [moved from src/test/com/cloudera/sqoop/manager/DirectMySQLExportTest.java with 98% similarity]
src/test/org/apache/sqoop/manager/mysql/DirectMySQLTest.java [moved from src/test/com/cloudera/sqoop/manager/DirectMySQLTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/mysql/JdbcMySQLExportTest.java [moved from src/test/com/cloudera/sqoop/manager/JdbcMySQLExportTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLAllTablesTest.java [moved from src/test/com/cloudera/sqoop/manager/MySQLAllTablesTest.java with 94% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLAuthTest.java [moved from src/test/com/cloudera/sqoop/manager/MySQLAuthTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLCompatTest.java [moved from src/test/com/cloudera/sqoop/manager/MySQLCompatTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLFreeFormQueryTest.java [moved from src/test/com/cloudera/sqoop/manager/MySQLFreeFormQueryTest.java with 94% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLLobAvroImportTest.java [moved from src/test/com/cloudera/sqoop/manager/MySQLLobAvroImportTest.java with 92% similarity]
src/test/org/apache/sqoop/manager/mysql/MySQLTestUtils.java [moved from src/test/com/cloudera/sqoop/manager/MySQLTestUtils.java with 98% similarity]
src/test/org/apache/sqoop/manager/mysql/MySqlCallExportTest.java
src/test/org/apache/sqoop/manager/mysql/MySqlColumnEscapeImportTest.java
src/test/org/apache/sqoop/manager/netezza/DirectNetezzaExportManualTest.java
src/test/org/apache/sqoop/manager/netezza/DirectNetezzaHCatExportManualTest.java
src/test/org/apache/sqoop/manager/netezza/DirectNetezzaHCatImportManualTest.java
src/test/org/apache/sqoop/manager/netezza/NetezzaExportManualTest.java
src/test/org/apache/sqoop/manager/netezza/NetezzaImportManualTest.java
src/test/org/apache/sqoop/manager/netezza/NetezzaTestUtils.java
src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
src/test/org/apache/sqoop/manager/oracle/OraOopOracleQueriesTest.java
src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java
src/test/org/apache/sqoop/manager/oracle/OracleCallExportTest.java
src/test/org/apache/sqoop/manager/oracle/OracleColumnEscapeImportTest.java
src/test/org/apache/sqoop/manager/oracle/OracleCompatTest.java [moved from src/test/com/cloudera/sqoop/manager/OracleCompatTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/oracle/OracleConnectionFactoryTest.java
src/test/org/apache/sqoop/manager/oracle/OracleExportTest.java [moved from src/test/com/cloudera/sqoop/manager/OracleExportTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/oracle/OracleFreeFormQueryTest.java [moved from src/test/com/cloudera/sqoop/manager/OracleFreeFormQueryTest.java with 90% similarity]
src/test/org/apache/sqoop/manager/oracle/OracleIncrementalImportTest.java
src/test/org/apache/sqoop/manager/oracle/OracleLobAvroImportTest.java [moved from src/test/com/cloudera/sqoop/manager/OracleLobAvroImportTest.java with 92% similarity]
src/test/org/apache/sqoop/manager/oracle/OracleManagerTest.java [moved from src/test/com/cloudera/sqoop/manager/OracleManagerTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/oracle/OracleSpecialCharacterTableImportTest.java
src/test/org/apache/sqoop/manager/oracle/OracleSplitterTest.java
src/test/org/apache/sqoop/manager/oracle/SystemImportTest.java
src/test/org/apache/sqoop/manager/oracle/TestOraOopDataDrivenDBInputFormat.java
src/test/org/apache/sqoop/manager/oracle/util/OracleUtils.java [moved from src/test/com/cloudera/sqoop/manager/OracleUtils.java with 96% similarity]
src/test/org/apache/sqoop/manager/postgresql/DirectPostgreSQLExportManualTest.java [moved from src/test/com/cloudera/sqoop/manager/DirectPostgreSQLExportManualTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/postgresql/PGBulkloadManagerManualTest.java [moved from src/test/com/cloudera/sqoop/manager/PGBulkloadManagerManualTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/postgresql/PostgresqlExportTest.java [moved from src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java with 98% similarity]
src/test/org/apache/sqoop/manager/postgresql/PostgresqlExternalTableImportTest.java [moved from src/test/com/cloudera/sqoop/manager/PostgresqlExternalTableImportTest.java with 96% similarity]
src/test/org/apache/sqoop/manager/postgresql/PostgresqlImportTest.java [moved from src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerExportTest.java [moved from src/test/com/cloudera/sqoop/manager/SQLServerManagerExportTest.java with 98% similarity]
src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerImportTest.java [moved from src/test/com/cloudera/sqoop/manager/SQLServerManagerImportTest.java with 97% similarity]
src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByTest.java
src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereTest.java
src/test/org/apache/sqoop/mapreduce/TestImportJob.java [moved from src/test/com/cloudera/sqoop/mapreduce/TestImportJob.java with 97% similarity]
src/test/org/apache/sqoop/mapreduce/TestJdbcExportJob.java
src/test/org/apache/sqoop/mapreduce/TestJobBase.java
src/test/org/apache/sqoop/mapreduce/db/TestBigDecimalSplitter.java
src/test/org/apache/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java [moved from src/test/com/cloudera/sqoop/mapreduce/db/TestDataDrivenDBInputFormat.java with 97% similarity]
src/test/org/apache/sqoop/mapreduce/db/TestIntegerSplitter.java
src/test/org/apache/sqoop/mapreduce/db/TestSQLServerDBRecordReader.java
src/test/org/apache/sqoop/mapreduce/db/TestTextSplitter.java
src/test/org/apache/sqoop/mapreduce/db/TextSplitterHadoopConfIntegrationTest.java
src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetFTPRecordReader.java
src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetInputFormat.java
src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeImportJob.java
src/test/org/apache/sqoop/metastore/JobToolTestBase.java [moved from src/test/com/cloudera/sqoop/metastore/JobToolTestBase.java with 96% similarity]
src/test/org/apache/sqoop/metastore/MetaConnectIncrementalImportTestBase.java [moved from src/test/com/cloudera/sqoop/metastore/MetaConnectIncrementalImportTestBase.java with 95% similarity]
src/test/org/apache/sqoop/metastore/SavedJobsTestBase.java [moved from src/test/com/cloudera/sqoop/metastore/SavedJobsTestBase.java with 95% similarity]
src/test/org/apache/sqoop/metastore/TestMetastoreConfigurationParameters.java [moved from src/test/com/cloudera/sqoop/metastore/TestMetastoreConfigurationParameters.java with 98% similarity]
src/test/org/apache/sqoop/metastore/db2/DB2JobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/db2/DB2JobToolTest.java with 96% similarity]
src/test/org/apache/sqoop/metastore/db2/DB2MetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/db2/DB2MetaConnectIncrementalImportTest.java with 95% similarity]
src/test/org/apache/sqoop/metastore/db2/DB2SavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/db2/DB2SavedJobsTest.java with 96% similarity]
src/test/org/apache/sqoop/metastore/hsqldb/HsqldbJobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/hsqldb/HsqldbJobToolTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/hsqldb/HsqldbMetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/hsqldb/HsqldbMetaConnectIncrementalImportTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/hsqldb/HsqldbSavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/hsqldb/HsqldbSavedJobsTest.java with 93% similarity]
src/test/org/apache/sqoop/metastore/mysql/MySqlJobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/mysql/MySqlJobToolTest.java with 93% similarity]
src/test/org/apache/sqoop/metastore/mysql/MySqlMetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/mysql/MySqlMetaConnectIncrementalImportTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/mysql/MySqlSavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/mysql/MySqlSavedJobsTest.java with 93% similarity]
src/test/org/apache/sqoop/metastore/oracle/OracleJobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/oracle/OracleJobToolTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/oracle/OracleMetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/oracle/OracleMetaConnectIncrementalImportTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/oracle/OracleSavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/oracle/OracleSavedJobsTest.java with 92% similarity]
src/test/org/apache/sqoop/metastore/postgres/PostgresJobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/postgres/PostgresJobToolTest.java with 95% similarity]
src/test/org/apache/sqoop/metastore/postgres/PostgresMetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/postgres/PostgresMetaConnectIncrementalImportTest.java with 95% similarity]
src/test/org/apache/sqoop/metastore/postgres/PostgresSavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/postgres/PostgresSavedJobsTest.java with 95% similarity]
src/test/org/apache/sqoop/metastore/sqlserver/SqlServerJobToolTest.java [moved from src/test/com/cloudera/sqoop/metastore/sqlserver/SqlServerJobToolTest.java with 95% similarity]
src/test/org/apache/sqoop/metastore/sqlserver/SqlServerMetaConnectIncrementalImportTest.java [moved from src/test/com/cloudera/sqoop/metastore/sqlserver/SqlServerMetaConnectIncrementalImportTest.java with 94% similarity]
src/test/org/apache/sqoop/metastore/sqlserver/SqlServerSavedJobsTest.java [moved from src/test/com/cloudera/sqoop/metastore/sqlserver/SqlServerSavedJobsTest.java with 95% similarity]
src/test/org/apache/sqoop/orm/TestClassWriter.java [moved from src/test/com/cloudera/sqoop/orm/TestClassWriter.java with 98% similarity]
src/test/org/apache/sqoop/orm/TestCompilationManager.java
src/test/org/apache/sqoop/orm/TestParseMethods.java [moved from src/test/com/cloudera/sqoop/orm/TestParseMethods.java with 93% similarity]
src/test/org/apache/sqoop/testutil/BaseSqoopTestCase.java [moved from src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java with 98% similarity]
src/test/org/apache/sqoop/testutil/CommonArgs.java [moved from src/test/com/cloudera/sqoop/testutil/CommonArgs.java with 98% similarity]
src/test/org/apache/sqoop/testutil/DirUtil.java [moved from src/test/com/cloudera/sqoop/testutil/DirUtil.java with 97% similarity]
src/test/org/apache/sqoop/testutil/ExplicitSetMapper.java [moved from src/test/com/cloudera/sqoop/testutil/ExplicitSetMapper.java with 97% similarity]
src/test/org/apache/sqoop/testutil/ExportJobTestCase.java [moved from src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java with 98% similarity]
src/test/org/apache/sqoop/testutil/HsqldbTestServer.java [moved from src/test/com/cloudera/sqoop/testutil/HsqldbTestServer.java with 97% similarity]
src/test/org/apache/sqoop/testutil/ImportJobTestCase.java [moved from src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java with 95% similarity]
src/test/org/apache/sqoop/testutil/InjectableConnManager.java [moved from src/test/com/cloudera/sqoop/testutil/InjectableConnManager.java with 92% similarity]
src/test/org/apache/sqoop/testutil/InjectableManagerFactory.java [moved from src/test/com/cloudera/sqoop/testutil/InjectableManagerFactory.java with 83% similarity]
src/test/org/apache/sqoop/testutil/LobAvroImportTestCase.java [moved from src/test/com/cloudera/sqoop/testutil/LobAvroImportTestCase.java with 99% similarity]
src/test/org/apache/sqoop/testutil/ManagerCompatTestCase.java [moved from src/test/com/cloudera/sqoop/testutil/ManagerCompatTestCase.java with 99% similarity]
src/test/org/apache/sqoop/testutil/MockResultSet.java [moved from src/test/com/cloudera/sqoop/testutil/MockResultSet.java with 99% similarity]
src/test/org/apache/sqoop/testutil/ReparseMapper.java [moved from src/test/com/cloudera/sqoop/testutil/ReparseMapper.java with 97% similarity]
src/test/org/apache/sqoop/testutil/SeqFileReader.java [moved from src/test/com/cloudera/sqoop/testutil/SeqFileReader.java with 98% similarity]
src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java
src/test/org/apache/sqoop/tool/TestBaseSqoopTool.java
src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java
src/test/org/apache/sqoop/tool/TestImportTool.java
src/test/org/apache/sqoop/tool/TestMainframeImportTool.java
src/test/org/apache/sqoop/tool/TestToolPlugin.java [moved from src/test/com/cloudera/sqoop/tool/TestToolPlugin.java with 95% similarity]
src/test/org/apache/sqoop/tool/TestValidateImportOptions.java
src/test/org/apache/sqoop/util/TestOptionsFileExpansion.java [moved from src/test/com/cloudera/sqoop/util/TestOptionsFileExpansion.java with 99% similarity]
src/test/org/apache/sqoop/util/TestSubstitutionUtils.java [moved from src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java with 98% similarity]
src/test/org/apache/sqoop/validation/AbortOnFailureHandlerTest.java
src/test/org/apache/sqoop/validation/RowCountValidatorImportTest.java

index 2094bae..a9dbdd5 100644 (file)
--- a/build.xml
+++ b/build.xml
       value="${findbugs.out.dir}/report.xml" />
   <property name="findbugs.output.html.file"
       value="${findbugs.out.dir}/report.html" />
-  <property name="findbugs.excludes"
-      location="${test.dir}/findbugsExcludeFile.xml" />
 
   <!-- maven -->
   <property name="mvn.build.dir" value="${build.dir}/m2" />
     <if>
       <equals arg1="${windows}" arg2="true" />
       <then>
-        <java classname="com.cloudera.sqoop.Sqoop"
+        <java classname="org.apache.sqoop.Sqoop"
             fork="true"
             failonerror="true"
             output="${build.dir}/tools-list"
         </exec>
       </then>
       <else>
-        <java classname="com.cloudera.sqoop.Sqoop"
+        <java classname="org.apache.sqoop.Sqoop"
             fork="true"
             failonerror="true"
             output="${build.dir}/tools-list"
       doctitle="${Name} ${version} API"
       bottom="Copyright &amp;copy; ${year} The Apache Software Foundation">
       <packageset dir="${src.dir}">
-        <include name="com/cloudera/sqoop/lib/**" />
         <include name="org/apache/sqoop/lib/**" />
       </packageset>
       <classpath>
     <mkdir dir="${findbugs.out.dir}"/>
     <findbugs home="${findbugs.home}" output="xml:withMessages"
         outputFile="${findbugs.output.xml.file}" effort="max"
-        excludeFilter="${findbugs.excludes}" jvmargs="-Xms512m -Xmx512m">
+        jvmargs="-Xms512m -Xmx512m">
       <auxClasspath>
         <path refid="test.classpath"/>
       </auxClasspath>
index 2182da3..a906cb4 100644 (file)
@@ -38,7 +38,7 @@ under the License.
   <!--
   <property>
     <name>sqoop.connection.factories</name>
-    <value>com.cloudera.sqoop.manager.DefaultManagerFactory</value>
+    <value>org.apache.sqoop.manager.DefaultManagerFactory</value>
     <description>A comma-delimited list of ManagerFactory implementations
       which are consulted, in order, to instantiate ConnManager instances
       used to drive connections to databases.
diff --git a/ivy.xml b/ivy.xml
index d153038..6be4fa2 100644 (file)
--- a/ivy.xml
+++ b/ivy.xml
@@ -20,7 +20,7 @@ under the License.
 <ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
-  <info organisation="com.cloudera.sqoop" module="${name}">
+  <info organisation="org.apache.sqoop" module="${name}">
     <license name="Apache 2.0"/>
     <ivyauthor name="Sqoop Team" url="http://github.com/cloudera/sqoop" />
     <description>
index 80453ee..46a57ee 100644 (file)
@@ -49,10 +49,10 @@ convenience methods:
 
 The full set of methods guaranteed to exist in an auto-generated class
 is specified in the abstract class
-+com.cloudera.sqoop.lib.SqoopRecord+.
++org.apache.sqoop.lib.SqoopRecord+.
 
 Instances of +SqoopRecord+ may depend on Sqoop's public API. This is all classes
-in the +com.cloudera.sqoop.lib+ package. These are briefly described below.
+in the +org.apache.sqoop.lib+ package. These are briefly described below.
 Clients of Sqoop should not need to directly interact with any of these classes,
 although classes generated by Sqoop will depend on them. Therefore, these APIs
 are considered public and care will be taken when forward-evolving them.
@@ -82,11 +82,11 @@ While Sqoop uses JDBC and +DataDrivenDBInputFormat+ to
 read from databases, differences in the SQL supported by different vendors as
 well as JDBC metadata necessitates vendor-specific codepaths for most databases.
 Sqoop's solution to this problem is by introducing the +ConnManager+ API
-(+com.cloudera.sqoop.manager.ConnMananger+).
+(+org.apache.sqoop.manager.ConnMananger+).
 
 +ConnManager+ is an abstract class defining all methods that interact with the
 database itself. Most implementations of +ConnManager+ will extend the
-+com.cloudera.sqoop.manager.SqlManager+ abstract class, which uses standard
++org.apache.sqoop.manager.SqlManager+ abstract class, which uses standard
 SQL to perform most actions. Subclasses are required to implement the
 +getConnection()+ method which returns the actual JDBC connection to the
 database. Subclasses are free to override all other methods as well. The
@@ -118,7 +118,7 @@ lightweight operation, and is done reasonably infrequently. Therefore,
 class +ManagerFactory+ (See
 http://issues.apache.org/jira/browse/MAPREDUCE-750[]). One
 +ManagerFactory+ implementation currently serves all of Sqoop:
-+com.cloudera.sqoop.manager.DefaultManagerFactory+.  Extensions
++org.apache.sqoop.manager.DefaultManagerFactory+.  Extensions
 should not modify +DefaultManagerFactory+. Instead, an
 extension-specific +ManagerFactory+ implementation should be provided
 with the new +ConnManager+.  +ManagerFactory+ has a single method of
@@ -133,7 +133,7 @@ and +ConnManager+(s), and configure +sqoop-site.xml+ to use the new
 +ManagerFactory+.  The +DefaultManagerFactory+ principly discriminates between
 databases by parsing the connect string stored in +SqoopOptions+.
 
-Extension authors may make use of classes in the +com.cloudera.sqoop.io+,
+Extension authors may make use of classes in the +org.apache.sqoop.io+,
 +mapreduce+, and +util+ packages to facilitate their implementations.
 These packages and classes are described in more detail in the following
 section.
@@ -149,7 +149,7 @@ HBase, it must be transformed into a format HBase can accept. Specifically:
 * Values must be serialized to byte arrays to put into cells.
 
 All of this is done via +Put+ statements in the HBase client API.
-Sqoop's interaction with HBase is performed in the +com.cloudera.sqoop.hbase+
+Sqoop's interaction with HBase is performed in the +org.apache.sqoop.hbase+
 package. Records are deserialzed from the database and emitted from the mapper.
 The OutputFormat is responsible for inserting the results into HBase. This is
 done through an interface called +PutTransformer+. The +PutTransformer+
@@ -179,7 +179,7 @@ Sqoop Internals
 
 This section describes the internal architecture of Sqoop.
 
-The Sqoop program is driven by the +com.cloudera.sqoop.Sqoop+ main class.
+The Sqoop program is driven by the +org.apache.sqoop.Sqoop+ main class.
 A limited number of additional classes are in the same package; +SqoopOptions+
 (described earlier) and +ConnFactory+ (which manipulates +ManagerFactory+
 instances).
@@ -189,7 +189,7 @@ General program flow
 
 The general program flow is as follows:
 
-+com.cloudera.sqoop.Sqoop+ is the main class and implements _Tool_. A new
++org.apache.sqoop.Sqoop+ is the main class and implements _Tool_. A new
 instance is launched with +ToolRunner+. The first argument to Sqoop is
 a string identifying the name of a +SqoopTool+ to run. The +SqoopTool+
 itself drives the execution of the user's requested operation (e.g.,
@@ -214,8 +214,8 @@ the +ConnManager.importTable()+ method is left to determine how best
 to run the import. Each main action is actually controlled by the
 +ConnMananger+, except for the generating of code, which is done by
 the +CompilationManager+ and +ClassWriter+. (Both in the
-+com.cloudera.sqoop.orm+ package.) Importing into Hive is also
-taken care of via the +com.cloudera.sqoop.hive.HiveImport+ class
++org.apache.sqoop.orm+ package.) Importing into Hive is also
+taken care of via the +org.apache.sqoop.hive.HiveImport+ class
 after the +importTable()+ has completed. This is done without concern
 for the +ConnManager+ implementation used.
 
@@ -231,7 +231,7 @@ related data.
 Subpackages
 ^^^^^^^^^^^
 
-The following subpackages under +com.cloudera.sqoop+ exist:
+The following subpackages under +org.apache.sqoop+ exist:
 
 * +hive+ - Facilitates importing data to Hive.
 * +io+ - Implementations of +java.io.*+ interfaces (namely, _OutputStream_ and
@@ -288,7 +288,7 @@ more. Consequently, these must both be handled, and preferably asynchronously.
 
 In Sqoop parlance, an "async sink" is a thread that takes an +InputStream+ and
 reads it to completion. These are realized by +AsyncSink+ implementations. The
-+com.cloudera.sqoop.util.AsyncSink+ abstract class defines the operations
++org.apache.sqoop.util.AsyncSink+ abstract class defines the operations
 this factory must perform. +processStream()+ will spawn another thread to
 immediately begin handling the data read from the +InputStream+ argument; it
 must read this stream to completion. The +join()+ method allows external threads
@@ -311,7 +311,7 @@ Sqoop schedules MapReduce jobs to effect imports and exports.
 Configuration and execution of MapReduce jobs follows a few common
 steps (configuring the +InputFormat+; configuring the +OutputFormat+;
 setting the +Mapper+ implementation; etc...). These steps are
-formalized in the +com.cloudera.sqoop.mapreduce.JobBase+ class.
+formalized in the +org.apache.sqoop.mapreduce.JobBase+ class.
 The +JobBase+ allows a user to specify the +InputFormat+,
 +OutputFormat+, and +Mapper+ to use. 
 
index 9664125..fb4dba5 100644 (file)
@@ -83,7 +83,7 @@ A well-defined programmatic entry-point to Sqoop is *not* defined by this specif
 
 h3. Base package
 
-The base package in Sqoop is currently @org.apache.hadoop.sqoop@. To reflect Sqoop's migration from an Apache Hadoop subproject to its own project, the class hierarchy should be moved to @com.cloudera.sqoop@.
+The base package in Sqoop is currently @org.apache.hadoop.sqoop@.
 
 h2. Compatibility Issues
 
diff --git a/src/java/com/cloudera/sqoop/ConnFactory.java b/src/java/com/cloudera/sqoop/ConnFactory.java
deleted file mode 100644 (file)
index f75cb4e..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop;
-
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ConnFactory
-    extends org.apache.sqoop.ConnFactory {
-
-  public static final String FACTORY_CLASS_NAMES_KEY =
-      org.apache.sqoop.ConnFactory.FACTORY_CLASS_NAMES_KEY;
-
-  public static final String DEFAULT_FACTORY_CLASS_NAMES =
-    org.apache.sqoop.ConnFactory.DEFAULT_FACTORY_CLASS_NAMES;
-
-  public ConnFactory(Configuration conf) {
-    super(conf);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/Sqoop.java b/src/java/com/cloudera/sqoop/Sqoop.java
deleted file mode 100644 (file)
index 8ec9f8f..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop;
-
-import org.apache.commons.logging.Log;
-import org.apache.hadoop.conf.Configuration;
-import com.cloudera.sqoop.tool.SqoopTool;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class Sqoop
-    extends org.apache.sqoop.Sqoop {
-
-  public static final Log SQOOP_LOG =
-      org.apache.sqoop.Sqoop.SQOOP_LOG;
-
-  public static final String SQOOP_OPTIONS_FILE_SPECIFIER =
-      org.apache.sqoop.Sqoop.SQOOP_OPTIONS_FILE_SPECIFIER;
-
-  static {
-    Configuration.addDefaultResource("sqoop-site.xml");
-  }
-
-  public static int runSqoop(Sqoop sqoop, String [] args) {
-    return org.apache.sqoop.Sqoop.runSqoop(sqoop, args);
-  }
-
-  public static int runTool(String [] args, Configuration conf) {
-    return org.apache.sqoop.Sqoop.runTool(args, conf);
-  }
-
-  public static int runTool(String [] args) {
-    return org.apache.sqoop.Sqoop.runTool(args);
-  }
-
-  public static void main(String [] args) {
-    org.apache.sqoop.Sqoop.main(args);
-  }
-
-  public Sqoop(SqoopTool tool) {
-    super(tool);
-  }
-
-  public Sqoop(SqoopTool tool, Configuration conf) {
-    super(tool, conf);
-  }
-
-  public Sqoop(SqoopTool tool, Configuration conf, SqoopOptions opts) {
-    super(tool, conf, opts);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/SqoopOptions.java b/src/java/com/cloudera/sqoop/SqoopOptions.java
deleted file mode 100644 (file)
index 0863ef6..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop;
-
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * @deprecated
- */
-public class SqoopOptions
-  extends org.apache.sqoop.SqoopOptions implements Cloneable {
-
-  public static final String METASTORE_PASSWORD_KEY =
-    org.apache.sqoop.SqoopOptions.METASTORE_PASSWORD_KEY;
-
-  public static final boolean METASTORE_PASSWORD_DEFAULT =
-    org.apache.sqoop.SqoopOptions.METASTORE_PASSWORD_DEFAULT;
-
-  public static final int DEFAULT_NUM_MAPPERS =
-    org.apache.sqoop.SqoopOptions.DEFAULT_NUM_MAPPERS;
-
-  /** Selects in-HDFS destination file format. */
-  public enum FileLayout {
-    TextFile,
-    SequenceFile,
-    AvroDataFile,
-    ParquetFile
-  }
-
-  /**
-   * Incremental imports support two modes:
-   * <ul>
-   * <li>new rows being appended to the end of a table with an
-   * incrementing id</li>
-   * <li>new data results in a date-last-modified column being
-   * updated to NOW(); Sqoop will pull all dirty rows in the next
-   * incremental import.</li>
-   * </ul>
-   */
-  public enum IncrementalMode {
-    None,
-    AppendRows,
-    DateLastModified,
-  }
-
-  /**
-   * Update mode option specifies how updates are performed when
-   * new rows are found with non-matching keys in database.
-   * It supports two modes:
-   * <ul>
-   * <li>UpdateOnly: This is the default. New rows are silently ignored.</li>
-   * <li>AllowInsert: New rows are inserted into the database.</li>
-   * </ul>
-   */
-  public enum UpdateMode {
-    UpdateOnly,
-    AllowInsert
-  }
-
-  public SqoopOptions() {
-    super();
-  }
-
-  public SqoopOptions(Configuration conf) {
-    super(conf);
-  }
-
-  public SqoopOptions(final String connect, final String table) {
-    super(connect, table);
-  }
-
-  public static void clearNonceDir() {
-    org.apache.sqoop.SqoopOptions.clearNonceDir();
-  }
-
-  public static String getHiveHomeDefault() {
-    return org.apache.sqoop.SqoopOptions.getHiveHomeDefault();
-  }
-
-  public static boolean isSqoopRethrowSystemPropertySet() {
-    return org.apache.sqoop.SqoopOptions.isSqoopRethrowSystemPropertySet();
-  }
-
-  /**
-   * {@inheritDoc}.
-   * @deprecated
-   */
-  public static class InvalidOptionsException
-    extends org.apache.sqoop.SqoopOptions.InvalidOptionsException {
-
-
-    public InvalidOptionsException(final String msg) {
-      super(msg);
-    }
-  }
-
-  public static char toChar(String charish) throws InvalidOptionsException {
-    try {
-      return org.apache.sqoop.SqoopOptions.toChar(charish);
-    } catch(org.apache.sqoop.SqoopOptions.InvalidOptionsException ex) {
-      throw new InvalidOptionsException(ex.getMessage());
-    }
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/cli/RelatedOptions.java b/src/java/com/cloudera/sqoop/cli/RelatedOptions.java
deleted file mode 100644 (file)
index c6453b7..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.cli;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class RelatedOptions
-    extends org.apache.sqoop.cli.RelatedOptions {
-
-  public RelatedOptions() {
-    super();
-  }
-
-  public RelatedOptions(final String title) {
-    super(title);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/cli/SqoopParser.java b/src/java/com/cloudera/sqoop/cli/SqoopParser.java
deleted file mode 100644 (file)
index 0c6d84e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.cli;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class SqoopParser
-    extends org.apache.sqoop.cli.SqoopParser {
-}
-
diff --git a/src/java/com/cloudera/sqoop/cli/ToolOptions.java b/src/java/com/cloudera/sqoop/cli/ToolOptions.java
deleted file mode 100644 (file)
index 0b5da6c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.cli;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ToolOptions
-  extends org.apache.sqoop.cli.ToolOptions {
-}
-
diff --git a/src/java/com/cloudera/sqoop/config/ConfigurationConstants.java b/src/java/com/cloudera/sqoop/config/ConfigurationConstants.java
deleted file mode 100644 (file)
index 72e7df1..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.config;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class ConfigurationConstants {
-
-  public static final String PROP_MAPRED_TASK_ID =
-    org.apache.sqoop.config.ConfigurationConstants.PROP_MAPRED_TASK_ID;
-  public static final String PROP_JOB_LOCAL_DIRECTORY =
-    org.apache.sqoop.config.ConfigurationConstants.PROP_JOB_LOCAL_DIRECTORY;
-  public static final String PROP_MAPRED_MAP_TASKS =
-    org.apache.sqoop.config.ConfigurationConstants.PROP_MAPRED_MAP_TASKS;
-  public static final String PROP_MAPRED_MAP_TASKS_SPECULATIVE_EXEC =
-    org.apache.sqoop.config.
-        ConfigurationConstants.PROP_MAPRED_MAP_TASKS_SPECULATIVE_EXEC;
-  public static final String PROP_MAPRED_REDUCE_TASKS_SPECULATIVE_EXEC =
-    org.apache.sqoop.config.
-        ConfigurationConstants.PROP_MAPRED_REDUCE_TASKS_SPECULATIVE_EXEC;
-  public static final String PROP_MAPRED_JOB_TRACKER_ADDRESS =
-    org.apache.sqoop.config.
-        ConfigurationConstants.PROP_MAPRED_JOB_TRACKER_ADDRESS;
-  public static final String COUNTER_GROUP_MAPRED_TASK_COUNTERS =
-    org.apache.sqoop.config.
-        ConfigurationConstants.COUNTER_GROUP_MAPRED_TASK_COUNTERS;
-  public static final String COUNTER_MAP_OUTPUT_RECORDS =
-    org.apache.sqoop.config.ConfigurationConstants.COUNTER_MAP_OUTPUT_RECORDS;
-  public static final String COUNTER_MAP_INPUT_RECORDS =
-    org.apache.sqoop.config.ConfigurationConstants.COUNTER_MAP_INPUT_RECORDS;
-
-  private ConfigurationConstants() {
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/config/ConfigurationHelper.java b/src/java/com/cloudera/sqoop/config/ConfigurationHelper.java
deleted file mode 100644 (file)
index 0870497..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.config;
-
-import java.io.IOException;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.mapreduce.Job;
-import org.apache.hadoop.mapreduce.JobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class ConfigurationHelper {
-
-  public static void setJobNumMaps(Job job, int numMapTasks) {
-    org.apache.sqoop.config.ConfigurationHelper.setJobNumMaps(job, numMapTasks);
-  }
-
-  public static int getJobNumMaps(JobContext job) {
-    return org.apache.sqoop.config.ConfigurationHelper.getJobNumMaps(job);
-  }
-
-  public static long getNumMapOutputRecords(Job job)
-      throws IOException, InterruptedException {
-    return org.apache.sqoop.config.
-           ConfigurationHelper.getNumMapOutputRecords(job);
-  }
-
-  public static long getNumMapInputRecords(Job job)
-      throws IOException, InterruptedException {
-    return org.apache.sqoop.config.
-            ConfigurationHelper.getNumMapInputRecords(job);
-  }
-
-  public static int getConfNumMaps(Configuration conf) {
-    return org.apache.sqoop.config.ConfigurationHelper.getConfNumMaps(conf);
-  }
-
-  public static void setJobMapSpeculativeExecution(Job job, boolean isEnabled) {
-    org.apache.sqoop.config.
-        ConfigurationHelper.setJobMapSpeculativeExecution(job, isEnabled);
-  }
-
-  public static void setJobReduceSpeculativeExecution(
-      Job job, boolean isEnabled) {
-    org.apache.sqoop.config.
-        ConfigurationHelper.setJobReduceSpeculativeExecution(job, isEnabled);
-  }
-
-  public static void setJobtrackerAddr(Configuration conf, String addr) {
-    org.apache.sqoop.config.
-        ConfigurationHelper.setJobtrackerAddr(conf, addr);
-  }
-
-  public static String getDbInputClassProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbInputClassProperty();
-  }
-
-  public static String getDbUsernameProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbUsernameProperty();
-  }
-
-  public static String getDbPasswordProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbPasswordProperty();
-  }
-
-  public static String getDbUrlProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbUrlProperty();
-  }
-
-  public static String getDbInputTableNameProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbInputTableNameProperty();
-  }
-
-
-  public static String getDbInputConditionsProperty() {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.getDbInputConditionsProperty();
-  }
-
-  public static String [] parseGenericOptions(
-      Configuration conf, String [] args) throws IOException {
-    return org.apache.sqoop.config.
-               ConfigurationHelper.parseGenericOptions(conf, args);
-  }
-
-  private ConfigurationHelper() {
-    // Disable explicit object creation
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/hbase/HBasePutProcessor.java b/src/java/com/cloudera/sqoop/hbase/HBasePutProcessor.java
deleted file mode 100644 (file)
index 425b0f4..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hbase;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class HBasePutProcessor
-    extends org.apache.sqoop.hbase.HBasePutProcessor {
-
-  public static final String TABLE_NAME_KEY =
-      org.apache.sqoop.hbase.HBasePutProcessor.TABLE_NAME_KEY;
-  public static final String COL_FAMILY_KEY =
-      org.apache.sqoop.hbase.HBasePutProcessor.COL_FAMILY_KEY;
-  public static final String ROW_KEY_COLUMN_KEY =
-      org.apache.sqoop.hbase.HBasePutProcessor.ROW_KEY_COLUMN_KEY;
-  public static final String TRANSFORMER_CLASS_KEY =
-      org.apache.sqoop.hbase.HBasePutProcessor.TRANSFORMER_CLASS_KEY;
-
-}
diff --git a/src/java/com/cloudera/sqoop/hbase/HBaseUtil.java b/src/java/com/cloudera/sqoop/hbase/HBaseUtil.java
deleted file mode 100644 (file)
index 6f1fba7..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hbase;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class HBaseUtil {
-
-  private HBaseUtil() { }
-
-  /**
-   * This is a way to make this always return false for testing.
-   */
-  public static void setAlwaysNoHBaseJarMode(boolean mode) {
-    org.apache.sqoop.hbase.HBaseUtil.setAlwaysNoHBaseJarMode(mode);
-  }
-
-  public static boolean isHBaseJarPresent() {
-    return org.apache.sqoop.hbase.HBaseUtil.isHBaseJarPresent();
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/hbase/PutTransformer.java b/src/java/com/cloudera/sqoop/hbase/PutTransformer.java
deleted file mode 100644 (file)
index b8ceab7..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hbase;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class PutTransformer
-    extends org.apache.sqoop.hbase.PutTransformer {
-}
diff --git a/src/java/com/cloudera/sqoop/hbase/ToStringPutTransformer.java b/src/java/com/cloudera/sqoop/hbase/ToStringPutTransformer.java
deleted file mode 100644 (file)
index 0c55b21..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hbase;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ToStringPutTransformer
-    extends org.apache.sqoop.hbase.ToStringPutTransformer {
-}
diff --git a/src/java/com/cloudera/sqoop/hive/HiveImport.java b/src/java/com/cloudera/sqoop/hive/HiveImport.java
deleted file mode 100644 (file)
index db1c1b3..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hive;
-
-import org.apache.hadoop.conf.Configuration;
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ConnManager;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class HiveImport
-    extends org.apache.sqoop.hive.HiveImport {
-
-  public HiveImport(final SqoopOptions opts, final ConnManager connMgr,
-      final Configuration conf, final boolean generateOnly) {
-    super(opts, connMgr, conf, generateOnly);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/hive/HiveTypes.java b/src/java/com/cloudera/sqoop/hive/HiveTypes.java
deleted file mode 100644 (file)
index e67f6b8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hive;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class HiveTypes {
-
-  private HiveTypes() { }
-
-  public static String toHiveType(int sqlType) {
-    return org.apache.sqoop.hive.HiveTypes.toHiveType(sqlType);
-  }
-
-  public static boolean isHiveTypeImprovised(int sqlType) {
-    return org.apache.sqoop.hive.HiveTypes.isHiveTypeImprovised(sqlType);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/hive/TableDefWriter.java b/src/java/com/cloudera/sqoop/hive/TableDefWriter.java
deleted file mode 100644 (file)
index d19e018..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.hive;
-
-import org.apache.hadoop.conf.Configuration;
-
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ConnManager;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class TableDefWriter
-    extends org.apache.sqoop.hive.TableDefWriter {
-
-  public TableDefWriter(final SqoopOptions opts, final ConnManager connMgr,
-      final String inputTable, final String outputTable,
-      final Configuration config, final boolean withComments) {
-    super(opts, connMgr, inputTable, outputTable, config, withComments);
-  }
-
-  public static String getHiveOctalCharCode(int charNum) {
-    return org.apache.sqoop.hive.TableDefWriter.getHiveOctalCharCode(charNum);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/io/CodecMap.java b/src/java/com/cloudera/sqoop/io/CodecMap.java
deleted file mode 100644 (file)
index 647cedc..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.util.Set;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.io.compress.CompressionCodec;
-
-/**
- * Provides a mapping from codec names to concrete implementation class names.
- *
- * @deprecated use org.apache.sqoop.io.CodecMap instead.
- * @see org.apache.sqoop.io.CodecMap
- */
-public final class CodecMap {
-
-  // Supported codec map values
-  // Note: do not add more values here, since codecs are discovered using the
-  // standard Hadoop mechanism (io.compression.codecs). See
-  // CompressionCodecFactory.
-  public static final String NONE = org.apache.sqoop.io.CodecMap.NONE;
-  public static final String DEFLATE = org.apache.sqoop.io.CodecMap.DEFLATE;
-  public static final String LZO = org.apache.sqoop.io.CodecMap.LZO;
-  public static final String LZOP = org.apache.sqoop.io.CodecMap.LZOP;
-
-  private CodecMap() {
-  }
-
-  /**
-   * Given a codec name, return the name of the concrete class
-   * that implements it (or 'null' in the case of the "none" codec).
-   * @throws UnsupportedCodecException if a codec cannot be found
-   * with the supplied name.
-   */
-  public static String getCodecClassName(String codecName)
-      throws UnsupportedCodecException {
-    return org.apache.sqoop.io.CodecMap.getCodecClassName(codecName);
-  }
-
-  /**
-   * Given a codec name, instantiate the concrete implementation
-   * class that implements it.
-   * @throws UnsupportedCodecException if a codec cannot be found
-   * with the supplied name.
-   */
-  public static CompressionCodec getCodec(String codecName,
-      Configuration conf) throws UnsupportedCodecException {
-    return org.apache.sqoop.io.CodecMap.getCodec(codecName, conf);
-  }
-
-  /**
-   * Return the set of available codec names.
-   */
-  public static Set<String> getCodecNames() {
-    return org.apache.sqoop.io.CodecMap.getCodecNames();
-  }
-
-  /**
-   * Return the short name of the codec.
-   * See {@link org.apache.sqoop.io.CodecMap#getCodecShortNameByName(String,
-   * Configuration)}.
-   */
-  public static String getCodecShortNameByName(String codecName,
-    Configuration conf) throws UnsupportedCodecException {
-    return org.apache.sqoop.io.CodecMap
-      .getCodecShortNameByName(codecName, conf);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/io/FixedLengthInputStream.java b/src/java/com/cloudera/sqoop/io/FixedLengthInputStream.java
deleted file mode 100644 (file)
index 806af22..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.io.InputStream;
-
-/**
- * Provides an InputStream that can consume a fixed maximum number of bytes
- * from an underlying stream. Closing the FixedLengthInputStream does not
- * close the underlying stream. After reading the maximum number of available
- * bytes this acts as though EOF has been reached.
- *
- * @deprecated use org.apache.sqoop.io.FixedLengthInputStream instead.
- * @see org.apache.sqoop.io.FixedLengthInputStream
- */
-public class FixedLengthInputStream
-  extends org.apache.sqoop.io.FixedLengthInputStream {
-
-   public FixedLengthInputStream(InputStream stream, long maxLen) {
-     super(stream, maxLen);
-   }
-}
-
diff --git a/src/java/com/cloudera/sqoop/io/LobFile.java b/src/java/com/cloudera/sqoop/io/LobFile.java
deleted file mode 100644 (file)
index 905c68f..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.io.IOException;
-
-import org.apache.commons.logging.Log;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.Path;
-
-/**
- * File format which stores large object records.
- * The format allows large objects to be read through individual InputStreams
- * to allow reading without full materialization of a single record.
- * Each record is assigned an id and can be accessed by id efficiently by
- * consulting an index at the end of the file.
- *
- * @deprecated use org.apache.sqoop.io.LobFile instead.
- * @see org.apache.sqoop.io.LobFile
- */
-public final class LobFile {
-
-  private LobFile() {
-  }
-
-  public static final Log LOG = org.apache.sqoop.io.LobFile.LOG;
-
-  public static final int LATEST_LOB_VERSION =
-      org.apache.sqoop.io.LobFile.LATEST_LOB_VERSION;
-
-  // Must be in sync with org.apache.sqoop.io.LobFile.HEADER_ID_STR
-  static final char [] HEADER_ID_STR =
-      org.apache.sqoop.io.LobFile.HEADER_ID_STR;
-
-  // Value for entryId to write to the beginning of an IndexSegment.
-  static final long SEGMENT_HEADER_ID =
-      org.apache.sqoop.io.LobFile.SEGMENT_HEADER_ID;
-
-  // Value for entryId to write before the finale.
-  static final long SEGMENT_OFFSET_ID =
-      org.apache.sqoop.io.LobFile.SEGMENT_OFFSET_ID;
-
-  // Value for entryID to write before the IndexTable
-  static final long INDEX_TABLE_ID = org.apache.sqoop.io.LobFile.INDEX_TABLE_ID;
-
-  /**
-   * @deprecated use org.apache.sqoop.io.LobFile.Writer
-   * @see org.apache.sqoop.io.LobFile.Writer
-   */
-  public abstract static class Writer
-    extends org.apache.sqoop.io.LobFile.Writer {
-  }
-
-  /**
-   * @deprecated use org.apache.sqoop.io.LobFile.Reader instead.
-   * @see org.apache.sqoop.io.LobFile.Reader
-   */
-  public abstract static class Reader
-    extends org.apache.sqoop.io.LobFile.Reader {
-  }
-
-  /**
-   * Creates a LobFile Reader configured to read from the specified file.
-   */
-  public static Reader open(Path p, Configuration conf) throws IOException {
-    return org.apache.sqoop.io.LobFile.open(p, conf);
-  }
-
-  /**
-   * Creates a LobFile Writer configured for uncompressed binary data.
-   * @param p the path to create.
-   * @param conf the configuration to use to interact with the filesystem.
-   */
-  public static Writer create(Path p, Configuration conf) throws IOException {
-    return org.apache.sqoop.io.LobFile.create(p, conf, false);
-  }
-
-  /**
-   * Creates a LobFile Writer configured for uncompressed data.
-   * @param p the path to create.
-   * @param conf the configuration to use to interact with the filesystem.
-   * @param isCharData true if this is for CLOBs, false for BLOBs.
-   */
-  public static Writer create(Path p, Configuration conf, boolean isCharData)
-      throws IOException {
-    return org.apache.sqoop.io.LobFile.create(p, conf, isCharData, null);
-  }
-
-  /**
-   * Creates a LobFile Writer.
-   * @param p the path to create.
-   * @param conf the configuration to use to interact with the filesystem.
-   * @param isCharData true if this is for CLOBs, false for BLOBs.
-   * @param codec the compression codec to use (or null for none).
-   */
-  public static Writer create(Path p, Configuration conf, boolean isCharData,
-      String codec) throws IOException {
-    return org.apache.sqoop.io.LobFile.create(p, conf, isCharData, codec);
-  }
-
-  /**
-   * Creates a LobFile Writer.
-   * @param p the path to create.
-   * @param conf the configuration to use to interact with the filesystem.
-   * @param isCharData true if this is for CLOBs, false for BLOBs.
-   * @param codec the compression codec to use (or null for none).
-   * @param entriesPerSegment number of entries per index segment.
-   */
-  public static Writer create(Path p, Configuration conf, boolean isCharData,
-      String codec, int entriesPerSegment)
-      throws IOException {
-    return org.apache.sqoop.io.LobFile.create(
-        p, conf, isCharData, codec, entriesPerSegment);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/io/LobReaderCache.java b/src/java/com/cloudera/sqoop/io/LobReaderCache.java
deleted file mode 100644 (file)
index 89d31d3..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.io.IOException;
-
-import org.apache.commons.logging.Log;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.Path;
-
-/**
- * A cache of open LobFile.Reader objects.
- * This maps from filenames to the open Reader, if any.  This uses the
- * Singleton pattern. While nothing prevents multiple LobReaderCache
- * instances, it is most useful to have a single global cache. This cache is
- * internally synchronized; only one thread can insert or retrieve a reader
- * from the cache at a time.
- *
- * @deprecated use org.apache.sqoop.io.LobReaderCache instead.
- * @see org.apache.sqoop.io.LobReaderCache
- */
-public final class LobReaderCache extends org.apache.sqoop.io.LobReaderCache {
-
-  public static final Log LOG = org.apache.sqoop.io.LobReaderCache.LOG;
-
-  private static final LobReaderCache CACHE;
-  static {
-    CACHE = new LobReaderCache();
-  }
-
-  /**
-   * @return the singleton LobReaderCache instance.
-   */
-  public static LobReaderCache getCache() {
-    return CACHE;
-  }
-
-  /**
-   * Created a fully-qualified path object.
-   * @param path the path to fully-qualify with its fs URI.
-   * @param conf the current Hadoop FS configuration.
-   * @return a new path representing the same location as the input 'path',
-   * but with a fully-qualified URI.
-   */
-  public static Path qualify(Path path, Configuration conf)
-      throws IOException {
-    return org.apache.sqoop.util.FileSystemUtil.makeQualified(path, conf);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/io/NamedFifo.java b/src/java/com/cloudera/sqoop/io/NamedFifo.java
deleted file mode 100644 (file)
index e27d2c4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.io.File;
-
-/**
- * A named FIFO channel.
- *
- * @deprecated use org.apache.sqoop.io.NamedFifo instead.
- * @see org.apache.sqoop.io.NamedFifo
- */
-public class NamedFifo extends org.apache.sqoop.io.NamedFifo {
-
-  public NamedFifo(String pathname) {
-    super(pathname);
-  }
-
-  public NamedFifo(File fifo) {
-    super(fifo);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/io/SplittableBufferedWriter.java b/src/java/com/cloudera/sqoop/io/SplittableBufferedWriter.java
deleted file mode 100644 (file)
index ef9285a..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.io;
-
-/**
- * A BufferedWriter implementation that wraps around a SplittingOutputStream
- * and allows splitting of the underlying stream.
- * Splits occur at allowSplit() calls, or newLine() calls.
- *
- * @deprecated use org.apache.sqoop.io.SplittableBufferedWriter instead.
- * @see org.apache.sqoop.io.SplittableBufferedWriter
- */
-public class SplittableBufferedWriter
-  extends org.apache.sqoop.io.SplittableBufferedWriter {
-
-  public SplittableBufferedWriter(
-      final SplittingOutputStream splitOutputStream) {
-    super(splitOutputStream);
-  }
-
-  SplittableBufferedWriter(final SplittingOutputStream splitOutputStream,
-      final boolean alwaysFlush) {
-    super(splitOutputStream, alwaysFlush);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/io/SplittingOutputStream.java b/src/java/com/cloudera/sqoop/io/SplittingOutputStream.java
deleted file mode 100644 (file)
index ab81042..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-import java.io.IOException;
-
-import org.apache.commons.logging.Log;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.io.compress.CompressionCodec;
-
-/**
- * An output stream that writes to an underlying filesystem, opening
- * a new file after a specified number of bytes have been written to the
- * current one.
- *
- * @deprecated use org.apache.sqoop.io.SplittingOutputStream instead.
- * @see org.apache.sqoop.io.SplittingOutputStream
- */
-public class SplittingOutputStream
-    extends org.apache.sqoop.io.SplittingOutputStream {
-
-  public static final Log LOG = org.apache.sqoop.io.SplittingOutputStream.LOG;
-
-  public SplittingOutputStream(final Configuration conf, final Path destDir,
-      final String filePrefix, final long cutoff, final CompressionCodec codec)
-      throws IOException {
-    super(conf, destDir, filePrefix, cutoff, codec);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/io/UnsupportedCodecException.java b/src/java/com/cloudera/sqoop/io/UnsupportedCodecException.java
deleted file mode 100644 (file)
index 4d8225a..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.io;
-
-
-/**
- * Thrown when a compression codec cannot be recognized.
- *
- * @deprecated use org.apache.sqoop.io.UnsupportedCodecException instead.
- * @see org.apache.sqoop.io.UnsupportedCodecException
- */
-public class UnsupportedCodecException
-    extends org.apache.sqoop.io.UnsupportedCodecException {
-
-  public UnsupportedCodecException() {
-    super("UnsupportedCodecException");
-  }
-
-  public UnsupportedCodecException(String msg) {
-    super(msg);
-  }
-
-  public UnsupportedCodecException(Throwable cause) {
-    super(cause);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/BigDecimalSerializer.java b/src/java/com/cloudera/sqoop/lib/BigDecimalSerializer.java
deleted file mode 100644 (file)
index 2ae89c2..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import java.io.DataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-
-/**
- * Serialize BigDecimal classes to/from DataInput and DataOutput objects.
- *
- * BigDecimal is comprised of a BigInteger with an integer 'scale' field.
- * The BigDecimal/BigInteger can also return itself as a 'long' value.
- *
- * We serialize in one of two formats:
- *
- *  First, check whether the BigInt can fit in a long:
- *  boolean b = BigIntegerPart &gt; LONG_MAX || BigIntegerPart &lt; LONG_MIN
- *
- *  [int: scale][boolean: b == false][long: BigInt-part]
- *  [int: scale][boolean: b == true][string: BigInt-part.toString()]
- *
- * TODO(aaron): Get this to work with Hadoop's Serializations framework.
- *
- * @deprecated use org.apache.sqoop.lib.BigDecimalSerializer instead.
- * @see org.apache.sqoop.lib.BigDecimalSerializer
- */
-public final class BigDecimalSerializer {
-
-  private BigDecimalSerializer() { }
-
-  static final BigInteger LONG_MAX_AS_BIGINT =
-      org.apache.sqoop.lib.BigDecimalSerializer.LONG_MAX_AS_BIGINT;
-  static final BigInteger LONG_MIN_AS_BIGINT =
-      org.apache.sqoop.lib.BigDecimalSerializer.LONG_MIN_AS_BIGINT;
-
-  public static void write(BigDecimal d, DataOutput out) throws IOException {
-    org.apache.sqoop.lib.BigDecimalSerializer.write(d, out);
-  }
-
-  public static BigDecimal readFields(DataInput in) throws IOException {
-    return org.apache.sqoop.lib.BigDecimalSerializer.readFields(in);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/BlobRef.java b/src/java/com/cloudera/sqoop/lib/BlobRef.java
deleted file mode 100644 (file)
index b3d5341..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import org.apache.commons.logging.Log;
-
-/**
- * BlobRef is a wrapper that holds a BLOB either directly, or a
- * reference to a file that holds the BLOB data.
- *
- * @deprecated use org.apache.sqoop.lib.BlobRef instead.
- * @see org.apache.sqoop.lib.BlobRef
- */
-public class BlobRef extends org.apache.sqoop.lib.BlobRef {
-
-  public static final Log LOG = org.apache.sqoop.lib.BlobRef.LOG;
-
-  public BlobRef() {
-    super();
-  }
-
-  public BlobRef(byte [] bytes) {
-    super(bytes);
-  }
-
-  /**
-   * Initialize a BlobRef to an external BLOB.
-   * @param file the filename to the BLOB. May be relative to the job dir.
-   * @param offset the offset (in bytes) into the LobFile for this record.
-   * @param length the length of the record in bytes.
-   */
-  public BlobRef(String file, long offset, long length) {
-    super(file, offset, length);
-  }
-
-
-  /**
-   * Create a BlobRef based on parsed data from a line of text.
-   * This only operates correctly on external blobs; inline blobs are simply
-   * returned as null. You should store BLOB data in SequenceFile format
-   * if reparsing is necessary.
-   * @param inputString the text-based input data to parse.
-   * @return a new BlobRef containing a reference to an external BLOB, or
-   * an empty BlobRef if the data to be parsed is actually inline.
-   */
-  public static BlobRef parse(String inputString) {
-    return org.apache.sqoop.lib.BlobRef.parse(inputString);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/BooleanParser.java b/src/java/com/cloudera/sqoop/lib/BooleanParser.java
deleted file mode 100644 (file)
index ab97cf0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.lib;
-
-/**
- * Parse string representations of boolean values into boolean
- * scalar types.
- * @deprecated use org.apache.sqoop.lib.BooleanParser instead.
- * @see org.apache.sqoop.lib.BooleanParser
- */
-public final class BooleanParser {
-  private BooleanParser() {
-  }
-
-  /**
-   * Return a boolean based on the value contained in the string.
-   *
-   * <p>The following values are considered true:
-   * "true", "t", "yes", "on", "1".</p>
-   * <p>All other values, including 'null', are false.</p>
-   * <p>All comparisons are case-insensitive.</p>
-   */
-  public static boolean valueOf(final String s) {
-    return org.apache.sqoop.lib.BooleanParser.valueOf(s);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/ClobRef.java b/src/java/com/cloudera/sqoop/lib/ClobRef.java
deleted file mode 100644 (file)
index a328f23..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.lib;
-
-/**
- * ClobRef is a wrapper that holds a CLOB either directly, or a
- * reference to a file that holds the CLOB data.
- *
- * @deprecated use org.apache.sqoop.lib.ClobRef instead.
- * @see org.apache.sqoop.lib.ClobRef
- */
-public class ClobRef extends org.apache.sqoop.lib.ClobRef {
-
-  public ClobRef() {
-    super();
-  }
-
-  public ClobRef(String chars) {
-    super(chars);
-  }
-
-  /**
-   * Initialize a clobref to an external CLOB.
-   * @param file the filename to the CLOB. May be relative to the job dir.
-   * @param offset the offset (in bytes) into the LobFile for this record.
-   * @param length the length of the record in characters.
-   */
-  public ClobRef(String file, long offset, long length) {
-    super(file, offset, length);
-  }
-
-  /**
-   * Create a ClobRef based on parsed data from a line of text.
-   * @param inputString the text-based input data to parse.
-   * @return a ClobRef to the given data.
-   */
-  public static ClobRef parse(String inputString) {
-    return org.apache.sqoop.lib.ClobRef.parse(inputString);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/DelimiterSet.java b/src/java/com/cloudera/sqoop/lib/DelimiterSet.java
deleted file mode 100644 (file)
index 6de90ad..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-/**
- * Encapsulates a set of delimiters used to encode a record.
- * @deprecated use org.apache.sqoop.lib.DelimiterSet instead.
- * @see org.apache.sqoop.lib.DelimiterSet
- */
-public class DelimiterSet extends org.apache.sqoop.lib.DelimiterSet {
-
-  public static final char NULL_CHAR =
-      org.apache.sqoop.lib.DelimiterSet.NULL_CHAR;
-
-  /**
-   * Create a delimiter set with the default delimiters
-   * (comma for fields, newline for records).
-   */
-  public DelimiterSet() {
-    super();
-  }
-
-  /**
-   * Create a delimiter set with the specified delimiters.
-   * @param field the fields-terminated-by delimiter
-   * @param record the lines-terminated-by delimiter
-   * @param enclose the enclosed-by character
-   * @param escape the escaped-by character
-   * @param isEncloseRequired If true, enclosed-by is applied to all
-   * fields. If false, only applied to fields that embed delimiters.
-   */
-  public DelimiterSet(char field, char record, char enclose, char escape,
-      boolean isEncloseRequired) {
-    super(field, record, enclose, escape, isEncloseRequired);
-  }
-
-  /**
-   * Identical to clone() but does not throw spurious exceptions.
-   * @return a new copy of this same set of delimiters.
-   */
-  public DelimiterSet copy() {
-    try {
-      return (DelimiterSet) clone();
-    } catch (CloneNotSupportedException cnse) {
-      // Should never happen for DelimiterSet.
-      return null;
-    }
-  }
-
-  // Static delimiter sets for the commonly-used delimiter arrangements.
-
-  public static final DelimiterSet DEFAULT_DELIMITERS;
-  public static final DelimiterSet HIVE_DELIMITERS;
-  public static final DelimiterSet MYSQL_DELIMITERS;
-
-  static {
-    DEFAULT_DELIMITERS = new DelimiterSet(',', '\n', NULL_CHAR, NULL_CHAR,
-        false);
-    MYSQL_DELIMITERS = new DelimiterSet(',', '\n', '\'', '\\', false);
-    HIVE_DELIMITERS = new DelimiterSet('\001', '\n',
-        NULL_CHAR, NULL_CHAR, false);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/FieldFormatter.java b/src/java/com/cloudera/sqoop/lib/FieldFormatter.java
deleted file mode 100644 (file)
index 45fb81f..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-/**
- * Static helper class that will help format data with quotes and escape chars.
- *
- * @deprecated use org.apache.sqoop.lib.FieldFormatter instead.
- * @see org.apache.sqoop.lib.FieldFormatter
- */
-public final class FieldFormatter {
-
-  private FieldFormatter() { }
-
-  /**
-   * only pass fields that are strings when --hive-drop-delims option is on.
-   * @param str
-   * @param delimiters
-   * @return
-   */
-  public static String hiveStringDropDelims(String str,
-          DelimiterSet delimiters) {
-    return org.apache.sqoop.lib.FieldFormatter.hiveStringDropDelims(
-        str, delimiters);
-  }
-
-  /**
-   * replace hive delimiters with a user-defined string passed to the
-   * --hive-delims-replacement option.
-   * @param str
-   * @param delimiters
-   * @return
-   */
-  public static String hiveStringReplaceDelims(String str, String replacement,
-      DelimiterSet delimiters) {
-    return org.apache.sqoop.lib.FieldFormatter.hiveStringReplaceDelims(
-        str, replacement, delimiters);
-  }
-
-  /**
-   * Takes an input string representing the value of a field, encloses it in
-   * enclosing chars, and escapes any occurrences of such characters in the
-   * middle.  The escape character itself is also escaped if it appears in the
-   * text of the field.  If there is no enclosing character, then any
-   * delimiters present in the field body are escaped instead.
-   *
-   * The field is enclosed only if:
-   *   enclose != '\000', and:
-   *     encloseRequired is true, or
-   *     one of the fields-terminated-by or lines-terminated-by characters is
-   *     present in the string.
-   *
-   * Escaping is not performed if the escape char is '\000'.
-   *
-   * @param str - The user's string to escape and enclose
-   * @param delimiters - The DelimiterSet to use identifying the escape and
-   * enclose semantics. If the specified escape or enclose characters are
-   * '\000', those operations are not performed.
-   * @return the escaped, enclosed version of 'str'.
-   */
-  public static String escapeAndEnclose(String str, DelimiterSet delimiters) {
-    return org.apache.sqoop.lib.FieldFormatter.escapeAndEnclose(
-        str, delimiters);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/FieldMapProcessor.java b/src/java/com/cloudera/sqoop/lib/FieldMapProcessor.java
deleted file mode 100644 (file)
index 3f21540..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-/**
- * Interface implemented by classes that process FieldMappable objects.
- *
- * @deprecated use org.apache.sqoop.lib.FieldMapProcessor instead.
- * @see org.apache.sqoop.lib.FieldMapProcessor
- */
-public interface FieldMapProcessor
-  extends org.apache.sqoop.lib.FieldMapProcessor {
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/FieldMappable.java b/src/java/com/cloudera/sqoop/lib/FieldMappable.java
deleted file mode 100644 (file)
index 2067ecc..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-/**
- * Interface describing a class capable of returning a map of the fields
- * of the object to their values.
- *
- * @deprecated use org.apache.sqoop.lib.FieldMappable instead.
- * @see org.apache.sqoop.lib.FieldMappable
- */
-public interface FieldMappable extends org.apache.sqoop.lib.FieldMappable {
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/JdbcWritableBridge.java b/src/java/com/cloudera/sqoop/lib/JdbcWritableBridge.java
deleted file mode 100644 (file)
index 316547f..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import java.math.BigDecimal;
-import java.sql.Date;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.sql.Time;
-import java.sql.Timestamp;
-
-import org.apache.hadoop.io.BytesWritable;
-
-/**
- * Contains a set of methods which can read db columns from a ResultSet into
- * Java types, and do serialization of these types to/from DataInput/DataOutput
- * for use with Hadoop's Writable implementation. This supports null values
- * for all types.
- *
- * @deprecated use org.apache.sqoop.lib.JdbcWritableBridge instead.
- * @see org.apache.sqoop.lib.JdbcWritableBridge
- */
-public final class JdbcWritableBridge {
-
-  // Currently, cap BLOB/CLOB objects at 16 MB until we can use external
-  // storage.
-  public static final long MAX_BLOB_LENGTH =
-      org.apache.sqoop.lib.JdbcWritableBridge.MAX_BLOB_LENGTH;
-  public static final long MAX_CLOB_LENGTH =
-      org.apache.sqoop.lib.JdbcWritableBridge.MAX_CLOB_LENGTH;
-
-  private JdbcWritableBridge() {
-  }
-
-  public static Integer readInteger(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readInteger(colNum, r);
-  }
-
-  public static Long readLong(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readLong(colNum, r);
-  }
-
-  public static String readString(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readString(colNum, r);
-  }
-
-  public static Float readFloat(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readFloat(colNum, r);
-  }
-
-  public static Double readDouble(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readDouble(colNum, r);
-  }
-
-  public static Boolean readBoolean(int colNum, ResultSet r)
-     throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readBoolean(colNum, r);
-  }
-
-  public static Time readTime(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readTime(colNum, r);
-  }
-
-  public static Timestamp readTimestamp(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readTimestamp(colNum, r);
-  }
-
-  public static Date readDate(int colNum, ResultSet r) throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readDate(colNum, r);
-  }
-
-  public static BytesWritable readBytesWritable(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readBytesWritable(colNum, r);
-  }
-
-  public static BigDecimal readBigDecimal(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readBigDecimal(colNum, r);
-  }
-
-  public static BlobRef readBlobRef(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readBlobRef(colNum, r);
-  }
-
-  public static ClobRef readClobRef(int colNum, ResultSet r)
-      throws SQLException {
-    return org.apache.sqoop.lib.JdbcWritableBridge.readClobRef(colNum, r);
-  }
-
-  public static void writeInteger(Integer val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeInteger(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeLong(Long val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeLong(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeDouble(Double val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeDouble(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeBoolean(Boolean val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeBoolean(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeFloat(Float val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeFloat(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeString(String val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeString(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeTimestamp(Timestamp val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeTimestamp(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeTime(Time val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeTime(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeDate(Date val, int paramIdx, int sqlType,
-      PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeDate(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeBytesWritable(BytesWritable val, int paramIdx,
-      int sqlType, PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeBytesWritable(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeBigDecimal(BigDecimal val, int paramIdx,
-      int sqlType, PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeBigDecimal(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeBlobRef(BlobRef val, int paramIdx,
-      int sqlType, PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeBlobRef(
-        val, paramIdx, sqlType, s);
-  }
-
-  public static void writeClobRef(ClobRef val, int paramIdx,
-      int sqlType, PreparedStatement s) throws SQLException {
-    org.apache.sqoop.lib.JdbcWritableBridge.writeClobRef(
-        val, paramIdx, sqlType, s);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/LargeObjectLoader.java b/src/java/com/cloudera/sqoop/lib/LargeObjectLoader.java
deleted file mode 100644 (file)
index b51cf0c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import java.io.IOException;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.Path;
-
-/**
- * Contains a set of methods which can read db columns from a ResultSet into
- * Java types, and do serialization of these types to/from DataInput/DataOutput
- * for use with Hadoop's Writable implementation. This supports null values
- * for all types.
- *
- * This is a singleton instance class; only one may exist at a time.
- * However, its lifetime is limited to the current TaskInputOutputContext's
- * life.
- *
- * @deprecated use org.apache.sqoop.lib.LargeObjectLoader instead.
- * @see org.apache.sqoop.lib.LargeObjectLoader
- */
-public class LargeObjectLoader extends org.apache.sqoop.lib.LargeObjectLoader {
-
-  // Spill to external storage for BLOB/CLOB objects > 16 MB.
-  public static final long DEFAULT_MAX_LOB_LENGTH =
-      org.apache.sqoop.lib.LargeObjectLoader.DEFAULT_MAX_LOB_LENGTH;
-
-  public static final String MAX_INLINE_LOB_LEN_KEY =
-      org.apache.sqoop.lib.LargeObjectLoader.MAX_INLINE_LOB_LEN_KEY;
-
-  /**
-   * Create a new LargeObjectLoader.
-   * @param conf the Configuration to use
-   */
-  public LargeObjectLoader(Configuration conf, Path workPath)
-      throws IOException {
-    super(conf, workPath);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/LobRef.java b/src/java/com/cloudera/sqoop/lib/LobRef.java
deleted file mode 100644 (file)
index 518b622..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import java.util.regex.Matcher;
-
-import org.apache.commons.logging.Log;
-
-/**
- * Abstract base class that holds a reference to a Blob or a Clob.
- * DATATYPE is the type being held (e.g., a byte array).
- * CONTAINERTYPE is the type used to hold this data (e.g., BytesWritable).
- * ACCESSORTYPE is the type used to access this data in a streaming fashion
- *   (either an InputStream or a Reader).
- *
- * @deprecated use org.apache.sqoop.lib.LobRef instead.
- * @see org.apache.sqoop.lib.LobRef
- */
-public abstract class LobRef<DATATYPE, CONTAINERTYPE, ACCESSORTYPE>
-    extends org.apache.sqoop.lib.LobRef<DATATYPE, CONTAINERTYPE, ACCESSORTYPE> {
-
-  public static final Log LOG = org.apache.sqoop.lib.LobRef.LOG;
-
-  protected LobRef() {
-    super();
-  }
-
-  protected LobRef(CONTAINERTYPE container) {
-    super(container);
-  }
-
-  protected LobRef(String file, long offset, long length) {
-    super(file, offset, length);
-  }
-
-  protected static final ThreadLocal<Matcher> EXTERNAL_MATCHER =
-    org.apache.sqoop.lib.LobRef.EXTERNAL_MATCHER;
-}
-
diff --git a/src/java/com/cloudera/sqoop/lib/LobSerializer.java b/src/java/com/cloudera/sqoop/lib/LobSerializer.java
deleted file mode 100644 (file)
index b8324fe..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import java.io.DataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-/**
- * Serialize LOB classes to/from DataInput and DataOutput objects.
- *
- * @deprecated use org.apache.sqoop.lib.LobSerializer instead.
- * @see org.apache.sqoop.lib.LobSerializer
- */
-public final class LobSerializer {
-
-  private LobSerializer() { }
-
-  public static void writeClob(ClobRef clob, DataOutput out)
-      throws IOException {
-    org.apache.sqoop.lib.LobSerializer.writeClob(clob, out);
-  }
-
-  public static void writeBlob(BlobRef blob, DataOutput out)
-      throws IOException {
-    org.apache.sqoop.lib.LobSerializer.writeBlob(blob, out);
-  }
-
-  public static ClobRef readClobFields(DataInput in) throws IOException {
-    return org.apache.sqoop.lib.LobSerializer.readClobFields(in);
-  }
-
-  public static BlobRef readBlobFields(DataInput in) throws IOException {
-    return org.apache.sqoop.lib.LobSerializer.readBlobFields(in);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/ProcessingException.java b/src/java/com/cloudera/sqoop/lib/ProcessingException.java
deleted file mode 100644 (file)
index c4216b1..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-/**
- * General error during processing of a SqoopRecord.
- *
- * @deprecated use org.apache.sqoop.lib.ProcessingException instead.
- * @see org.apache.sqoop.lib.ProcessingException
- */
-@SuppressWarnings("serial")
-public class ProcessingException
-  extends org.apache.sqoop.lib.ProcessingException {
-
-  public ProcessingException() {
-    super("ProcessingException");
-  }
-
-  public ProcessingException(final String message) {
-    super(message);
-  }
-
-  public ProcessingException(final Throwable cause) {
-    super(cause);
-  }
-
-  public ProcessingException(final String message, final Throwable cause) {
-    super(message, cause);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/RecordParser.java b/src/java/com/cloudera/sqoop/lib/RecordParser.java
deleted file mode 100644 (file)
index a3238e8..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-import org.apache.commons.logging.Log;
-
-/**
- * Parses a record containing one or more fields. Fields are separated
- * by some FIELD_DELIMITER character, e.g. a comma or a ^A character.
- * Records are terminated by a RECORD_DELIMITER character, e.g., a newline.
- *
- * Fields may be (optionally or mandatorily) enclosed by a quoting char
- * e.g., '\"'
- *
- * Fields may contain escaped characters. An escape character may be, e.g.,
- * the '\\' character. Any character following an escape character
- * is treated literally. e.g., '\n' is recorded as an 'n' character, not a
- * newline.
- *
- * Unexpected results may occur if the enclosing character escapes itself.
- * e.g., this cannot parse SQL SELECT statements where the single character
- * ['] escapes to [''].
- *
- * This class is not synchronized. Multiple threads must use separate
- * instances of RecordParser.
- *
- * The fields parsed by RecordParser are backed by an internal buffer
- * which is cleared when the next call to parseRecord() is made. If
- * the buffer is required to be preserved, you must copy it yourself.
- *
- * @deprecated use org.apache.sqoop.lib.RecordParser instead.
- * @see org.apache.sqoop.lib.RecordParser
- */
-public final class RecordParser extends org.apache.sqoop.lib.RecordParser {
-
-  public static final Log LOG = org.apache.sqoop.lib.RecordParser.LOG;
-
-  /**
-   * An error thrown when parsing fails.
-   *
-   * @deprecated use org.apache.sqoop.lib.RecordParser.ParseError instead.
-   * @see org.apache.sqoop.lib.RecordParser.ParseError
-   */
-  public static class ParseError
-    extends org.apache.sqoop.lib.RecordParser.ParseError {
-
-    public ParseError() {
-      super();
-    }
-
-    public ParseError(final String msg) {
-      super(msg);
-    }
-
-    public ParseError(final String msg, final Throwable cause) {
-      super(msg, cause);
-    }
-
-    public ParseError(final Throwable cause) {
-      super(cause);
-    }
-  }
-
-  public RecordParser(final DelimiterSet delimitersIn) {
-    super(delimitersIn);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/lib/SqoopRecord.java b/src/java/com/cloudera/sqoop/lib/SqoopRecord.java
deleted file mode 100644 (file)
index 7cfcbb3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.lib;
-
-
-/**
- * Interface implemented by the classes generated by sqoop's orm.ClassWriter.
- *
- * @deprecated use org.apache.sqoop.lib.SqoopRecord instead.
- * @see org.apache.sqoop.lib.SqoopRecord
- */
-public abstract class SqoopRecord extends org.apache.sqoop.lib.SqoopRecord {
-
-  public SqoopRecord() {
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/CatalogQueryManager.java b/src/java/com/cloudera/sqoop/manager/CatalogQueryManager.java
deleted file mode 100644 (file)
index 5e6a725..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class CatalogQueryManager
-    extends org.apache.sqoop.manager.CatalogQueryManager {
-
-  public CatalogQueryManager(final String driverClass,
-    final SqoopOptions opts) {
-    super(driverClass, opts);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/ConnManager.java b/src/java/com/cloudera/sqoop/manager/ConnManager.java
deleted file mode 100644 (file)
index a4b4457..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class ConnManager
-    extends org.apache.sqoop.manager.ConnManager {
-}
diff --git a/src/java/com/cloudera/sqoop/manager/Db2Manager.java b/src/java/com/cloudera/sqoop/manager/Db2Manager.java
deleted file mode 100644 (file)
index dd4c743..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class Db2Manager
-    extends org.apache.sqoop.manager.Db2Manager {
-
-  public Db2Manager(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/manager/DefaultManagerFactory.java b/src/java/com/cloudera/sqoop/manager/DefaultManagerFactory.java
deleted file mode 100644 (file)
index c1ca763..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class DefaultManagerFactory
-  extends org.apache.sqoop.manager.DefaultManagerFactory {
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/DirectMySQLManager.java b/src/java/com/cloudera/sqoop/manager/DirectMySQLManager.java
deleted file mode 100644 (file)
index e13823d..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class DirectMySQLManager
-    extends org.apache.sqoop.manager.DirectMySQLManager {
-
-  public DirectMySQLManager(final SqoopOptions options) {
-    super(options);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/DirectPostgresqlManager.java b/src/java/com/cloudera/sqoop/manager/DirectPostgresqlManager.java
deleted file mode 100644 (file)
index 18cbe74..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class DirectPostgresqlManager
-    extends org.apache.sqoop.manager.DirectPostgresqlManager {
-
-  public DirectPostgresqlManager(final SqoopOptions opts) {
-    super(opts);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/manager/ExportJobContext.java b/src/java/com/cloudera/sqoop/manager/ExportJobContext.java
deleted file mode 100644 (file)
index cad63a1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ExportJobContext
-    extends org.apache.sqoop.manager.ExportJobContext {
-
-  public ExportJobContext(final String table, final String jar,
-      final SqoopOptions opts) {
-    super(table, jar, opts);
-  }
-
-  public void setConnManager(ConnManager mgr) {
-    super.setConnManager(mgr);
-  }
-
-  public ConnManager getConnManager() {
-    return (ConnManager)super.getConnManager();
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/GenericJdbcManager.java b/src/java/com/cloudera/sqoop/manager/GenericJdbcManager.java
deleted file mode 100644 (file)
index 14d4554..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class GenericJdbcManager
-    extends org.apache.sqoop.manager.GenericJdbcManager {
-
-  public GenericJdbcManager(final String driverClass, final SqoopOptions opts) {
-    super(driverClass, opts);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/HsqldbManager.java b/src/java/com/cloudera/sqoop/manager/HsqldbManager.java
deleted file mode 100644 (file)
index e0a2cf9..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class HsqldbManager
-    extends org.apache.sqoop.manager.HsqldbManager {
-
-  public HsqldbManager(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/manager/ImportJobContext.java b/src/java/com/cloudera/sqoop/manager/ImportJobContext.java
deleted file mode 100644 (file)
index 8eec2eb..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import org.apache.hadoop.fs.Path;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ImportJobContext
-    extends org.apache.sqoop.manager.ImportJobContext {
-
-  public ImportJobContext(final String table, final String jar,
-      final SqoopOptions opts, final Path destination) {
-    super(table, jar, opts, destination);
-  }
-
-  public void setConnManager(ConnManager mgr) {
-    super.setConnManager(mgr);
-  }
-
-  public ConnManager getConnManager() {
-    return (ConnManager)super.getConnManager();
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/InformationSchemaManager.java b/src/java/com/cloudera/sqoop/manager/InformationSchemaManager.java
deleted file mode 100644 (file)
index 056ddea..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class InformationSchemaManager
-  extends org.apache.sqoop.manager.InformationSchemaManager {
-
-  public InformationSchemaManager(final String driverClass,
-    final SqoopOptions opts) {
-    super(driverClass, opts);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/ManagerFactory.java b/src/java/com/cloudera/sqoop/manager/ManagerFactory.java
deleted file mode 100644 (file)
index 3ffa722..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class ManagerFactory
-    extends org.apache.sqoop.manager.ManagerFactory {
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/MySQLManager.java b/src/java/com/cloudera/sqoop/manager/MySQLManager.java
deleted file mode 100644 (file)
index 4c29a4c..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLManager
-    extends org.apache.sqoop.manager.MySQLManager {
-
-  public MySQLManager(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/MySQLUtils.java b/src/java/com/cloudera/sqoop/manager/MySQLUtils.java
deleted file mode 100644 (file)
index 3410324..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import java.io.IOException;
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class MySQLUtils {
-
-  private MySQLUtils() {
-  }
-
-  public static final String MYSQL_DUMP_CMD =
-      org.apache.sqoop.manager.MySQLUtils.MYSQL_DUMP_CMD;
-  public static final String MYSQL_IMPORT_CMD =
-      org.apache.sqoop.manager.MySQLUtils.MYSQL_IMPORT_CMD;
-  public static final String OUTPUT_FIELD_DELIM_KEY =
-      org.apache.sqoop.manager.MySQLUtils.OUTPUT_FIELD_DELIM_KEY;
-  public static final String OUTPUT_RECORD_DELIM_KEY =
-      org.apache.sqoop.manager.MySQLUtils.OUTPUT_RECORD_DELIM_KEY;
-  public static final String OUTPUT_ENCLOSED_BY_KEY =
-      org.apache.sqoop.manager.MySQLUtils.OUTPUT_ENCLOSED_BY_KEY;
-  public static final String OUTPUT_ESCAPED_BY_KEY =
-      org.apache.sqoop.manager.MySQLUtils.OUTPUT_ESCAPED_BY_KEY;
-  public static final String OUTPUT_ENCLOSE_REQUIRED_KEY =
-      org.apache.sqoop.manager.MySQLUtils.OUTPUT_ENCLOSE_REQUIRED_KEY;
-  public static final String TABLE_NAME_KEY =
-      org.apache.sqoop.manager.MySQLUtils.TABLE_NAME_KEY;
-  public static final String CONNECT_STRING_KEY =
-      org.apache.sqoop.manager.MySQLUtils.CONNECT_STRING_KEY;
-  public static final String USERNAME_KEY =
-      org.apache.sqoop.manager.MySQLUtils.USERNAME_KEY;
-  public static final String WHERE_CLAUSE_KEY =
-      org.apache.sqoop.manager.MySQLUtils.WHERE_CLAUSE_KEY;
-  public static final String EXTRA_ARGS_KEY =
-      org.apache.sqoop.manager.MySQLUtils.EXTRA_ARGS_KEY;
-  public static final String MYSQL_DEFAULT_CHARSET =
-      org.apache.sqoop.manager.MySQLUtils.MYSQL_DEFAULT_CHARSET;
-
-  public static boolean outputDelimsAreMySQL(Configuration conf) {
-    return org.apache.sqoop.manager.MySQLUtils.outputDelimsAreMySQL(conf);
-  }
-
-  public static String writePasswordFile(Configuration conf)
-      throws IOException {
-    return org.apache.sqoop.manager.MySQLUtils.writePasswordFile(conf);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/OracleManager.java b/src/java/com/cloudera/sqoop/manager/OracleManager.java
deleted file mode 100644 (file)
index 7beb521..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class OracleManager
-    extends org.apache.sqoop.manager.OracleManager {
-
-  public static final int ERROR_TABLE_OR_VIEW_DOES_NOT_EXIST =
-    org.apache.sqoop.manager.OracleManager.ERROR_TABLE_OR_VIEW_DOES_NOT_EXIST;
-  public static final String QUERY_LIST_DATABASES =
-    org.apache.sqoop.manager.OracleManager.QUERY_LIST_DATABASES;
-  public static final String QUERY_LIST_TABLES =
-    org.apache.sqoop.manager.OracleManager.QUERY_LIST_TABLES;
-  public static final String QUERY_COLUMNS_FOR_TABLE =
-    org.apache.sqoop.manager.OracleManager.QUERY_COLUMNS_FOR_TABLE;
-  public static final String QUERY_PRIMARY_KEY_FOR_TABLE =
-    org.apache.sqoop.manager.OracleManager.QUERY_PRIMARY_KEY_FOR_TABLE;
-  public static final String ORACLE_TIMEZONE_KEY =
-    org.apache.sqoop.manager.OracleManager.ORACLE_TIMEZONE_KEY;
-
-  public OracleManager(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/PostgresqlManager.java b/src/java/com/cloudera/sqoop/manager/PostgresqlManager.java
deleted file mode 100644 (file)
index 354d260..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * Manages connections to Postgresql databases.
- */
-public class PostgresqlManager
-    extends org.apache.sqoop.manager.PostgresqlManager {
-
-  public PostgresqlManager(final SqoopOptions opts) {
-    super(opts);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/SQLServerManager.java b/src/java/com/cloudera/sqoop/manager/SQLServerManager.java
deleted file mode 100644 (file)
index 2cc0458..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class SQLServerManager
-    extends org.apache.sqoop.manager.SQLServerManager {
-
-  public SQLServerManager(final SqoopOptions opts) {
-    super(opts);
-  }
-}
-
diff --git a/src/java/com/cloudera/sqoop/manager/SqlManager.java b/src/java/com/cloudera/sqoop/manager/SqlManager.java
deleted file mode 100644 (file)
index 398e01b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.manager;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class SqlManager
-    extends org.apache.sqoop.manager.SqlManager {
-
-  public static final String SUBSTITUTE_TOKEN =
-          org.apache.sqoop.manager.SqlManager.SUBSTITUTE_TOKEN;
-
-  public SqlManager(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AsyncSqlOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/AsyncSqlOutputFormat.java
deleted file mode 100644 (file)
index ccd2be5..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class AsyncSqlOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.AsyncSqlOutputFormat<K, V> {
-
-  public static final String RECORDS_PER_STATEMENT_KEY =
-      org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      RECORDS_PER_STATEMENT_KEY;
-
-  public static final String STATEMENTS_PER_TRANSACTION_KEY =
-      org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      STATEMENTS_PER_TRANSACTION_KEY;
-
-  public static final int DEFAULT_RECORDS_PER_STATEMENT =
-      org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      DEFAULT_RECORDS_PER_STATEMENT;
-
-  public static final int DEFAULT_STATEMENTS_PER_TRANSACTION =
-      org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      DEFAULT_STATEMENTS_PER_TRANSACTION;
-
-  public static final int UNLIMITED_STATEMENTS_PER_TRANSACTION =
-      org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      UNLIMITED_STATEMENTS_PER_TRANSACTION;
-
-  /**
-   * @deprecated Moving to use org.apache.sqoop namespace.
-   */
-  public static class AsyncDBOperation
-      extends org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      AsyncDBOperation {
-
-    public AsyncDBOperation(PreparedStatement s, boolean commitAndClose,
-        boolean batch) {
-        super(s, commitAndClose, batch);
-    }
-
-    public AsyncDBOperation(PreparedStatement s, boolean batch,
-        boolean commit, boolean stopThread) {
-      super(s, batch, commit, stopThread);
-    }
-
-  }
-
-  /**
-   * @deprecated Moving to use org.apache.sqoop namespace.
-   */
-  public static class AsyncSqlExecThread
-      extends org.apache.sqoop.mapreduce.AsyncSqlOutputFormat.
-      AsyncSqlExecThread{
-
-    public AsyncSqlExecThread(Connection conn, int stmtsPerTx) {
-      super(conn, stmtsPerTx);
-    }
-
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AsyncSqlRecordWriter.java b/src/java/com/cloudera/sqoop/mapreduce/AsyncSqlRecordWriter.java
deleted file mode 100644 (file)
index 265dc27..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.sql.SQLException;
-import org.apache.hadoop.mapreduce.TaskAttemptContext;
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public abstract class AsyncSqlRecordWriter<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.AsyncSqlRecordWriter<K, V> {
-
-  public AsyncSqlRecordWriter(TaskAttemptContext context)
-      throws ClassNotFoundException, SQLException {
-    super(context);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AutoProgressMapper.java b/src/java/com/cloudera/sqoop/mapreduce/AutoProgressMapper.java
deleted file mode 100644 (file)
index ee8ab6d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AutoProgressMapper<KEYIN, VALIN, KEYOUT, VALOUT>
-    extends org.apache.sqoop.mapreduce.AutoProgressMapper
-    <KEYIN, VALIN, KEYOUT, VALOUT> {
-
-  public static final String MAX_PROGRESS_PERIOD_KEY =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.MAX_PROGRESS_PERIOD_KEY;
-  public static final String SLEEP_INTERVAL_KEY =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.SLEEP_INTERVAL_KEY;
-  public static final String REPORT_INTERVAL_KEY =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.REPORT_INTERVAL_KEY;
-
-  public static final int DEFAULT_SLEEP_INTERVAL =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.DEFAULT_SLEEP_INTERVAL;
-  public static final int DEFAULT_REPORT_INTERVAL =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.DEFAULT_REPORT_INTERVAL;
-  public static final int DEFAULT_MAX_PROGRESS =
-      org.apache.sqoop.mapreduce.AutoProgressMapper.DEFAULT_MAX_PROGRESS;
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroExportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/AvroExportMapper.java
deleted file mode 100644 (file)
index 725b9d0..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AvroExportMapper
-    extends org.apache.sqoop.mapreduce.AvroExportMapper {
-
-  public static final String AVRO_COLUMN_TYPES_MAP =
-      org.apache.sqoop.mapreduce.AvroExportMapper.AVRO_COLUMN_TYPES_MAP;
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroImportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/AvroImportMapper.java
deleted file mode 100644 (file)
index 08b5788..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AvroImportMapper
-    extends org.apache.sqoop.mapreduce.AvroImportMapper {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroInputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/AvroInputFormat.java
deleted file mode 100644 (file)
index 2491012..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AvroInputFormat<T>
-    extends org.apache.sqoop.mapreduce.AvroInputFormat<T> {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroJob.java b/src/java/com/cloudera/sqoop/mapreduce/AvroJob.java
deleted file mode 100644 (file)
index 1ba22a5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.avro.Schema;
-import org.apache.hadoop.conf.Configuration;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public final class AvroJob {
-
-  public static final String MAP_OUTPUT_SCHEMA =
-      org.apache.sqoop.mapreduce.AvroJob.MAP_OUTPUT_SCHEMA;
-
-  private AvroJob() { }
-
-  public static void setMapOutputSchema(Configuration job, Schema s) {
-    org.apache.sqoop.mapreduce.AvroJob.setMapOutputSchema(job, s);
-  }
-
-  public static Schema getMapOutputSchema(Configuration job) {
-    return org.apache.sqoop.mapreduce.AvroJob.getMapOutputSchema(job);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/AvroOutputFormat.java
deleted file mode 100644 (file)
index 40b4368..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AvroOutputFormat<T>
-    extends org.apache.sqoop.mapreduce.AvroOutputFormat<T> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/AvroRecordReader.java b/src/java/com/cloudera/sqoop/mapreduce/AvroRecordReader.java
deleted file mode 100644 (file)
index 8f34128..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class AvroRecordReader<T>
-    extends org.apache.sqoop.mapreduce.AvroRecordReader<T> {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java b/src/java/com/cloudera/sqoop/mapreduce/CombineShimRecordReader.java
deleted file mode 100644 (file)
index 7fb7c22..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.IOException;
-import org.apache.hadoop.mapreduce.TaskAttemptContext;
-import org.apache.sqoop.mapreduce.CombineFileSplit;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class CombineShimRecordReader
-    extends org.apache.sqoop.mapreduce.CombineShimRecordReader {
-
-  public CombineShimRecordReader(CombineFileSplit split,
-      TaskAttemptContext context, Integer index)
-      throws IOException, InterruptedException {
-    super(split, context, index);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/DataDrivenImportJob.java b/src/java/com/cloudera/sqoop/mapreduce/DataDrivenImportJob.java
deleted file mode 100644 (file)
index 2a648a0..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ImportJobContext;
-import org.apache.hadoop.mapreduce.InputFormat;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class DataDrivenImportJob
-    extends org.apache.sqoop.mapreduce.DataDrivenImportJob {
-
-  public DataDrivenImportJob(final SqoopOptions opts) {
-    super(opts);
-  }
-
-  public DataDrivenImportJob(final SqoopOptions opts,
-      final Class<? extends InputFormat> inputFormatClass,
-      ImportJobContext context) {
-    super(opts, inputFormatClass, context);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/DelegatingOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/DelegatingOutputFormat.java
deleted file mode 100644 (file)
index 2994d21..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.FieldMappable;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class DelegatingOutputFormat<K extends FieldMappable, V>
-    extends org.apache.sqoop.mapreduce.DelegatingOutputFormat<K, V> {
-
-  public static final String DELEGATE_CLASS_KEY =
-      org.apache.sqoop.mapreduce.DelegatingOutputFormat.DELEGATE_CLASS_KEY;
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/ExportBatchOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/ExportBatchOutputFormat.java
deleted file mode 100644 (file)
index 030bcbe..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ExportBatchOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.ExportBatchOutputFormat
-    <SqoopRecord, V> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/ExportInputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/ExportInputFormat.java
deleted file mode 100644 (file)
index e0ad15b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.hadoop.mapreduce.JobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ExportInputFormat
-   extends org.apache.sqoop.mapreduce.ExportInputFormat {
-
-  public static final int DEFAULT_NUM_MAP_TASKS =
-      org.apache.sqoop.mapreduce.ExportInputFormat.DEFAULT_NUM_MAP_TASKS;
-
-  public static void setNumMapTasks(JobContext job, int numTasks) {
-    org.apache.sqoop.mapreduce.ExportInputFormat.setNumMapTasks(job, numTasks);
-  }
-
-  public static int getNumMapTasks(JobContext job) {
-    return org.apache.sqoop.mapreduce.ExportInputFormat.getNumMapTasks(job);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/ExportJobBase.java b/src/java/com/cloudera/sqoop/mapreduce/ExportJobBase.java
deleted file mode 100644 (file)
index 026b5e4..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.IOException;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.mapreduce.InputFormat;
-import org.apache.hadoop.mapreduce.Mapper;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import com.cloudera.sqoop.manager.ExportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ExportJobBase
-    extends org.apache.sqoop.mapreduce.ExportJobBase {
-
-  public static final String SQOOP_EXPORT_TABLE_CLASS_KEY =
-      org.apache.sqoop.mapreduce.ExportJobBase.SQOOP_EXPORT_TABLE_CLASS_KEY;
-
-  public static final String SQOOP_EXPORT_UPDATE_COL_KEY =
-      org.apache.sqoop.mapreduce.ExportJobBase.SQOOP_EXPORT_UPDATE_COL_KEY;
-
-  public static final String EXPORT_MAP_TASKS_KEY =
-      org.apache.sqoop.mapreduce.ExportJobBase.EXPORT_MAP_TASKS_KEY;
-
-  public ExportJobBase(final ExportJobContext ctxt) {
-    super(ctxt);
-  }
-
-  public ExportJobBase(final ExportJobContext ctxt,
-      final Class<? extends Mapper> mapperClass,
-      final Class<? extends InputFormat> inputFormatClass,
-      final Class<? extends OutputFormat> outputFormatClass) {
-    super(ctxt, mapperClass, inputFormatClass, outputFormatClass);
-  }
-
-  public static boolean isSequenceFiles(Configuration conf, Path p)
-      throws IOException {
-    return org.apache.sqoop.mapreduce.ExportJobBase.isSequenceFiles(conf, p);
-  }
-
-  public static FileType getFileType(Configuration conf, Path p)
-      throws IOException {
-    return org.apache.sqoop.mapreduce.ExportJobBase.getFileType(conf, p);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/ExportOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/ExportOutputFormat.java
deleted file mode 100644 (file)
index 2b99552..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-import org.apache.hadoop.mapreduce.TaskAttemptContext;
-
-import java.sql.SQLException;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ExportOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.ExportOutputFormat<K, V> {
-
-  /** {@inheritDoc}. **/
-  public class ExportRecordWriter<K extends SqoopRecord, V> extends
-    org.apache.sqoop.mapreduce.ExportOutputFormat<K, V>.ExportRecordWriter {
-
-    public ExportRecordWriter(TaskAttemptContext context)
-      throws ClassNotFoundException, SQLException {
-      super(context);
-    }
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/HBaseImportJob.java b/src/java/com/cloudera/sqoop/mapreduce/HBaseImportJob.java
deleted file mode 100644 (file)
index b3d8ec6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ImportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class HBaseImportJob
-    extends org.apache.sqoop.mapreduce.HBaseImportJob {
-
-  public static final Log LOG = LogFactory.getLog(
-      HBaseImportJob.class.getName());
-
-  public HBaseImportJob(final SqoopOptions opts,
-      final ImportJobContext importContext) {
-    super(opts, importContext);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/HBaseImportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/HBaseImportMapper.java
deleted file mode 100644 (file)
index 1fbc333..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class HBaseImportMapper
-    extends org.apache.sqoop.mapreduce.HBaseImportMapper {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/ImportJobBase.java b/src/java/com/cloudera/sqoop/mapreduce/ImportJobBase.java
deleted file mode 100644 (file)
index c9fe8e5..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.hadoop.mapreduce.InputFormat;
-import org.apache.hadoop.mapreduce.Mapper;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ImportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class ImportJobBase
-    extends org.apache.sqoop.mapreduce.ImportJobBase {
-
-  public ImportJobBase() {
-    super();
-  }
-
-  public ImportJobBase(final SqoopOptions opts) {
-    super(opts);
-  }
-
-  public ImportJobBase(final SqoopOptions opts,
-      final Class<? extends Mapper> mapperClass,
-      final Class<? extends InputFormat> inputFormatClass,
-      final Class<? extends OutputFormat> outputFormatClass,
-      final ImportJobContext context) {
-    super(opts, mapperClass, inputFormatClass, outputFormatClass, context);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/JdbcExportJob.java b/src/java/com/cloudera/sqoop/mapreduce/JdbcExportJob.java
deleted file mode 100644 (file)
index d0baeaf..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.hadoop.mapreduce.InputFormat;
-import org.apache.hadoop.mapreduce.Mapper;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import com.cloudera.sqoop.manager.ExportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class JdbcExportJob
-    extends org.apache.sqoop.mapreduce.JdbcExportJob {
-
-  public JdbcExportJob(final ExportJobContext context) {
-    super(context);
-  }
-
-  public JdbcExportJob(final ExportJobContext ctxt,
-      final Class<? extends Mapper> mapperClass,
-      final Class<? extends InputFormat> inputFormatClass,
-      final Class<? extends OutputFormat> outputFormatClass) {
-    super(ctxt, mapperClass, inputFormatClass, outputFormatClass);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/JdbcUpdateExportJob.java b/src/java/com/cloudera/sqoop/mapreduce/JdbcUpdateExportJob.java
deleted file mode 100644 (file)
index 5d282ba..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.IOException;
-import org.apache.hadoop.mapreduce.InputFormat;
-import org.apache.hadoop.mapreduce.Mapper;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import com.cloudera.sqoop.manager.ExportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class JdbcUpdateExportJob
-    extends org.apache.sqoop.mapreduce.JdbcUpdateExportJob {
-
-  public JdbcUpdateExportJob(final ExportJobContext context)
-      throws IOException {
-    super(context);
-  }
-
-  public JdbcUpdateExportJob(final ExportJobContext ctxt,
-      final Class<? extends Mapper> mapperClass,
-      final Class<? extends InputFormat> inputFormatClass,
-      final Class<? extends OutputFormat> outputFormatClass) {
-    super(ctxt, mapperClass, inputFormatClass, outputFormatClass);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/JdbcUpsertExportJob.java b/src/java/com/cloudera/sqoop/mapreduce/JdbcUpsertExportJob.java
deleted file mode 100644 (file)
index c23f234..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.IOException;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import com.cloudera.sqoop.manager.ExportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class JdbcUpsertExportJob
-    extends org.apache.sqoop.mapreduce.JdbcUpsertExportJob {
-
-  public JdbcUpsertExportJob(final ExportJobContext context,
-      final Class<? extends OutputFormat> outputFormatClass)
-      throws IOException {
-    super(context, outputFormatClass);
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/JobBase.java b/src/java/com/cloudera/sqoop/mapreduce/JobBase.java
deleted file mode 100644 (file)
index 974422a..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.IOException;
-import java.sql.SQLException;
-
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.mapreduce.InputFormat;
-import org.apache.hadoop.mapreduce.Job;
-import org.apache.hadoop.mapreduce.Mapper;
-import org.apache.hadoop.mapreduce.OutputFormat;
-import org.apache.hadoop.util.ReflectionUtils;
-import org.apache.sqoop.config.ConfigurationHelper;
-import org.apache.sqoop.manager.ConnManager;
-import org.apache.sqoop.validation.ValidationContext;
-import org.apache.sqoop.validation.ValidationException;
-import org.apache.sqoop.validation.ValidationFailureHandler;
-import org.apache.sqoop.validation.ValidationThreshold;
-import org.apache.sqoop.validation.Validator;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-@Deprecated
-public class JobBase
-    extends org.apache.sqoop.mapreduce.JobBase {
-
-  public JobBase() {
-    super();
-  }
-
-  public JobBase(final SqoopOptions opts) {
-    super(opts);
-  }
-
-  public JobBase(final SqoopOptions opts,
-      final Class<? extends Mapper> mapperClass,
-      final Class<? extends InputFormat> inputFormatClass,
-      final Class<? extends OutputFormat> outputFormatClass) {
-    super(opts, mapperClass, inputFormatClass, outputFormatClass);
-  }
-
-  protected long getRowCountFromDB(ConnManager connManager, String tableName)
-    throws SQLException {
-    return connManager.getTableRowCount(tableName);
-  }
-
-  protected long getRowCountFromHadoop(Job job)
-    throws IOException, InterruptedException {
-    return ConfigurationHelper.getNumMapOutputRecords(job);
-  }
-
-  protected void doValidate(SqoopOptions options, Configuration conf,
-                            ValidationContext validationContext)
-    throws ValidationException {
-    Validator validator = (Validator) ReflectionUtils.newInstance(
-        options.getValidatorClass(), conf);
-    ValidationThreshold threshold = (ValidationThreshold)
-        ReflectionUtils.newInstance(options.getValidationThresholdClass(),
-          conf);
-    ValidationFailureHandler failureHandler = (ValidationFailureHandler)
-        ReflectionUtils.newInstance(options.getValidationFailureHandlerClass(),
-          conf);
-
-    StringBuilder sb = new StringBuilder();
-    sb.append("Validating the integrity of the import using the "
-      + "following configuration\n");
-    sb.append("\tValidator : ").append(validator.getClass().getName())
-      .append('\n');
-    sb.append("\tThreshold Specifier : ")
-      .append(threshold.getClass().getName()).append('\n');
-    sb.append("\tFailure Handler : ")
-      .append(failureHandler.getClass().getName()).append('\n');
-    LOG.info(sb.toString());
-    validator.validate(validationContext, threshold, failureHandler);
-  }
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeJob.java b/src/java/com/cloudera/sqoop/mapreduce/MergeJob.java
deleted file mode 100644 (file)
index 5b21343..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.SqoopOptions;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeJob
-    extends org.apache.sqoop.mapreduce.MergeJob {
-
-  public static final String MERGE_OLD_PATH_KEY =
-      org.apache.sqoop.mapreduce.MergeJob.MERGE_OLD_PATH_KEY;
-  public static final String MERGE_NEW_PATH_KEY =
-      org.apache.sqoop.mapreduce.MergeJob.MERGE_NEW_PATH_KEY;
-  public static final String MERGE_KEY_COL_KEY =
-      org.apache.sqoop.mapreduce.MergeJob.MERGE_KEY_COL_KEY;
-  public static final String MERGE_SQOOP_RECORD_KEY =
-      org.apache.sqoop.mapreduce.MergeJob.MERGE_SQOOP_RECORD_KEY;
-
-  public MergeJob(final SqoopOptions opts) {
-    super(opts);
-  }
-
-}
-
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeMapperBase.java b/src/java/com/cloudera/sqoop/mapreduce/MergeMapperBase.java
deleted file mode 100644 (file)
index 083c8dc..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeMapperBase<INKEY, INVAL>
-    extends org.apache.sqoop.mapreduce.MergeMapperBase<INKEY, INVAL> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeRecord.java b/src/java/com/cloudera/sqoop/mapreduce/MergeRecord.java
deleted file mode 100644 (file)
index 0494c05..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeRecord
-    extends org.apache.sqoop.mapreduce.MergeRecord {
-
-  public MergeRecord() {
-    super();
-  }
-
-  public MergeRecord(SqoopRecord sr, boolean recordIsNew) {
-    super(sr, recordIsNew);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeRecordMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MergeRecordMapper.java
deleted file mode 100644 (file)
index a9acf9e..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeRecordMapper
-    extends org.apache.sqoop.mapreduce.MergeRecordMapper {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeReducer.java b/src/java/com/cloudera/sqoop/mapreduce/MergeReducer.java
deleted file mode 100644 (file)
index e3ecde3..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeReducer
-    extends org.apache.sqoop.mapreduce.MergeReducer {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MergeTextMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MergeTextMapper.java
deleted file mode 100644 (file)
index d4d7d02..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MergeTextMapper
-    extends org.apache.sqoop.mapreduce.MergeTextMapper {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpImportJob.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpImportJob.java
deleted file mode 100644 (file)
index a6d0de6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.manager.ImportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLDumpImportJob
-    extends org.apache.sqoop.mapreduce.MySQLDumpImportJob {
-
-  public MySQLDumpImportJob(final SqoopOptions opts, ImportJobContext context)
-      throws ClassNotFoundException {
-    super(opts, context);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpInputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpInputFormat.java
deleted file mode 100644 (file)
index 066e4e0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLDumpInputFormat
-    extends org.apache.sqoop.mapreduce.MySQLDumpInputFormat {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLDumpMapper.java
deleted file mode 100644 (file)
index b6fe39f..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import org.apache.hadoop.conf.Configuration;
-import com.cloudera.sqoop.util.PerfCounters;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLDumpMapper
-    extends org.apache.sqoop.mapreduce.MySQLDumpMapper {
-
-  /**
-   * @deprecated Moving to use org.apache.sqoop namespace.
-   */
-  public static class CopyingAsyncSink
-      extends org.apache.sqoop.mapreduce.MySQLDumpMapper.CopyingAsyncSink {
-
-    protected CopyingAsyncSink(final MySQLDumpMapper.Context context,
-        final PerfCounters ctrs) {
-      super(context, ctrs);
-    }
-
-  }
-
-  /**
-   * @deprecated Moving to use org.apache.sqoop namespace.
-   */
-  public static class ReparsingAsyncSink
-      extends org.apache.sqoop.mapreduce.MySQLDumpMapper.ReparsingAsyncSink {
-
-    protected ReparsingAsyncSink(final MySQLDumpMapper.Context c,
-        final Configuration conf, final PerfCounters ctrs) {
-      super(c, conf, ctrs);
-    }
-
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLExportJob.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLExportJob.java
deleted file mode 100644 (file)
index 2eb8442..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.manager.ExportJobContext;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLExportJob
-    extends org.apache.sqoop.mapreduce.MySQLExportJob {
-
-  public MySQLExportJob(final ExportJobContext context) {
-    super(context);
-  }
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLExportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLExportMapper.java
deleted file mode 100644 (file)
index 30046dd..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLExportMapper<KEYIN, VALIN>
-    extends org.apache.sqoop.mapreduce.MySQLExportMapper<KEYIN, VALIN> {
-
-  public static final String MYSQL_CHECKPOINT_BYTES_KEY =
-      org.apache.sqoop.mapreduce.MySQLExportMapper.MYSQL_CHECKPOINT_BYTES_KEY;
-
-  public static final long DEFAULT_CHECKPOINT_BYTES =
-      org.apache.sqoop.mapreduce.MySQLExportMapper.DEFAULT_CHECKPOINT_BYTES;
-
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLRecordExportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLRecordExportMapper.java
deleted file mode 100644 (file)
index 08751d2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLRecordExportMapper
-    extends org.apache.sqoop.mapreduce.MySQLRecordExportMapper {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/MySQLTextExportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/MySQLTextExportMapper.java
deleted file mode 100644 (file)
index 95517e2..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class MySQLTextExportMapper
-    extends org.apache.sqoop.mapreduce.MySQLTextExportMapper {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/NullOutputCommitter.java b/src/java/com/cloudera/sqoop/mapreduce/NullOutputCommitter.java
deleted file mode 100644 (file)
index c3c9b39..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class NullOutputCommitter
-    extends org.apache.sqoop.mapreduce.NullOutputCommitter {
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/OracleExportOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/OracleExportOutputFormat.java
deleted file mode 100644 (file)
index 8ae10d7..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class OracleExportOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.OracleExportOutputFormat<K, V> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/OracleUpsertOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/OracleUpsertOutputFormat.java
deleted file mode 100644 (file)
index aa20e7f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class OracleUpsertOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.OracleUpsertOutputFormat<K, V> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/RawKeyTextOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/RawKeyTextOutputFormat.java
deleted file mode 100644 (file)
index 2e9518a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import java.io.DataOutputStream;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class RawKeyTextOutputFormat<K, V>
-    extends org.apache.sqoop.mapreduce.RawKeyTextOutputFormat<K, V> {
-
-  /**
-   * @deprecated Moving to use org.apache.sqoop namespace.
-   */
-  public static class RawKeyRecordWriter<K, V>
-      extends org.apache.sqoop.mapreduce.RawKeyTextOutputFormat.
-      RawKeyRecordWriter<K, V> {
-
-    public RawKeyRecordWriter(DataOutputStream out) {
-      super(out);
-    }
-
-  }
-
-}
-
diff --git a/src/java/com/cloudera/sqoop/mapreduce/SQLServerExportOutputFormat.java b/src/java/com/cloudera/sqoop/mapreduce/SQLServerExportOutputFormat.java
deleted file mode 100644 (file)
index f7841ca..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.cloudera.sqoop.mapreduce;
-
-import com.cloudera.sqoop.lib.SqoopRecord;
-
-/**
- * @deprecated Moving to use org.apache.sqoop namespace.
- */
-public class SQLServerExportOutputFormat<K extends SqoopRecord, V>
-    extends org.apache.sqoop.mapreduce.SQLServerExportOutputFormat<K, V> {
-}
diff --git a/src/java/com/cloudera/sqoop/mapreduce/SequenceFileExportMapper.java b/src/java/com/cloudera/sqoop/mapreduce/SequenceFileExportMapper.java
deleted file mode 100644 (file)
index 3b5b8b7..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additiona