[-user@hive, +user@sqoop] Hi Cyrille, this seems to me more a Sqoop issue than Hive issue, so I've moved this email to user@sqoop mailing list. I'm keeping user@hive in Bcc so that the mailing list will get the memo. Please join the user@sqoop mailing list [1] to receive additional feedback.
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found > class org.apache.hadoop.mapreduce.JobContext, but interface was expected Exception that you're getting is typical when one is running code compiled against Hadoop 2.0 on Hadoop 1.0 or vice versa. You've specified that you're running Sqoop 1.4.2 --hadoop1.0.0.0, but that do not seem to be the case. Would you mind downloading it again from our mirror [2] and retrying it? Jarcec Links: 1: http://sqoop.apache.org/mail-lists.html 2: http://www.apache.org/dist/sqoop/1.4.2/ On Fri, Feb 15, 2013 at 03:20:09PM -0500, Cyrille Djoko wrote: > Hi Jarcec, > I did try Sqoop. I am running sqoop 1.4.2 --hadoop1.0.0 along with hadoop > 1.0.4 But I keep running on the following exception. > > Exception in thread "main" java.lang.IncompatibleClassChangeError: Found > class org.apache.hadoop.mapreduce.JobContext, but interface was expected > > So I wrote a small program but all I can do is send queries to the server. > > Hi Cyrille, > > I'm not exactly sure what exactly you mean, so I'm more or less blindly > > shooting, but maybe Apache Sqoop [1] might help you? > > > > Jarcec > > > > Links: > > 1: http://sqoop.apache.org/ > > > > On Fri, Feb 15, 2013 at 01:44:45PM -0500, Cyrille Djoko wrote: > >> I am looking for a relatively efficient way of transferring data between > >> a > >> remote server and Hive without going through the hassle of storing the > >> data first on memory before loading it to Hive. > >> From what I have read so far there is no such command but it would not > >> hurt to ask. > >> Is it possible to insert data through an insert query in hive? (The > >> equivalent to insert into table_name > >> values (...) in xSQLx) > >> > >> Thank you in advance for an answer. > >> > >> > >> Cyrille Djoko > >> Data Mining Developer Intern > >> > > > > > Cyrille Djoko > > Agnik LLC > Data Mining Developer Intern >
signature.asc
Description: Digital signature