//模拟静态 var Animal = function(name){ this.name = name; Animal.instanceCounter ++; }; Animal.instanceCounter = 0; Animal.prototype.sayHellow = function(){ console.log('this.name'); } var animal = new Animal('name'); var animal2 = new Animal('name2'); c
0.preliminary 环境搭建 Setup development environment Download the latest version of MRUnit jar from Apache website: https://repository.apache.org/content/repositories/releases/org/apache/mrunit/mrunit/. For example if you are using the Hadoop version 1.0