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

后端 未结 3 1159
滥情空心
滥情空心 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.

提交回复
热议问题