sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1437) 'Text' reserved word in compliation
Date Tue, 07 Oct 2014 01:07:35 GMT

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

Hudson commented on SQOOP-1437:
-------------------------------

FAILURE: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #937 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/937/])
SQOOP-1437: 'Text' reserved word in compliation (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=dcd5d843c2f866035e4246eb6c593b37685bfda0)
* src/java/org/apache/sqoop/orm/ClassWriter.java


> 'Text' reserved word in compliation
> -----------------------------------
>
>                 Key: SQOOP-1437
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1437
>             Project: Sqoop
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.4, 1.4.5
>            Reporter: Charles Robertson
>            Assignee: Nick White
>            Priority: Minor
>             Fix For: 1.4.6
>
>         Attachments: SQOOP-1437.patch
>
>
> Code generation failed because my destination table (in AWS RDS MySql) had a column named
'Text'. Changing this column solved the issue. This is the error output:
> {code}
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:197: error:
cannot find symbol
>     this.Text = Text.readString(__dataIn);
>                     ^
>   symbol:   method readString(DataInput)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:202: error:
cannot find symbol
>     this.ScreenName = Text.readString(__dataIn);
>                           ^
>   symbol:   method readString(DataInput)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:207: error:
cannot find symbol
>     this.Name = Text.readString(__dataIn);
>                     ^
>   symbol:   method readString(DataInput)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:217: error:
cannot find symbol
>     this.Sentiment = Text.readString(__dataIn);
>                          ^
>   symbol:   method readString(DataInput)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:244: error:
cannot find symbol
>     Text.writeString(__dataOut, Text);
>         ^
>   symbol:   method writeString(DataOutput,String)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:250: error:
cannot find symbol
>     Text.writeString(__dataOut, ScreenName);
>         ^
>   symbol:   method writeString(DataOutput,String)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:256: error:
cannot find symbol
>     Text.writeString(__dataOut, Name);
>         ^
>   symbol:   method writeString(DataOutput,String)
>   location: variable Text of type String
> /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java:268: error:
cannot find symbol
>     Text.writeString(__dataOut, Sentiment);
>         ^
>   symbol:   method writeString(DataOutput,String)
>   location: variable Text of type String
> Note: /tmp/sqoop-root/compile/800bf97df684e2e48f096e96bd7a30c6/ScoredTweets.java uses
or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 8 errors
> 14/08/13 19:25:08 ERROR tool.ExportTool: Encountered IOException running export job:
java.io.IOException: Error returned by javac
> {code}



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

Mime
View raw message