<param>byt_wrt=${fs:dirSize('/user/peppy/testing/p_dt=pDate')}</param> . pDate 
without ${}.
     From: Vincent Peplinski <[email protected]>
 To: [email protected] 
 Sent: Wednesday, June 24, 2015 12:41 PM
 Subject: HDFS EL Function - fs:dirSize(String path)
   
Hello,

I'm trying to use the fs:dirSize() HDFS EL function in one of my workflows
action nodes but I'm having some difficulty and I hope someone can help.

When I call the function using a literal string such as:

<param>byt_wrt=${fs:dirSize('/user/peppy/testing/p_dt=20150624')}</param>


The function returns the size of the file as expected. However; when I try
the following:

<param>byt_wrt=${fs:dirSize('/user/peppy/testing/p_dt=${pDate}')}</param>

The workflow fails with an EL_ERROR - Illegal character in path index 26
/user/peppy/testing/p_dt=${pDate}.


How can I pass a variable to the function that will be properly expanded?

Thank you in advance.

V.


   

Reply via email to