Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.99.5
-
None
-
ubuntu 14.04, hadoop 2.5.0-cdh5.3.2
Description
Get the following error stack when importing data from ms-sql server.
Also the output format is selected to be parquet via kite connector in the job
org.apache.sqoop.common.SqoopException: MAPRED_EXEC_0017:Error occurs during extractor run
at org.apache.sqoop.job.mr.SqoopMapper.run(SqoopMapper.java:99)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:672)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:330)
at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1642)
at org.apache.hadoop.mapred.Child.main(Child.java:262)
Caused by: java.lang.ClassCastException: java.lang.Short cannot be cast to java.lang.Integer
at org.apache.sqoop.connector.common.SqoopIDFUtils.toCSVFixedPoint(SqoopIDFUtils.java:117)
at org.apache.sqoop.connector.idf.CSVIntermediateDataFormat.toCSV(CSVIntermediateDataFormat.java:223)
at org.apache.sqoop.connector.idf.CSVIntermediateDataFormat.setObjectData(CSVIntermediateDataFormat.java:165)
at org.apache.sqoop.j
Attachments
Issue Links
- duplicates
-
SQOOP-2213 Sqoop2: toCSVFixedPoint ClassCastException
- Resolved