sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject Re: [jira] [Commented] (SQOOP-1764) Numeric Overflow when getting extent map
Date Wed, 19 Nov 2014 14:31:22 GMT
What’s your wiki user name David?

Jarcec

> On Nov 18, 2014, at 9:19 PM, David Robson <David.Robson@software.dell.com> wrote:
> 
> I don't have access to edit the wiki - can someone either add me to it or update this
page?
> 
> -----Original Message-----
> From: Jarek Jarcec Cecho [mailto:jarcec@gmail.com] On Behalf Of Jarek Jarcec Cecho
> Sent: Wednesday, 19 November 2014 3:59 PM
> To: dev@sqoop.apache.org
> Subject: Re: [jira] [Commented] (SQOOP-1764) Numeric Overflow when getting extent map
> 
> I think that the “—no-prefix” is there from our SVN times. We are using prefix
since we’ve moved to git. I would simply update the wiki.
> 
> Jarcec
> 
>> On Nov 18, 2014, at 8:39 PM, Venkat Ranganathan <vranganathan@hortonworks.com>
wrote:
>> 
>> I have seen all the patches almost always created with the prefix (those
>> that I committed and created).   I know some of the projects do have the
>> --no-prefix requirments but we almost always wanted with prefix.
>> 
>> Venkat
>> 
>> On Tue, Nov 18, 2014 at 8:29 PM, David Robson < 
>> David.Robson@software.dell.com> wrote:
>> 
>>> I was following this page:
>>> https://cwiki.apache.org/confluence/display/SQOOP/How+to+Contribute/
>>> 
>>> It says to submit patches with no prefix - is this out of date now?
>>> 
>>> -----Original Message-----
>>> From: Venkat Ranganathan (JIRA) [mailto:jira@apache.org]
>>> Sent: Wednesday, 19 November 2014 3:28 PM
>>> To: dev@sqoop.apache.org
>>> Subject: [jira] [Commented] (SQOOP-1764) Numeric Overflow when 
>>> getting extent map
>>> 
>>> 
>>>   [
>>> https://issues.apache.org/jira/browse/SQOOP-1764?page=com.atlassian.j
>>> ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14
>>> 217394#comment-14217394
>>> ]
>>> 
>>> Venkat Ranganathan commented on SQOOP-1764:
>>> -------------------------------------------
>>> 
>>> Thanks for your contribution [~david.robson].
>>> 
>>> Also, I needed to add "-p 0" to apply the patch.  It looks like you 
>>> added --no-prefix while generating the patch.  We typically do keep 
>>> the prefix when generating the diff.
>>> 
>>>> Numeric Overflow when getting extent map
>>>> ----------------------------------------
>>>> 
>>>>               Key: SQOOP-1764
>>>>               URL: https://issues.apache.org/jira/browse/SQOOP-1764
>>>>           Project: Sqoop
>>>>        Issue Type: Bug
>>>>        Components: connectors/oracle
>>>>  Affects Versions: 1.4.5
>>>>          Reporter: David Robson
>>>>          Assignee: David Robson
>>>>       Attachments: SQOOP-1764.patch
>>>> 
>>>> 
>>>> User is receiving the following error - looks like the block ID can 
>>>> be
>>> bigger than an int:
>>>> 14/11/06 14:17:58 ERROR tool.ImportTool: Encountered IOException 
>>>> running
>>> import job: java.io.IOException: java.sql.SQLException: Numeric 
>>> Overflow
>>>>       at
>>> com.quest.oraoop.OraOopDataDrivenDBInputFormat.getSplits(OraOopDataDr
>>> ivenDBInputFormat.java:120)
>>>>       at
>>> org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.
>>> java:498)
>>>>       at
>>> org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.jav
>>> a:515)
>>>>       at
>>> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitt
>>> er.java:399)
>>>>       at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1295)
>>>>       at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1292)
>>>>       at java.security.AccessController.doPrivileged(Native Method)
>>>>       at javax.security.auth.Subject.doAs(Subject.java:415)
>>>>       at
>>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInforma
>>> tion.java:1614)
>>>>       at org.apache.hadoop.mapreduce.Job.submit(Job.java:1292)
>>>>       at
>>> org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1313)
>>>>       at
>>> org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.ja
>>> va:198)
>>>>       at
>>> org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:17
>>> 1)
>>>>       at
>>> org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java
>>> :268)
>>>>       at
>>> org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:665)
>>>>       at
>>> com.quest.oraoop.OraOopConnManager.importTable(OraOopConnManager.java
>>> :260)
>>>>       at
>>> org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:497)
>>>>       at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
>>>>       at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
>>>>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>>>>       at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
>>>>       at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
>>>>       at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
>>>>       at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
>>>> Caused by: java.sql.SQLException: Numeric Overflow
>>>>       at
>>> oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAcc
>>> essor.java:4170)
>>>>       at
>>> oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.j
>>> ava:119)
>>>>       at
>>> oracle.jdbc.driver.GeneratedStatement.getInt(GeneratedStatement.java:
>>> 217)
>>>>       at
>>> oracle.jdbc.driver.GeneratedScrollableResultSet.getInt(GeneratedScrol
>>> lableResultSet.java:522)
>>>>       at
>>> oracle.jdbc.driver.GeneratedResultSet.getInt(GeneratedResultSet.java:
>>> 1350)
>>>>       at
>>> com.quest.oraoop.OraOopOracleQueries.getOracleDataChunksExtent(OraOop
>>> OracleQueries.java:271)
>>>>       at
>>> com.quest.oraoop.OraOopDataDrivenDBInputFormat.getSplits(OraOopDataDr
>>> ivenDBInputFormat.java:74)
>>>>       ... 23 more
>>> 
>>> 
>>> 
>>> --
>>> This message was sent by Atlassian JIRA
>>> (v6.3.4#6332)
>>> 
>> 
>> --
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or 
>> entity to which it is addressed and may contain information that is 
>> confidential, privileged and exempt from disclosure under applicable 
>> law. If the reader of this message is not the intended recipient, you 
>> are hereby notified that any printing, copying, dissemination, 
>> distribution, disclosure or forwarding of this communication is 
>> strictly prohibited. If you have received this communication in error, 
>> please contact the sender immediately and delete it from your system. Thank You.
> 


Mime
View raw message