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

Andras Salamon commented on OOZIE-3524:
---------------------------------------

Thanks [~mgogineni], just a few suggestions:
 * Please use a longer variable name instead of p. (for instance: path)
 * Please add an assert message to your {{assertEquals}} calls.
 

> fs:fileSize() does not work correctly for files with extra slash in path
> ------------------------------------------------------------------------
>
>                 Key: OOZIE-3524
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3524
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>            Assignee: Manasa Gogineni
>            Priority: Major
>         Attachments: OOZIE-3524-1.patch, OOZIE-3524-2.patch
>
>
> ${fs:fileSize('hdfs://mynamendoe:8020//user/rohini/myfile.gz') gt 0} will 
> return false even though the file size is > 0 due to //user not being 
> normalized.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to