"Application 'example' already exist" Is Reported When a Sample Application Is Run in Windows
Symptom
When a sample application is run in Windows, an error message similar to the following is displayed in the run log:
Exception in thread "main" com.huawei.streaming.cql.exception.ExecutorException: ERROR CQL-03001: Application 'example' already exist. at com.huawei.streaming.cql.exception.ExecutorException.wrapStreamingException(ExecutorException.java:87) at com.huawei.streaming.cql.executor.PhysicalPlanExecutor.execute(PhysicalPlanExecutor.java:142) at com.huawei.streaming.cql.tasks.SubmitTask.submitApplication(SubmitTask.java:195) at com.huawei.streaming.cql.tasks.SubmitTask.execute(SubmitTask.java:104) at com.huawei.streaming.cql.Driver.executeTask(Driver.java:217) at com.huawei.streaming.cql.Driver.run(Driver.java:144) at com.huawei.streaming.example.cql.CQLExample.executeCQL(CQLExample.java:55) at com.huawei.streaming.example.cql.CQLExample.execute(CQLExample.java:41) at com.huawei.streaming.example.cql.CQLExample.main(CQLExample.java:21)
Possible Causes
The example task has been submitted. If you run the sample application again, the task will be repeatedly submitted. To prevent repeated task submission, this error is reported.
Procedure
- Log in to FusionInsight Manager.
- Log in to FusionInsight Manager, choose Cluster > Name of the desired cluster > Service > Storm, and click the link of Storm UI.
- On Storm UI, click the example application.
- Click Kill under Topology actions, click OK as prompted, and wait until the application stops running.
- After the example task is complete, wait for about 5 minutes and run the sample application in Windows again.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.