java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.reloadExistingConfigurations()V

前端 未结 3 931
失恋的感觉
失恋的感觉 2021-01-19 19:38

It looks like I am again stuck on the running a packaged spark app jar using spark submit. Following is my pom file:



        
3条回答
  •  天涯浪人
    2021-01-19 20:08

    In my case, I was running a local Spark installation on a Cloudera edge node and was hitting this conflict (even though I made sure to download Spark with the correct hadoop binaries precompiled). I just went into my Spark home and moved the hadoop-common jar so it wouldn't be loaded:

    mv ~/spark-2.4.4-bin-hadoop2.6/jars/hadoop-common-2.6.5.jar ~/spark-2.4.4-bin-hadoop2.6/jars/hadoop-common-2.6.5.jar.XXXXXX
    

    After that, it ran... in local mode anyway.

提交回复
热议问题