You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Abraham Elmahrek (JIRA)" <ji...@apache.org> on 2013/09/26 22:12:02 UTC
[jira] [Comment Edited] (SQOOP-1208) Sqoop2: job ID column is too
small
[ https://issues.apache.org/jira/browse/SQOOP-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779152#comment-13779152 ]
Abraham Elmahrek edited comment on SQOOP-1208 at 9/26/13 8:10 PM:
------------------------------------------------------------------
I think it should be 50 I think. Yarn has a job id of "application_<timestamp>_<5 digit number>", which should be longer than MR1.
was (Author: abec):
I think it should be 50 I think. Yarn has an idea of "application_<timestamp>_<5 digit number>", which should be longer than MR1.
> Sqoop2: job ID column is too small
> ----------------------------------
>
> Key: SQOOP-1208
> URL: https://issues.apache.org/jira/browse/SQOOP-1208
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-framework
> Affects Versions: 1.99.2
> Reporter: Abraham Elmahrek
> Assignee: Abraham Elmahrek
> Fix For: 1.99.3
>
> Attachments: SQOOP-1208.patch
>
>
> {code}
> Caused by: java.sql.SQLDataException: A truncation error was encountered trying to shrink VARCHAR 'job_20130926111336541_0001' to length 25.
> at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
> at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
> at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
> at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
> at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
> at org.apache.sqoop.repository.derby.DerbyRepositoryHandler.createSubmission(DerbyRepositoryHandler.java:1197)
> ... 25 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira