Thanks!

Jarcec

On Aug 14, 2014, at 1:28 PM, Charles Robertson <[email protected]> 
wrote:

> Done.
> 
> Charles
> 
> 
> On 14 August 2014 17:08, Jarek Jarcec Cecho <[email protected]> wrote:
> Good catch Charles! We are currently escaping column names that are java 
> keywords to not break the compilation. Obviously we should do the same for 
> classes that we’re using. Could you file a JIRA at [1]?
> 
> Jarcec
> 
> Links:
> 1: https://issues.apache.org/jira/browse/SQOOP
> 
> On Aug 14, 2014, at 9:02 AM, Charles Robertson <[email protected]> 
> wrote:
> 
> > I have sussed this one out - I had a column called "Text" in the 
> > destination database, and this appears to have caused the confusion.
> >
> >
> > On 13 August 2014 20:47, Charles Robertson <[email protected]> 
> > wrote:
> > HI all,
> >
> > I'm using sqoop for the first time, and getting the error below when I try 
> > to export from Hive to AWS RDS (MySql). It can connect to RDS (the output 
> > displays the correct schema). Googling this error has brought nothing, so I 
> > am at a loss as to what is causing it. Using the verbose flag does not seem 
> > to give anything more informative. This is using Sqoop 1.4.4.2.1.4.0-632.
> >
> > Any help would be appreciated!
> >
> > The error:
> >
> > /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
> >
> >
> > Thanks,
> > Charles
> >
> 
> 

Reply via email to