You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Yatin Chaubal (JIRA)" <ji...@apache.org> on 2017/02/09 06:58:41 UTC

[jira] [Created] (APEXCORE-644) get-app-package-operators with parent option does not work

Yatin Chaubal created APEXCORE-644:
--------------------------------------

             Summary: 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
    Affects Versions: 3.5.0
            Reporter: Yatin Chaubal


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": [
        {




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