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没,否则路径要写绝对地址试试

0
0

Michael_PK

2018-01-16

你使用我上课的打包方式吗?感觉不像啊

0
2
Michael_PK
回复
慕妹7171424
我的意思是使用我的pom利用maven打包吗
2018-01-16
共2条回复

10小时入门大数据

【毕设】大数据零基础入门必备,轻松掌握Hadoop开发核心技能

1456 学习 · 656 问题

查看课程