mirror of
https://github.com/apache/sqoop.git
synced 2025-05-08 12:01:09 +08:00
SQOOP-2251: Sqoop2: ErrorCodes: Move RepositoryError to core module
(Jarek Jarcec Cecho via Abraham Elmahrek)
This commit is contained in:
parent
587f50d184
commit
d68737ecfd
@ -23,12 +23,10 @@
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.sqoop.common.SqoopException;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.apache.sqoop.model.MConfig;
|
||||
import org.apache.sqoop.model.MConfigUpdateEntityType;
|
||||
import org.apache.sqoop.model.MConnector;
|
||||
import org.apache.sqoop.model.MDriver;
|
||||
import org.apache.sqoop.model.MInput;
|
||||
import org.apache.sqoop.model.MJob;
|
||||
import org.apache.sqoop.model.MLink;
|
||||
import org.apache.sqoop.model.MSubmission;
|
||||
|
@ -25,7 +25,6 @@
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.sqoop.common.SqoopException;
|
||||
import org.apache.sqoop.common.MapContext;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
|
||||
|
||||
public final class JdbcRepositoryContext {
|
||||
|
@ -35,7 +35,6 @@
|
||||
import org.apache.sqoop.common.SqoopException;
|
||||
import org.apache.sqoop.common.MapContext;
|
||||
import org.apache.sqoop.core.SqoopConfiguration;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.apache.sqoop.utils.ClassUtils;
|
||||
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
import org.apache.log4j.LogManager;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.sqoop.common.SqoopException;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
|
||||
public class JdbcRepositoryTransaction implements RepositoryTransaction {
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
||||
import org.apache.sqoop.connector.spi.SqoopConnector;
|
||||
import org.apache.sqoop.driver.Driver;
|
||||
import org.apache.sqoop.driver.DriverUpgrader;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.apache.sqoop.json.DriverBean;
|
||||
import org.apache.sqoop.model.ConfigUtils;
|
||||
import org.apache.sqoop.model.MConfig;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.apache.sqoop.error.code;
|
||||
package org.apache.sqoop.repository;
|
||||
|
||||
import org.apache.sqoop.common.ErrorCode;
|
||||
|
@ -25,7 +25,6 @@
|
||||
import org.apache.sqoop.core.Reconfigurable;
|
||||
import org.apache.sqoop.core.SqoopConfiguration;
|
||||
import org.apache.sqoop.core.SqoopConfiguration.CoreConfigurationListener;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.apache.sqoop.utils.ClassUtils;
|
||||
|
||||
public class RepositoryManager implements Reconfigurable {
|
||||
|
@ -47,7 +47,6 @@
|
||||
import org.apache.sqoop.connector.spi.SqoopConnector;
|
||||
import org.apache.sqoop.driver.Driver;
|
||||
import org.apache.sqoop.driver.DriverUpgrader;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.apache.sqoop.json.DriverBean;
|
||||
import org.apache.sqoop.model.ConfigUtils;
|
||||
import org.apache.sqoop.model.ConfigurationClass;
|
||||
|
@ -24,7 +24,6 @@
|
||||
import org.apache.sqoop.core.PropertiesConfigurationProvider;
|
||||
import org.apache.sqoop.core.SqoopConfiguration;
|
||||
import org.apache.sqoop.core.TestUtils;
|
||||
import org.apache.sqoop.error.code.RepositoryError;
|
||||
import org.testng.Assert;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user