You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by fb...@apache.org on 2015/04/14 20:59:50 UTC

ambari git commit: AMBARI=10459 [WinTP2] Tez validation fails

Repository: ambari
Updated Branches:
  refs/heads/trunk 7b468d04a -> 8bf8687c6


AMBARI=10459 [WinTP2] Tez validation fails

Fixed stack validation parameters generation


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8bf8687c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8bf8687c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8bf8687c

Branch: refs/heads/trunk
Commit: 8bf8687c66690eadb9391707a44c03c3c8a7e329
Parents: 7b468d0
Author: Florian Barca <fb...@hortonworks.com>
Authored: Tue Apr 14 11:59:42 2015 -0700
Committer: Florian Barca <fb...@hortonworks.com>
Committed: Tue Apr 14 11:59:42 2015 -0700

----------------------------------------------------------------------
 .../main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8bf8687c/ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
index 5051669..050d43c 100644
--- a/ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/stack_advisor.py
@@ -20,7 +20,8 @@ limitations under the License.
 class HDPWIN22StackAdvisor(HDPWIN21StackAdvisor):
 
   def recommendHiveConfigurations(self, configurations, clusterData, services, hosts):
+    putHiveProperty = self.putProperty(configurations, "hive-site")
+
     super(HDPWIN22StackAdvisor, self).recommendHiveConfigurations(configurations, clusterData, services, hosts)
 
-    putHiveProperty = self.putProperty(configurations, "hive-site")
     putHiveProperty('datanucleus.autoCreateSchema', 'false')