Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2276

MapReduce execution error in Sqoop job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.99.5
    • 1.99.6
    • 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

          Activity

            People

              Unassigned Unassigned
              bipin Bipin Roshan Nag
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: