hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Compiling Hadoop programs in 2.x
Date Wed, 07 Jan 2015 23:14:48 GMT
Try:
java -cp $($HADOOP_HOME/bin/hadoop classpath):. abc.java

Cheers

On Wed, Jan 7, 2015 at 3:08 PM, Arko Provo Mukherjee <
arkoprovomukherjee@gmail.com> wrote:

> Hello Gurus,
>
> I have been using Hadoop 1.x and have been compiling my programs as
> follows:
> $ javac -cp <path>/hadoop-core-1.a.b.jar abc.java
>
> However, I am unable to find the core jar for Hadoop 2.4.1. I see lots of
> jars in <Hadoop>/share/hadoop but unsure which ones need to connect for
> regular MapReduce applications.
>
> Please help!
>
> Thanks & regards
> Arko
>
>

Mime
View raw message