You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jl...@apache.org on 2016/06/01 02:58:48 UTC
ambari git commit: AMBARI-16848: clean up import * for STORM,
TEZ and ZEPPELIN services (Juanjo Marron via jluniya)
Repository: ambari
Updated Branches:
refs/heads/trunk 687745ad5 -> 30f257750
AMBARI-16848: clean up import * for STORM, TEZ and ZEPPELIN services (Juanjo Marron via jluniya)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/30f25775
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/30f25775
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/30f25775
Branch: refs/heads/trunk
Commit: 30f257750a14db3631e2ca69d8d80d8ea466b796
Parents: 687745a
Author: Jayush Luniya <jl...@hortonworks.com>
Authored: Tue May 31 19:58:44 2016 -0700
Committer: Jayush Luniya <jl...@hortonworks.com>
Committed: Tue May 31 19:58:44 2016 -0700
----------------------------------------------------------------------
.../STORM/0.9.1/package/scripts/params_windows.py | 2 +-
.../common-services/TEZ/0.4.0.2.1/package/scripts/tez.py | 5 ++++-
.../ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py | 1 -
3 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/30f25775/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_windows.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_windows.py b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_windows.py
index 88e6246..a758375 100644
--- a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_windows.py
+++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_windows.py
@@ -18,8 +18,8 @@ limitations under the License.
"""
-from resource_management import *
from status_params import *
+from resource_management.libraries.script.script import Script
from resource_management.libraries.functions.default import default
# server configurations
http://git-wip-us.apache.org/repos/asf/ambari/blob/30f25775/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py b/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py
index 198674d..67466e3 100644
--- a/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py
+++ b/ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/tez.py
@@ -19,7 +19,10 @@ Ambari Agent
"""
-from resource_management import *
+from resource_management.core.resources.system import Directory, File
+from resource_management.libraries.resources.xml_config import XmlConfig
+from resource_management.libraries.functions.format import format
+from resource_management.core.source import InlineTemplate
from ambari_commons import OSConst
from ambari_commons.os_family_impl import OsFamilyFuncImpl, OsFamilyImpl
http://git-wip-us.apache.org/repos/asf/ambari/blob/30f25775/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py
index 5dfdcad..978976f 100644
--- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/service_check.py
@@ -16,7 +16,6 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
-from resource_management import *
from resource_management.libraries.script.script import Script
from resource_management.libraries.functions.format import format
from resource_management.core.resources.system import Execute