Guava version while using spark-shell

后端 未结 3 1541
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-11 18:51

I\'m trying to use the spark-cassandra-connector via spark-shell on dataproc, however I am unable to connect to my cluster. It appears that there is a version mismatch since

3条回答
  •  臣服心动
    2021-01-11 19:48

    In case you are using gradle to create a fat jar, you can use relocate in your shadowJar:

    shadowJar{
      zip64 true
      mergeServiceFiles()
    
      relocate 'com.google', 'hidden.google'
    }
    

提交回复
热议问题