apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad Rozov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APEXCORE-644) get-app-package-operators with parent option does not work
Date Thu, 09 Feb 2017 15:01:42 GMT

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

Vlad Rozov updated APEXCORE-644:
--------------------------------
    Affects Version/s:     (was: 3.5.0)
          Description: 
Issue: get-app-package-operators with -parent option doesnot work
 
Steps:
1) Start dtcli/apex
2) Run get-app-package-operators -parent com.datatorrent.demos.pi /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
Expected out output: valid JSON 
Actual output: 
{noformat}
com.datatorrent.stram.cli.ApexCli$CliException: /home/hduser/tf2jan/com.datatorrent.demos.pi
does not match any file
    at com.datatorrent.stram.cli.ApexCli.expandFileName(ApexCli.java:918)
    at com.datatorrent.stram.cli.ApexCli.access$000(ApexCli.java:152)
    at com.datatorrent.stram.cli.ApexCli$GetAppPackageOperatorsCommand.execute(ApexCli.java:3827)
    at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1492)
{noformat}
Reference:
Without -parent option this work fine

apex> get-app-package-operators  /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
{
  "operatorClasses": [
    {
      "name": "com.datatorrent.common.util.DefaultDelayOperator",
      "properties": [],
      "portTypeInfo": [
        {


  was:
Issue: get-app-package-operators with -parent option doesnot work
 
Steps:
1) Start dtcli/apex
2) Run get-app-package-operators -parent com.datatorrent.demos.pi /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
Expected out output: valid JSON 
Actual output: com.datatorrent.stram.cli.ApexCli$CliException: /home/hduser/tf2jan/com.datatorrent.demos.pi
does not match any file
    at com.datatorrent.stram.cli.ApexCli.expandFileName(ApexCli.java:918)
    at com.datatorrent.stram.cli.ApexCli.access$000(ApexCli.java:152)
    at com.datatorrent.stram.cli.ApexCli$GetAppPackageOperatorsCommand.execute(ApexCli.java:3827)
    at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1492)

Reference:
Without -parent option this work fine

apex> get-app-package-operators  /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
{
  "operatorClasses": [
    {
      "name": "com.datatorrent.common.util.DefaultDelayOperator",
      "properties": [],
      "portTypeInfo": [
        {



> get-app-package-operators with parent option does not work
> ----------------------------------------------------------
>
>                 Key: APEXCORE-644
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-644
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Yatin Chaubal
>            Assignee: Sergey Golovko
>            Priority: Minor
>
> Issue: get-app-package-operators with -parent option doesnot work
>  
> Steps:
> 1) Start dtcli/apex
> 2) Run get-app-package-operators -parent com.datatorrent.demos.pi /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
> Expected out output: valid JSON 
> Actual output: 
> {noformat}
> com.datatorrent.stram.cli.ApexCli$CliException: /home/hduser/tf2jan/com.datatorrent.demos.pi
does not match any file
>     at com.datatorrent.stram.cli.ApexCli.expandFileName(ApexCli.java:918)
>     at com.datatorrent.stram.cli.ApexCli.access$000(ApexCli.java:152)
>     at com.datatorrent.stram.cli.ApexCli$GetAppPackageOperatorsCommand.execute(ApexCli.java:3827)
>     at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1492)
> {noformat}
> Reference:
> Without -parent option this work fine
> apex> get-app-package-operators  /home/hduser/tf2jan/apa/pi-demo-3.4.0.apa
> {
>   "operatorClasses": [
>     {
>       "name": "com.datatorrent.common.util.DefaultDelayOperator",
>       "properties": [],
>       "portTypeInfo": [
>         {



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

Mime
View raw message