I've been creating different applications and running them off of DTCLI.
Generally after launching there are no issues. However whenever attempting to
use create-operator or create-stream, many other of the features, including
show-logical-plan, start failing with the error:
com.datatorrent.stram.cli.DTCli$CliException: Failed to request web service for
appid (application_name)
at com.datatorrent.stram.cli.DTCli.getResource(DTCli.java:1670)
at com.datatorrent.stram.cli.DTCli.getResource(DTCli.java:1642)
at com.datatorrent.stram.cli.DTCli.access$6600(DTCli.java:106)
at
com.datatorrent.stram.cli.DTCli$ConnectCommand.execute(DTCli.java:1794)
at com.datatorrent.stram.cli.DTCli$3.run(DTCli.java:1449)
Caused by: App id (application_name) is not found
at
com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:277)
at
com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:305)
at com.datatorrent.stram.cli.DTCli.getResource(DTCli.java:1664)
... 4 more
Anytime a new application is created after the initial time the error occurs,
the error persists. The application runs fine in the background, but the dtcli
commands continue to throw that error.