Clearing Existing Yarn Tasks When Submitting a New Yarn Task
Symptom
When a Yarn task is submitted during a Hadoop-based test, there are still running Yarn tasks on the Yarn web page.
Key Process and Cause Analysis
The ongoing Yarn tasks do not exit.
Conclusion and Solution
- Stop the test and check the Yarn tasks.
1 2
yarn app -list yarn app -kill applicationID
applicationID indicates the ID of an existing Yarn task.
- Start the test again.
Parent topic: Cluster Testing