AMBARI-7464. Make stack_advisor code more human readable - additional changes 
(srimanth)


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

Branch: refs/heads/branch-alerts-dev
Commit: fcdade6b56becd000f78d85889191bb90c3c6cd0
Parents: 6c74b72
Author: Srimanth Gunturi <[email protected]>
Authored: Thu Sep 25 16:08:21 2014 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Thu Sep 25 16:08:21 2014 -0700

----------------------------------------------------------------------
 ambari-server/.pydevproject                                     | 5 +++++
 .../src/main/resources/stacks/HDP/2.1/services/stack_advisor.py | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fcdade6b/ambari-server/.pydevproject
----------------------------------------------------------------------
diff --git a/ambari-server/.pydevproject b/ambari-server/.pydevproject
new file mode 100644
index 0000000..40e9f40
--- /dev/null
+++ b/ambari-server/.pydevproject
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?><pydev_project>
+<pydev_property 
name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 
2.7</pydev_property>
+</pydev_project>

http://git-wip-us.apache.org/repos/asf/ambari/blob/fcdade6b/ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py 
b/ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
index f45211f..7fda89e 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py
@@ -19,7 +19,7 @@ limitations under the License.
 
 class HDP21StackAdvisor(HDP206StackAdvisor):
 
-  def getServiceConfigurationRecommenderDict(self, service):
+  def getServiceConfigurationRecommenderDict(self):
     parentRecommendConfDict = super(HDP21StackAdvisor, 
self).getServiceConfigurationRecommenderDict()
     childRecommendConfDict = {
       "OOZIE": self.recommendOozieConfigurations,

Reply via email to