hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: What is the fix for this error ?
Date Sat, 25 Jan 2014 02:57:08 GMT
Note that its not an compile error, but a warning.

You need to use the getInstance(…) method instead:

On Fri, Jan 24, 2014 at 10:11 PM, Kokkula, Sada
<Sadanandam.Kokkula@bnymellon.com> wrote:
> -bash-4.1$ /usr/jdk64/jdk1.6.0_31/bin/javac -Xlint -classpath
> "/usr/lib/hadoop-mapreduce/hadoop-mapreduce-client-core-"
> WordCount.java WordCount.java:62: warning: [deprecation]
> Job(org.apache.hadoop.conf.Configuration,java.lang.String) in
> org.apache.hadoop.mapreduce.Job has been deprecated
>  Job job = new Job(conf, "WordCount");
> Thanks,
> The information contained in this e-mail, and any attachment, is
> confidential and is intended solely for the use of the intended recipient.
> Access, copying or re-use of the e-mail or any attachment, or any
> information contained therein, by any other person is not authorized. If you
> are not the intended recipient please return the e-mail to the sender and
> delete it from your computer. Although we attempt to sweep e-mail and
> attachments for viruses, we do not guarantee that either are virus-free and
> accept no liability for any damage sustained as a result of viruses.
> Please refer to http://disclaimer.bnymellon.com/eu.htm for certain
> disclosures relating to European legal entities.

Harsh J

View raw message