Skip to content

Conversation

@tillrohrmann
Copy link
Contributor

The entry point can be used by the standalone mode to run a TaskManager. Moreover, the
YarnTaskExecutorRunner now reuses some of the start up logic of the TaskManagerRunner.

The entry point can be used by the standalone mode to run a TaskManager. Moreover, the
YarnTaskExecutorRunner now reuses some of the start up logic of the TaskManagerRunner.
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC we explicitly removed these dependencies so that other logging frameworks can be plugged in.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem I had was that I couldn't start the TaskManagerRunner#main from within Intellij, because the class org.apache.log4j.Level could not be found. If I'm not mistaken, then we filter out the log4j dependencies when building the dist packages.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a solution by manually setting the dependencies to scope compile within IntelliJ. For the others who run into the same problem you can do this under: Project structure --> Modules --> Dependency tab.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of completeness, here is also the corresponding IntelliJ issue: https://youtrack.jetbrains.com/issue/IDEA-107048

@tillrohrmann
Copy link
Contributor Author

Thanks for the review @zentol. I addressed your comment. Merging this PR.

@asfgit asfgit closed this in 40dce29 Jul 5, 2017
@zentol
Copy link
Contributor

zentol commented Jul 5, 2017

but....I didn't make a full review. I just scanned over it and found the oddity in the dependency...

@tillrohrmann tillrohrmann deleted the addTaskManagerEntrypoint branch September 14, 2017 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants