Hi I have executed sqoop import from sql server. I am able to unload many a tables but this table is throwing error.
I am using 8 mappers and using CDH 5.2. My 7 mappers are completed successfully but showing below message in the log.
Container killed by the ApplicationMaster.
Container killed on request. Exit code is 143
Container exited with a non-zero exit code 143
The last mapper runs for some more time and failing . This is the below query getting executed.
sqoop import --connect $JDBCconnector --username $UserName --password $sqlServerPassword --hive-table p2020_sqlserver_lifr.$Hivetable --table
$TableName_Schema --hive-import -m 8 -- --schema $SchemaName
SELECT [SDPMTO], [SDANBY], [SDPMTN], [SDNUMB], [SDAAID], [SDSPATTN], [SDPRAN8], [SDPRCIDLN], [SDCCIDLN], [SDSHCCIDLN], [SDOPPID], [SDOSTP], [SDUKID], [SDCATNM] FROM [proddta].[F4211] WHERE ( [SDDCTO] >= 'P' ) AND ( [SDDCTO] <= 'SZ' )