oozieoozie-coordinatoroozie-workflow

Oozie property file value not reading from spark


I have a property file in oozie and getting value from shell script like below:

filter_cond = record = 'n' and name = 'abc' and  age = '14'

in Shell script

 val cond = ${getproperty filter_cond} 

It's not reading this entire value, It's read till filter_cond=record

Please help me.


Solution

  • Finally i removed symbol(=) and used like command because symbol(=) is reserved key work for delimiter.

    Below one works fine.

    filter_cond="record like 'n' and name like 'abc' and age like '14'"