执行hadoop命令警告 Illegal reflective access by org.apache.hadoop.security.authentication.u...

2018-01-05 10:25:30来源:https://www.juwends.com/usages/hadoop_illegal_reflective_acc作者:Juwend's人点击

分享

具体警告如下:


WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/home/hadoop/hadoop-2.9.0/share/hadoop/common/lib/hadoop-auth-2.9.0.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

不多说了,原因可能是 JDK 的原因,我用的 JDK9 ,换成 JDK8 问题解决…


fuck JDK9…



本文《执行hadoop命令警告 Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil to method sun.security.krb5.Config.getInstance() 可能的解决办法》
来自www.juwends.com ,欢迎转载或CV操作,但请注明出处,谢谢!


最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台