hdfs之在 Windows 上使用 miniDFSCluster 时出错
lautakyan007
阅读:126
2024-02-24 18:49:41
评论:0
我正在尝试使用 miniDFSCluster 编写单元测试,但它抛出以下错误
java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
任何解决此问题的指针?
请您参考如下方法:
对于这样的错误,我使用三个步骤
In this case, *org.apache.hadoop.io.nativeio.NativeIO$Windows.access0*
I don't use the Windows version, but I believe it is in hadoop.dll -
you'll have to check this.
更新:另见此 Answer .
声明
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。



