Merge pull request #13706 from cdapio/feature/CDAP-18557/wyzhang-runtime-runrecord
[CDAP-18557] Trim down runrecord when runtime service caches it in lo…
[CDAP-18557] Trim down runrecord when runtime service caches it in local storage.
Why:
RunRecord could be quite large due to containing large system args (i.e.
containing plugin documentations when pipeline runs are triggered based on events)
This leads to large-sized value stored in local levelDB by runtime service.
The large-sized value could lead to disk overhead and out of memory problems
for runtime service. As runtime record is used only for tracking inflight
program runs to perform validations, there is no need to store entire
runrecord.