You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Wing Yew Poon (JIRA)" <ji...@apache.org> on 2012/07/18 00:36:34 UTC

[jira] [Created] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Wing Yew Poon created OOZIE-916:
-----------------------------------

             Summary: aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
                 Key: OOZIE-916
                 URL: https://issues.apache.org/jira/browse/OOZIE-916
             Project: Oozie
          Issue Type: Bug
          Components: examples
    Affects Versions: 3.2.0, 3.1.3
            Reporter: Wing Yew Poon


In the aggregator example, in the coordinator.xml, there are several paths like

<uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>

<uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>

<app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>

In these paths, "/examples/" should be "/${examplesRoot}/".

--
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] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Posted by "Mohammad Kamrul Islam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416675#comment-13416675 ] 

Mohammad Kamrul Islam commented on OOZIE-916:
---------------------------------------------

Wing,
Good suggestion!
Do you want to send the patch?
Otherwise someone else can pick it up.


                
> aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-916
>                 URL: https://issues.apache.org/jira/browse/OOZIE-916
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.1.3, 3.2.0
>            Reporter: Wing Yew Poon
>
> In the aggregator example, in the coordinator.xml, there are several paths like
> <uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
> <uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>
> <app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>
> In these paths, "/examples/" should be "/${examplesRoot}/".

--
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] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Posted by "Wing Yew Poon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OOZIE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wing Yew Poon updated OOZIE-916:
--------------------------------

    Attachment: OOZIE-916.txt

Patch attached.
                
> aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-916
>                 URL: https://issues.apache.org/jira/browse/OOZIE-916
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.1.3, 3.2.0
>            Reporter: Wing Yew Poon
>         Attachments: OOZIE-916.txt
>
>
> In the aggregator example, in the coordinator.xml, there are several paths like
> <uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
> <uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>
> <app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>
> In these paths, "/examples/" should be "/${examplesRoot}/".

--
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] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Posted by "Mohammad Kamrul Islam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416790#comment-13416790 ] 

Mohammad Kamrul Islam commented on OOZIE-916:
---------------------------------------------

+1
                
> aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-916
>                 URL: https://issues.apache.org/jira/browse/OOZIE-916
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.1.3, 3.2.0
>            Reporter: Wing Yew Poon
>         Attachments: OOZIE-916.txt
>
>
> In the aggregator example, in the coordinator.xml, there are several paths like
> <uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
> <uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>
> <app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>
> In these paths, "/examples/" should be "/${examplesRoot}/".

--
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] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Posted by "Wing Yew Poon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416705#comment-13416705 ] 

Wing Yew Poon commented on OOZIE-916:
-------------------------------------

I'll attach a patch shortly.
                
> aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-916
>                 URL: https://issues.apache.org/jira/browse/OOZIE-916
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.1.3, 3.2.0
>            Reporter: Wing Yew Poon
>
> In the aggregator example, in the coordinator.xml, there are several paths like
> <uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
> <uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>
> <app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>
> In these paths, "/examples/" should be "/${examplesRoot}/".

--
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] (OOZIE-916) aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path

Posted by "Virag Kothari (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416825#comment-13416825 ] 

Virag Kothari commented on OOZIE-916:
-------------------------------------

Committed..thanks Wing
                
> aggregator example uses hardcoded 'examples' value instead of parameterized (examplesRoot) value in path
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-916
>                 URL: https://issues.apache.org/jira/browse/OOZIE-916
>             Project: Oozie
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 3.1.3, 3.2.0
>            Reporter: Wing Yew Poon
>         Attachments: OOZIE-916.txt
>
>
> In the aggregator example, in the coordinator.xml, there are several paths like
> <uri-template>${nameNode}/user/${coord:user()}/examples/input-data/rawLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}</uri-template>
> <uri-template>${nameNode}/user/${coord:user()}/examples/output-data/aggregator/aggregatedLogs/${YEAR}/${MONTH}/${DAY}/${HOUR}</uri-template>
> <app-path>${nameNode}/user/${coord:user()}/examples/apps/aggregator</app-path>
> In these paths, "/examples/" should be "/${examplesRoot}/".

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