Member since
02-17-2017
22
Posts
0
Kudos Received
0
Solutions
04-12-2017
12:51 PM
i got this error 17/04/12 15:28:29 INFO mapreduce.Job: Counters: 8
Job Counters
Failed map tasks=1
Launched map tasks=1
Rack-local map tasks=1
Total time spent by all maps in occupied slots (ms)=654614
Total time spent by all reduces in occupied slots (ms)=0
Total time spent by all map tasks (ms)=327307
Total vcore-milliseconds taken by all map tasks=327307
Total megabyte-milliseconds taken by all map tasks=502743552
17/04/12 15:28:29 WARN mapreduce.Counters: Group FileSystemCounters is deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead
17/04/12 15:28:29 INFO mapreduce.ExportJobBase: Transferred 0 bytes in 342.7432 seconds (0 bytes/sec)
17/04/12 15:28:29 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
17/04/12 15:28:29 INFO mapreduce.ExportJobBase: Exported 0 records.
17/04/12 15:28:29 ERROR mapreduce.ExportJobBase: Export job failed!
17/04/12 15:28:29 ERROR tool.ExportTool: Error during export: Export job failed!
... View more
03-23-2017
03:00 PM
If want to do one time import,use the following command,It will use hcatalog to create the table and import the data in ORC format sqoop import --connect jdbc:sqlserver://11.11.111.11;databaseName=dswFICO --driver com.microsoft.sqlserver.jdbc.SQLServerDriver --username sqoop --password sqoop --table KNA1 --hcatalog-database default --hcatalog-table KNA1 --create-hcatalog-table --hcatalog-storage-stanza "stored as orcfile"
... View more
03-16-2017
07:03 AM
@Jay SenSharma, i successfully moved the sqljdbc42.jar here : /usr/hdp/current/sqoop-client/lib/ what else should i do after i moved the jar file? i try again another import command but somethings wrong again.
... View more
06-20-2017
04:45 PM
I am getting the error regarding specifying connection manager even though I have added the jar file at /usr/hdp/current/sqoop_client/lib Can anyone help? I have used the same command as given above. Error- WARN sqoop.ConnFactory: Parameter --driver is set to an explicit driver however appropriate connection manager is not being set (via --connection-manager). Sqoop is going to fall back to org.apache.sqoop.manager.GenericJdbcManager. Please specify explicitly which connection manager should be used next time.
17/06/20 11:28:48 INFO manager.SqlManager: Using default fetchSize of 1000
17/06/20 11:28:48 INFO tool.CodeGenTool: Beginning code generation
17/06/20 11:28:48 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver
... View more