- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Batch job not completing in Livy under Yarn mode
- Labels:
-
Apache Spark
-
Apache YARN
-
Gateway
Created on ‎10-01-2015 08:50 PM - edited ‎09-16-2022 02:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
< Date: Thu, 01 Oct 2015 20:54:58 GMT
< Content-Type: application/json; charset=UTF-8
< Content-Length: 15
< Server: Jetty(9.2.z-SNAPSHOT)
<
* Connection #0 to host headnode0 left intact
* Closing connection #0
Gateway timeout
Created ‎10-02-2015 10:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
