You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2014/08/01 00:08:03 UTC
[27/50] [abbrv] git commit: [master] Show hostname:port in
AssignmentPlan for bad machines
[master] Show hostname:port in AssignmentPlan for bad machines
Summary: Call `getHostNameWithPort` to change IP to hostname.
Test Plan: Local web server.
Reviewers: elliott, gauravm, manukranthk
Reviewed By: manukranthk
Subscribers: hbase-eng@
Differential Revision: https://phabricator.fb.com/D1399266
Tasks: 4571191
git-svn-id: svn+ssh://tubbs/svnhive/hadoop/branches/titan/VENDOR.hbase/hbase-trunk@43098 e7acf4d4-3532-417f-9e73-7a9ae25a1f51
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f0eccb58
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f0eccb58
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f0eccb58
Branch: refs/heads/0.89-fb
Commit: f0eccb58d4bb7415beedd3add079169a6452e6ea
Parents: 2e5a0d8
Author: daviddeng <da...@e7acf4d4-3532-417f-9e73-7a9ae25a1f51>
Authored: Tue Jun 24 01:08:36 2014 +0000
Committer: Elliott Clark <el...@fb.com>
Committed: Thu Jul 31 14:44:23 2014 -0700
----------------------------------------------------------------------
src/main/resources/hbase-webapps/master/assignmentPlan.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/f0eccb58/src/main/resources/hbase-webapps/master/assignmentPlan.jsp
----------------------------------------------------------------------
diff --git a/src/main/resources/hbase-webapps/master/assignmentPlan.jsp b/src/main/resources/hbase-webapps/master/assignmentPlan.jsp
index cb6ddbc..9a4d7c3 100644
--- a/src/main/resources/hbase-webapps/master/assignmentPlan.jsp
+++ b/src/main/resources/hbase-webapps/master/assignmentPlan.jsp
@@ -132,7 +132,7 @@
AssignmentPlan.POSITION favoredNodePosition =
AssignmentPlan.getFavoredServerPosition(favoredNodeList, currentRS);
if (favoredNodePosition == null) {
- position = "" + currentRS;
+ position = currentRS.getHostNameWithPort();
} else {
position = favoredNodePosition.toString();
if (favoredNodePosition == AssignmentPlan.POSITION.PRIMARY) {