hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Diwakar" <ddeepa...@gmail.com>
Subject Re: mysql in hadoop
Date Tue, 21 Oct 2008 10:24:07 GMT
Thanks for the solution u guys provided.

actually  i got one solution ..
If we add the path of any external jar into classpath of hadoop which in
$hadoop_home/hadoop-$version/conf/hadoop-env.sh , It will do.

thanks for solution

2008/10/20 Gerardo Velez <jgerardo.velez@gmail.com>

> Hi!
>
> Actually I got same problem and temporally I've solved it including jdbc
> dependecies inside main jar.
>
> Actually another solution I've found is you can place all jar dependencias
> inside hadoop/lib directory.
>
>
> Hope it helps.
>
>
> -- Gerardo
>
>
> On Mon, Oct 20, 2008 at 9:43 AM, Deepak Diwakar <ddeepak4u@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I am sure someone must have tried mysql connection using hadoop. But I am
> > getting problem.
> > Basically I am not getting how to inlcude classpath of jar of jdbc
> > connector
> > in the run command of hadoop or is there any other way so that we can
> > incorporate  jdbc connector jar into the main jar which we run using
> > $hadoop-home/bin/hadoop?
> >
> > plz help me .
> >
> > Thanks in advance,
> >
>



-- 
- Deepak Diwakar,
Associate Software Eng.,
Pubmatic, pune
Contact: +919960930405

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message