Browse Source

AMBARI-13298. Hive Metastore start error after stack upgrade (dlysnichenko)

Lisnichenko Dmitro 9 years ago
parent
commit
e04c4d0f6c

+ 6 - 0
ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.1_to_2.3.json

@@ -408,6 +408,12 @@
           "from-catalog": "mapred-site",
           "to-catalog": "mapred-site",
           "default": "0.1"
+        },
+        "hive.heapsize": {
+          "map-to": "hive.heapsize",
+          "from-catalog": "hive-site",
+          "to-catalog": "hive-env",
+          "required-services": ["HIVE"]
         }
       }
     }

+ 6 - 0
ambari-server/src/main/resources/upgrade/catalog/UpgradeCatalog_2.2_to_2.3.json

@@ -1347,6 +1347,12 @@
         }
       },
       "property-mapping": {
+        "hive.heapsize": {
+          "map-to": "hive.heapsize",
+          "from-catalog": "hive-site",
+          "to-catalog": "hive-env",
+          "required-services": ["HIVE"]
+        },
         "templeton.jar": {
           "from-catalog": "webhcat-site",
           "to-catalog": "webhcat-site",