Description
Currently, when submitting Hive jobs through WebHCat and Hive is configured to use Tez, the "percentComplete" field returned by WebHCat is empty.
LaunchMapper in WebHCat parses stderr of the process that it launches to extract map = 100%, reduce = 100% for Map/Reduce case. With Tez the content of stderr looks like
Map 1: -/- Reducer 2: 0/1 Map 1: -/- Reducer 2: 0(+1)/1 Map 1: -/- Reducer 2: 1/1
WebHCat should handle that as well.
WebHCat will follow HIVE-8495 and report (completed tasks)/(total tasks) as a percentage.