1. "Exception in thread "main" ExitCodeException exitCode=-1073741515:"" A fenti hibaüzenet esetén, a Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package könyvtár telepítése szükséges: https://www.microsoft.com/en-US/download/details.aspx?id=26999 ---------------------------------------------------------------------------------------------- 2. Az ELTE-s gépek esetén fontos, hogy a Driver osztály main() függvényének az elején szerepeljenek a következő sorok: String uname = System.getProperty("user.name").replaceAll(" ", "_"); System.setProperty("hadoop.tmp.dir", "c:\\BigData\\tmp-"+uname+"\\hadoop"); System.setProperty("hadoop.home.dir", "c:\\BigData\\hadoop-3.3.6"); Configuration conf = new Configuration(); conf.set(JTConfig.JT_STAGING_AREA_ROOT, "c:\\BigData\\tmp-"+uname+"\\staging"); conf.set(JTConfig.JT_SYSTEM_DIR, "c:\\BigData\\tmp-"+uname+"\\system"); ---------------------------------------------------------------------------------------------- 3. Ha nem szeretnéd a kimeneti mappát minden futtatás előtt letörölni, az alábbi kódrészlet automatikusan elvégzi. import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; Path outPath = new Path("out"); FileOutputFormat.setOutputPath(job, outPath); FileSystem fs; fs = FileSystem.get(conf); if(fs.exists(outPath)) { fs.delete(outPath, true); } ---------------------------------------------------------------------------------------------- 4. Map output definiálás type mismatch esetén (természetesen a megfelelő típusokkal) job.setMapOutputKeyClass(Text.class); job.setMapOutputValueClass(IntWritable.class);