You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Sandesh (JIRA)" <ji...@apache.org> on 2017/02/01 00:15:51 UTC

[jira] [Commented] (APEXCORE-629) ApexCLI launch command does not support application index (vs. name) in batch mode

    [ https://issues.apache.org/jira/browse/APEXCORE-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847765#comment-15847765 ] 

Sandesh commented on APEXCORE-629:
----------------------------------

Apex CLI already supports -exactMatch, which works in batch mode as well.

> 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
>              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)