事實證明,如果你能在創建SQL Azure的天青或MySQL的下面這些表,然後使用Sqoop的--meta連子句連接新metastore 但那麼就有這個限制Sqoop on HDInsight does not close JDBC connection properly?
CREATE TABLE SQOOP_ROOT (
version INT,
propname VARCHAR(128) NOT NULL,
propval VARCHAR(256),
CONSTRAINT SQOOP_ROOT_unq UNIQUE (version, propname))
INSERT INTO SQOOP_ROOT
VALUES(
NULL,
'sqoop.hsqldb.job.storage.version',
'0');
INSERT INTO SQOOP_ROOT
VALUES(
0,
'sqoop.hsqldb.job.info.table',
'SQOOP_SESSIONS'
);
CREATE TABLE SQOOP_SESSIONS(
JOB_NAME VARCHAR(64) ,
PROPNAME VARCHAR(128) ,
PROPVAL VARCHAR(1024) ,
PROPCLASS VARCHAR(32) ,
CONSTRAINT SQOOP_SESSIONS_unq UNIQUE
(JOB_NAME ,
PROPNAME ,
PROPCLASS)
);