Repository: ambari
Updated Branches:
  refs/heads/trunk bc5047acb -> 7d8b92234


AMBARI-10011 - Restarting HBase with Ranger Enabled Does Not Log Proper 
Exception (jonathanhurley)


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

Branch: refs/heads/trunk
Commit: 7d8b92234a3b578aacfcedf468569b2fc062772d
Parents: bc5047a
Author: Jonathan Hurley <[email protected]>
Authored: Tue Mar 10 14:04:19 2015 -0400
Committer: Jonathan Hurley <[email protected]>
Committed: Tue Mar 10 16:19:24 2015 -0400

----------------------------------------------------------------------
 .../resource_management/libraries/functions/ranger_functions.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d8b9223/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
----------------------------------------------------------------------
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
index 19a3336..78d9a97 100644
--- 
a/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py
@@ -122,7 +122,7 @@ class Rangeradmin:
     except urllib2.URLError, e:
       if isinstance(e, urllib2.HTTPError):
         Logger.error("HTTP Code: {0}".format(e.code))
-        Logger.error("HTTP Data: {0}".foramt(e.read()))
+        Logger.error("HTTP Data: {0}".format(e.read()))
       else:
         Logger.error("Error: {0}".format(e.reason))
       return None

Reply via email to