Review Board 1.7.22

OOZIE-674 resolveInstanceRange doesn't work for EL extensions

Review Request #3752 - Created Feb. 3, 2012 and discarded

I have an EL extension today(0,0) which maps to start day of nominal time. This is used to specify startInstance, endInstance and instance in dataIn and dataOut of coordinator.

In CoordCommandUtils.resolveInstanceRange(), getInstanceNumber has to return the instance number with respect to current. So, for coord-action-create-inst context, I have mapped today to current and hence getInstanceNumber returns the correct number. But later in resolveInstanceRange(), getFuncType is called with startInstance value which is today in this case and it maps to UNEXPECTED and throws up. getFuncType should be passed the evaluation of coord-action-create-inst context
UT - TestCoordActionMaterializeCommand
Tested with coord:current instance range and EL extension
Review request changed
Updated (Jan. 23, 2013, 11:19 a.m.)
  • changed from pending to discarded