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

Hudson commented on SQOOP-2839:
-------------------------------

FAILURE: Integrated in Sqoop-hadoop200 #1042 (See 
[https://builds.apache.org/job/Sqoop-hadoop200/1042/])
SQOOP-2839: Sqoop import failure due to data member conflict in ORM code 
(jarcec: 
[https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=cfa7927c2a3c129d140da7fa13ec9c97e17566dd])
* src/test/com/cloudera/sqoop/orm/TestClassWriter.java
* src/java/org/apache/sqoop/orm/ClassWriter.java


> Sqoop import failure due to data member conflict in ORM code for table
> ----------------------------------------------------------------------
>
>                 Key: SQOOP-2839
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2839
>             Project: Sqoop
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.6
>            Reporter: VISHNU S NAIR
>            Assignee: VISHNU S NAIR
>             Fix For: 1.4.7
>
>         Attachments: 0001-SQOOP-2839.patch
>
>
> While importing data with Sqoop, if any of the table contains a column named 
> "PROTOCOL_VERSION", Sqoop will fail to import data.
> /tmp/sqoop-user/compile/fd570d817e8323d1135a7f2a6612e321/QueryResult.java:173:
>  error: variable PROTOCOL_VERSION is already defined in class QueryResult
>   private String PROTOCOL_VERSION;
>                  ^
> /tmp/sqoop-user/compile/fd570d817e8323d1135a7f2a6612e321/QueryResult.java:175:
>  error: incompatible types
>     return PROTOCOL_VERSION;
>            ^
>   required: String
>   found:    int



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

Reply via email to