hadoop-train-1.0-jar-with-dependencies.jar 运行报错
来源:6-7 使用MapReduce完成需求统计
慕妹7171424
2018-01-16
➜ data hadoop jar /Users/kejinliang/big-data/data/hadoop-train-1.0-jar-with-dependencies.jar com.imooc.hadoop.project.LogApp /100_access.log /browserout
Exception in thread "main" java.io.IOException: Mkdirs failed to create /var/folders/jx/gsfl1dvs3656n1wftbm9zbbm0000gn/T/hadoop-unjar8601366365127529068/META-INF/license
at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:128)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:104)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:81)
at org.apache.hadoop.util.RunJar.run(RunJar.java:209)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
➜ data
2回答
-
Michael_PK
2018-01-16
还有配置hadoop home没,否则路径要写绝对地址试试
00 -
Michael_PK
2018-01-16
你使用我上课的打包方式吗?感觉不像啊
022018-01-16
相似问题