Mac运行hadoop程序出现Mkdirs failed to create问题
Mac系统运行hadoop程序出现如下问题
解决方案来源自:Mac下hadoop运行word count的坑
该问题仅出现在macOS系统下,其解释为
The issue is that a /tmp/hadoop-xxx/xxx/LICENSE file and a /tmp/hadoop-xxx/xxx/license directory are being created on a case-insensitive file system when unjarring the mahout jobs.
解决方案为在运行hadoop程序之前
zip -d YourJar.jar META-INF/LICENSE
随后
hadoop jar YourJar.jar /input /output
就会发现问题不再出现了