0

i want to run a shell script that contains spark-submit and i kerberos installed. this is my file:

#!/bin/sh
kinit -kt zeri.keytab zeri@GT.COM
spark-submit --class structure_Ot  --master yarn://xx.xx.xx.50  /home/spark_jars/ot_spark_2.10-0.1-SNAPSHOT.jar /user/zeri/worskspace/ hdfs:///user/zeri/file/app_desc hdfs:///user/zeri/file/rat_desc ot_appsession ot_appsession_agg  hdfs:///user/zeri/filter

my spark-submit work fine but when i try to make a workflow with oozie using that file i got an error.

And i was trying to run spark jar with oozie and i got an error too here is my other question.

Zied Hermi
  • 229
  • 1
  • 2
  • 11

0 Answers0