[ 
https://issues.apache.org/jira/browse/APEXCORE-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Weise updated APEXCORE-629:
----------------------------------
    Priority: Minor  (was: Major)

> ApexCLI launch command does not support application index (vs. name) in batch 
> mode
> ----------------------------------------------------------------------------------
>
>                 Key: APEXCORE-629
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-629
>             Project: Apache Apex Core
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>            Reporter: Thomas Weise
>            Priority: Minor
>              Labels: newbie
>
> The following command:
> {code}
> apex -e "launch ./pi-demo-3.6.0.apa PiDemo "
> {code}
> Produces following error
> {code}
>   1. PiDemo
>   2. PiDemoAppData
> com.datatorrent.stram.cli.ApexCli$CliException: More than one application in 
> Application Package match 'PiDemo'
>       at 
> com.datatorrent.stram.cli.ApexCli.getLaunchAppPackageArgs(ApexCli.java:3546)
>       at com.datatorrent.stram.cli.ApexCli.launchAppPackage(ApexCli.java:3495)
>       at com.datatorrent.stram.cli.ApexCli.access$7400(ApexCli.java:152)
>       at 
> com.datatorrent.stram.cli.ApexCli$LaunchCommand.execute(ApexCli.java:1933)
>       at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1492)
> {code}
> In interactive mode the user gets to specify the index, which would be good 
> to support with -e also. It would also be good to have a switch for exact 
> match vs. prefix match.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to