You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Sowmya Ramesh (JIRA)" <ji...@apache.org> on 2016/01/06 22:21:42 UTC

[jira] [Created] (SQOOP-2779) Sqoop metastore doesn't seem to recognize --schema option

Sowmya Ramesh created SQOOP-2779:
------------------------------------

             Summary: Sqoop metastore doesn't seem to recognize --schema option
                 Key: SQOOP-2779
                 URL: https://issues.apache.org/jira/browse/SQOOP-2779
             Project: Sqoop
          Issue Type: Bug
            Reporter: Sowmya Ramesh
            Assignee: Sowmya Ramesh


{noformat}

PROBLEM:
When running sqoop job using sqoop metastore:
sqoop job --create 'globaldata.r.emaildomain' --meta-connect 'jdbc:hsqldb:hsql://da0shal203.match.corp:16000/sqoop' --import --connect 'jdbc:sqlserver://MAREPORT\MAREPORT01;database=GlobalData;user=hdpreader;password=xxx' --table EmailDomain --target-dir /hive/globaldatastaging/emaildomain --split-by 'DomainID' --num-mappers 8 --columns 'DomainID, EmailDomain, InsertDate, EmailDomainGroupID, EmailDomainGroup' --hive-drop-import-delims --fields-terminated-by '\001' --lines-terminated-by '\n' --null-string '
N' --null-non-string '
N' – --schema lookup
It is throwing the error that it cannot find the table when executing the job:
15/08/24 15:21:18 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM EmailDomain AS t WHERE 1=0 
15/08/24 15:21:18 ERROR manager.SqlManager: Error executing statement: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'EmailDomain'.

{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)