Repository: ambari Updated Branches: refs/heads/branch-2.0.0 a8cc067b5 -> 17b28e662
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/17b28e66 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/17b28e66 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/17b28e66 Branch: refs/heads/branch-2.0.0 Commit: 17b28e662c0f98cd1db4259045ed17629cd7da55 Parents: a8cc067 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:54 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/17b28e66/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
