How to fix Hadoop WARNING: An illegal reflective access operation has occurred error on Ubuntu

后端 未结 3 1134
滥情空心
滥情空心 2020-12-31 08:49

I have installed Java openjdk version \"10.0.2\"and Hadoop 2.9.0 successfully. All processes are running well

hadoopusr@amalendu:         


        
相关标签:
3条回答
  • 2020-12-31 09:38

    There is nothing you can do about these warnings, this is related to jigsaw project and strong(er) encapsulation.

    Basically there is some class called sun.security.krb5.Config that is part of some "module" called java.security.jgss. This module "defines" what it exports (what others can use out of it) and to whom. This also means in plain english that this is not for the public usage - don't touch it; well hadoop did, it's part of their effort to fix this. You can report this or try to upgrade hadoop, may be this is already fixed.

    0 讨论(0)
  • 2020-12-31 09:38

    This has been fixed in Hadoop 3.3 and 3.2.2 via. https://issues.apache.org/jira/browse/HADOOP-10848

    0 讨论(0)
  • 2020-12-31 09:40

    this problem is due to latest java upgrades.please configure it with java 8.its working swiftly.

    0 讨论(0)
提交回复
热议问题