Created on 10-01-2015 08:50 PM - edited 09-16-2022 02:42 AM
I noticed the following submiting batch job (jar) in Yarn mode. I am able to submit a jar and seem it is being issued to spark-submit correctly (the logged spark-submit command runs fine without livy context).
Created 10-02-2015 10:18 AM
Never mind, found the problem. When I setup the HADOOP_CONF_DIR, I didn't put a trailing /. As a result, Livy is not finding the right Yarn port to talk to and get the application status.
It would be nice if the code can handle both the case where trailing / is present or not present.
Thanks
Lin
Created 10-02-2015 10:18 AM
Never mind, found the problem. When I setup the HADOOP_CONF_DIR, I didn't put a trailing /. As a result, Livy is not finding the right Yarn port to talk to and get the application status.
It would be nice if the code can handle both the case where trailing / is present or not present.
Thanks
Lin
Created 10-02-2015 10:23 AM
I am happy to see you solved your issue. Feel free to mark it as a solution in case others have a similar problem in the future.