sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Dhuvad <tora...@gmail.com>
Subject Re: Sqoop import using Parquet format, java.lang.NoClassDefFoundError
Date Thu, 28 Jan 2016 09:06:45 GMT
Hi Jarek,

I realized I'm using 1.4.5 version of Sqoop; upgrading it to 1.4.6, my
Sqoop command worked fine! Thank you for prompting the right question :)

Thanks!
Rahul.

On Wed, Jan 27, 2016 at 8:08 PM, Jarek Jarcec Cecho <jarcec@apache.org>
wrote:

> Few questions:
>
> * What version of Sqoop are you using?
> * Can you share with us the whole log generated with —verbose?
>
> Jarcec
>
> > On Jan 26, 2016, at 10:18 PM, Rahul Dhuvad <torahul@gmail.com> wrote:
> >
> > Hi,
> >
> > I was trying to do a sqoop import from an oracle database as a parquet
> file and I am facing below error
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> org/kitesdk/data/mapreduce/DatasetKeyOutputFormat
> >
> > I tried placing kite-data-mapreduce-1.0.0-cdh5.4.4.jar in sqoop/lib
> folder.
> > I tried setting up HADOOP_CLASSPATH to point to this jar
> > I tried using --libjars option and point to this jar.
> >
> > But still it complains the same error. Can some one help me in this
> regard.
> >
> > Command used:-
> >
> > sqoop import --connect jdbc:oracle:thin:@<oracle server>:1521:qa11gr2
> --username user1 --password user1pwd --table a3 --columns "id,data"
> --as-parquetfile -m 1
> >
> > Thanks,
> > Rahul.
>
>


-- 
Regards,
Rahul.

Mime
View raw message