spark提交任务报错: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
对jar包执行:zip -d ztoTest1.jar META-INF/*.RSA META-INF/*.DSA META-INF/*.SF
然后提交:
./spark-submit --master yarn-client --class hbasetest.sparkHbase --num-executors 6 --executor-cores 2 --driver-memory 1g --executor-memory 4g --conf spark.default.parallelism=100 /home/xxx0108/ftttttttt/testJar/ztoTest1.jar
执行成功!!!!