ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [2/2] ambari git commit: AMBARI-10032. HostCleanup.py failed to start on Ubuntu (aonishuk)
Date Wed, 11 Mar 2015 18:03:40 GMT
AMBARI-10032. HostCleanup.py failed to start on Ubuntu (aonishuk)


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

Branch: refs/heads/branch-2.0.0
Commit: 42b9baadd2015e5e836939a022e18b09cb2c55d6
Parents: d481b4d
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed Mar 11 20:03:25 2015 +0200
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed Mar 11 20:03:25 2015 +0200

----------------------------------------------------------------------
 ambari-agent/src/main/python/ambari_agent/HostCleanup.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/42b9baad/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
index ca9bc41..ca2bcf4 100644
--- a/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
+++ b/ambari-agent/src/main/python/ambari_agent/HostCleanup.py
@@ -17,12 +17,12 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 '''
-import sys
-from ambari_commons.os_family_impl import OsFamilyImpl, OsFamilyFuncImpl
-
 # For compatibility with different OSes
 # Edit PYTHONPATH to be able to import common_functions
+import sys
 sys.path.append("/usr/lib/python2.6/site-packages/")
+########################################################
+
 import os
 import string
 import subprocess
@@ -37,7 +37,7 @@ import datetime
 from AmbariConfig import AmbariConfig
 from ambari_commons import OSCheck, OSConst
 from ambari_commons.constants import AMBARI_SUDO_BINARY
-
+from ambari_commons.os_family_impl import OsFamilyImpl, OsFamilyFuncImpl
 
 logger = logging.getLogger()
 


Mime
View raw message