askhatri opened a new pull request, #409: URL: https://github.com/apache/incubator-livy/pull/409
## What changes were proposed in this pull request? The following issue occurs: ``` ERROR org.apache.livy.utils.SparkYarnApp: Error whiling refreshing YARN state java.lang.IllegalStateException: No YARN application is found with tag livy-batch-2-per2hlwa in 120 seconds. This may be because 1) spark-submit fail to submit application to YARN; or 2) YARN cluster doesn't have enough resources to start the application in time. Please check Livy log and YARN log to know the details. ``` if the below configuration parameter is set in YARN: ``` yarn.resourcemanager.application-tag-based-placement.force-lowercase=false ``` We can fix this in InteractiveSession / BatchSession by updating app tag generation logic to generate appTag always in lowercase characters. JIRA: https://issues.apache.org/jira/browse/LIVY-978 ## How was this patch tested? Verified manually by creating interactive / batch sessions via REST API call in a local Yarn cluster. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
