Spark - Call Spark jar from java with arguments [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I would like to call spark jar from java (to run spark process on yarn), and try to use this link code. It looks fit in my case, but I need to pass hashmap and some java values to spakr jar. Is it able to pass java object to spark jar? And is java side able to know how mush spark