Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

spark-yarn task doesn't start #2

Closed
jvalkeal opened this issue Feb 6, 2017 · 0 comments
Closed

spark-yarn task doesn't start #2

jvalkeal opened this issue Feb 6, 2017 · 0 comments
Assignees
Labels

Comments

@jvalkeal
Copy link

jvalkeal commented Feb 6, 2017

Fails fast on startup:

$ java -jar spark-yarn-task-1.1.0.RELEASE.jar
...
2017-02-06 15:56:02.682 ERROR 6683 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) ~[spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535) ~[spring-context-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE]

@jvalkeal jvalkeal added the bug label Feb 6, 2017
trisberg added a commit to trisberg/spark-yarn that referenced this issue Feb 7, 2017
- adding EnvironmentPostProcessor to turn off web environment which seems to be triggered in newer Boot version by a Spark dependency

- updating to Spark 1.6.3

- removing obsolete referende to white-list property class for common properties

Resolves spring-attic#2
@trisberg trisberg added in pr and removed in progress labels Feb 7, 2017
@jvalkeal jvalkeal removed the in pr label Feb 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants