You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Raminderjeet Singh (JIRA)" <ji...@apache.org> on 2012/05/31 21:27:22 UTC

[jira] [Created] (AIRAVATA-444) For each is not working if the input is of URIArray

Raminderjeet Singh created AIRAVATA-444:
-------------------------------------------

             Summary: For each is not working if the input is of URIArray
                 Key: AIRAVATA-444
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
             Project: Airavata
          Issue Type: Bug
          Components: GFac, Workflow Interpreter
    Affects Versions: 0.4-INCUBATING
            Reporter: Raminderjeet Singh


After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 

  <type:Split_files xsi:type="type:URIArrayType"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:type="http://schemas.airavata.apache.org/gfac/type">
          <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
          <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
          <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
        </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (AIRAVATA-444) For each is not working if the input is of URIArray

Posted by "Suresh Marru (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AIRAVATA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Marru closed AIRAVATA-444.
---------------------------------


Closing the fixed issues.
                
> For each is not working if the input is of URIArray
> ---------------------------------------------------
>
>                 Key: AIRAVATA-444
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Workflow Interpreter
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>         Attachments: AIRAVATA-444.patch
>
>
> After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 
>   <type:Split_files xsi:type="type:URIArrayType"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:type="http://schemas.airavata.apache.org/gfac/type">
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
>         </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AIRAVATA-444) For each is not working if the input is of URIArray

Posted by "Raminderjeet Singh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AIRAVATA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raminderjeet Singh resolved AIRAVATA-444.
-----------------------------------------

    Resolution: Fixed

Fixed for Gram provider. Need to support foreach for local and other providers also
                
> For each is not working if the input is of URIArray
> ---------------------------------------------------
>
>                 Key: AIRAVATA-444
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Workflow Interpreter
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>         Attachments: AIRAVATA-444.patch
>
>
> After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 
>   <type:Split_files xsi:type="type:URIArrayType"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:type="http://schemas.airavata.apache.org/gfac/type">
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
>         </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AIRAVATA-444) For each is not working if the input is of URIArray

Posted by "Raminderjeet Singh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AIRAVATA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raminderjeet Singh updated AIRAVATA-444:
----------------------------------------

    Attachment: AIRAVATA-444.patch

After making attached changes to workflow interpreter, i am able to fix for-each problem. OGCE version the invoker in case of For-each is WorkflowInvokerWrapperForGFacInvoker but in airavata its only GenericInvoker. Any reason? if so we need to clean up the interprater code. I dont have deep knowledge about changes made to airavata code so attaching a patch of my changed before committing. 
                
> For each is not working if the input is of URIArray
> ---------------------------------------------------
>
>                 Key: AIRAVATA-444
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Workflow Interpreter
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>         Attachments: AIRAVATA-444.patch
>
>
> After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 
>   <type:Split_files xsi:type="type:URIArrayType"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:type="http://schemas.airavata.apache.org/gfac/type">
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
>         </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (AIRAVATA-444) For each is not working if the input is of URIArray

Posted by "Raminderjeet Singh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AIRAVATA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raminderjeet Singh reassigned AIRAVATA-444:
-------------------------------------------

    Assignee: Raminderjeet Singh
    
> For each is not working if the input is of URIArray
> ---------------------------------------------------
>
>                 Key: AIRAVATA-444
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Workflow Interpreter
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>
> After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 
>   <type:Split_files xsi:type="type:URIArrayType"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:type="http://schemas.airavata.apache.org/gfac/type">
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
>         </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AIRAVATA-444) For each is not working if the input is of URIArray

Posted by "Raminderjeet Singh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AIRAVATA-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290327#comment-13290327 ] 

Raminderjeet Singh commented on AIRAVATA-444:
---------------------------------------------

We are calling Gfac services using GenericInvoker. Ideally WorkflowInvokerWrapperForGFacInvoker is for GFAC service. If i apply attached patch, GFAC service will work fine but it may effect some of Axis2 service calls. I will hold my changes until we make a decision that how to distinguish between GFAC services and Axis2 services. 
                
> For each is not working if the input is of URIArray
> ---------------------------------------------------
>
>                 Key: AIRAVATA-444
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-444
>             Project: Airavata
>          Issue Type: Bug
>          Components: GFac, Workflow Interpreter
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Raminderjeet Singh
>            Assignee: Raminderjeet Singh
>         Attachments: AIRAVATA-444.patch
>
>
> After some fixes in GFAC to handle URIArray gfac is creating following output of previous node but For each is not called for array size. Service in for-each is called one time and that also fails. 
>   <type:Split_files xsi:type="type:URIArrayType"
>           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>           xmlns:type="http://schemas.airavata.apache.org/gfac/type">
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file00</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file01</value>
>           <value>///scratch/01437/ogce/jobruns//Exposure_Split_Thu_May_31_15_16_58_EDT_2012_194114c8-3818-41f6-93b8-203696bf0345/outputData/odi-split-file02</value>
>         </type:Split_files>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira