Revert "AMBARI-8174. Reverting all patches. (swagle)"

This reverts commit b7f10831d48de70052bc308596237775c12494a4.
Revert "AMBARI-8174. Reverting all patches. (swagle)"

This reverts commit c75578a41e80def8841dbebc566a80474f89a8fb.
Revert "AMBARI-8174. Reverting all patches. (swagle)"

This reverts commit a7e1a379330af4370f219e476f04a280d2ac9643.
Revert "AMBARI-8174. Reverting all patches. (swagle)"

This reverts commit b5ed44138a9781acc6eea877eb71a670f4adaa90.