sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-2213) Sqoop2: toCSVFixedPoint ClassCastException
Date Wed, 01 Apr 2015 15:52:53 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390854#comment-14390854
] 

Jarek Jarcec Cecho commented on SQOOP-2213:
-------------------------------------------

The failed test is for the first patch, the test passes in second patch - I'm not sure why
the precommit hook did not run again.

> Sqoop2: toCSVFixedPoint ClassCastException
> ------------------------------------------
>
>                 Key: SQOOP-2213
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2213
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Abraham Elmahrek
>            Assignee: Abraham Elmahrek
>             Fix For: 1.99.6
>
>         Attachments: SQOOP-2213.001.patch, SQOOP-2213.002.patch
>
>
> 2015-03-16 14:21:36,629 FATAL [IPC Server handler 17 on 51030] org.apache.hadoop.mapred.TaskAttemptListenerImpl:
Task: attempt_1426323168756_0043_m_000000_0 - exited : 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:784)
> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
> at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
> 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:1628)
> at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
> Caused by: java.lang.ClassCastException: java.lang.Long 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.job.mr.SqoopMapper$SqoopMapDataWriter.writeArrayRecord(SqoopMapper.java:125)
> at org.apache.sqoop.connector.jdbc.GenericJdbcExtractor.extract(GenericJdbcExtractor.java:96)
> at org.apache.sqoop.connector.jdbc.GenericJdbcExtractor.extract(GenericJdbcExtractor.java:38)
> at org.apache.sqoop.job.mr.SqoopMapper.run(SqoopMapper.java:95)
> ... 7 more



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

Mime
View raw message