定义好委托: public delegate int FirDelegate(int a); public delegate int SecDelegate(int a,int b); public delegate string ThrDelegate(int a); lambda表达式其实是个匿名函数,第一个lambda表达式: FirDelegate fir = p => p + ;//实例化一个委托 fir();//调用,结果为110 第二个lambda表达式: SecDelegate…
1.Prepare Hadoop Streaming Hadoop streaming allows you to create and run Map/Reduce jobs with any executable or script as the mapper and/or the reducer. 1.1.Download Hadoop Streaming fit for your hadoop version For hadoop2.4.0, you can visit the foll…