Cosmos hadoop 0.9.0

apply 6 patches. bugfix for HIVE-1384/HIVE-3008/HIVE-3225/HIVE-3271/HIVE-3709/HIVE-3807.