Hi all,
I think I'm using Hadoop 1.x: Das-MacBook-Air:hadoop-mapreduce dma$ ls
src/contrib/mumak/
bin build.xml conf ivy ivy.xml
src
And even I clone from "https://github.com/apache/hadoop-mapreduce", I got the
following error:
compile-mapred-classes:
[javac] /Users/dma/hadoop-mapreduce/build.xml:351: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 212 source files to
/Users/dma/hadoop-mapreduce/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac]
/Users/dma/hadoop-mapreduce/src/java/org/apache/hadoop/mapreduce/lib/partition/InputSampler.java:311:
error: incompatible types: Object[] cannot be converted to K[]
[javac] K[] samples = sampler.getSample(inf, job);
[javac] ^
[javac] where K,V are type-variables:
[javac] K extends Object declared in method
<K,V>writePartitionFile(Job,Sampler<K,V>)
[javac] V extends Object declared in method
<K,V>writePartitionFile(Job,Sampler<K,V>)
[javac]
/Users/dma/hadoop-mapreduce/src/java/org/apache/hadoop/util/MemoryCalculatorPlugin.java:35:
error: name clash: getMemoryCalculatorPlugin(Class<? extends
org.apache.hadoop.util.MemoryCalculatorPlugin>,Configuration) in
org.apache.hadoop.util.MemoryCalculatorPlugin and
getMemoryCalculatorPlugin(Class<? extends
org.apache.hadoop.mapreduce.util.MemoryCalculatorPlugin>,Configuration) in
org.apache.hadoop.mapreduce.util.MemoryCalculatorPlugin have the same erasure,
yet neither hides the other
[javac] public static MemoryCalculatorPlugin getMemoryCalculatorPlugin(
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
[javac] 1 warning
So can any one help one those error? BTW, Mumak is the requirement for the
project, can not be changed.
Java version: 1.8Ant version: 1.9.4
If any comments, please let me know.
Regards,----Da Ma (马达), PMP® | Advisory Software EngineerPlatform Symphony &
MapReduce Development & Support, STG, IBM GCG+86-10-8245 4084 |
mad...@cn.ibm.com | http://www.cguru.net
> Subject: Re: Mumak tutorial and how to build Mumak from source code
> From: a...@altiscale.com
> Date: Fri, 17 Apr 2015 16:34:50 +0200
> To: mapreduce-dev@hadoop.apache.org
>
>
> On Apr 17, 2015, at 11:36 AM, Klaus Ma <klaus...@outlook.com> wrote:
> >
> > I'm a new player in Hadoop family; and there 's task about Mumak. So can
> > anyone share some tutorial document about Mumak?
>
> I don’t think it ships with Hadoop 2.x+ anymore. I think it was
> replaced with SLS in hadoop-tools.
>
> >
> > And when I build Mumak from source code, I got the following error; can
> > anyone help?
> >
> > NOTES: I got the code by git clone git://git.apache.org/hadoop-mapreduce.git
>
> That’s very old stuff and definitely not up-to-date. For
> non-committers, the easiest place to get the current source is via github:
> https://github.com/apache/hadoop which is a mirror of
> git://git.apache.org/hadoop.git which is a mirror of the actual Apache Hadoop
> repo at https://git-wip-us.apache.org/repos/asf/hadoop.git