HIVE-8834: revert cyclic reference
HIVE-8834: avoid transforming SparkJobInfo and SparkStageInfo
HIVE-8834: more refactor and implementations