[14/50] [abbrv] hbase git commit: HBASE-16677 Add table size (total store file size) to table page (Guang Yang)
HBASE-16677 Add table size (total store file size) to table page (Guang Yang) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f7bb6fbf Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f7bb6fbf Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f7bb6fbf Branch: refs/heads/hbase-14439 Commit: f7bb6fbf21a6a86700b8411311343f0be80ebf3f Parents: b14fb14 Author: chenhengAuthored: Sun Sep 25 10:48:01 2016 +0800 Committer: chenheng Committed: Sun Sep 25 10:48:01 2016 +0800 -- .../resources/hbase-webapps/master/table.jsp| 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f7bb6fbf/hbase-server/src/main/resources/hbase-webapps/master/table.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index 27388e7..86b70c7 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -73,6 +73,25 @@ } String action = request.getParameter("action"); String key = request.getParameter("key"); + long totalStoreFileSizeMB = 0; + + final String numRegionsParam = request.getParameter("numRegions"); + // By default, the page render up to 1 regions to improve the page load time + int numRegionsToRender = 1; + if (numRegionsParam != null) { +// either 'all' or a number +if (numRegionsParam.equals("all")) { + numRegionsToRender = -1; +} else { + try { +numRegionsToRender = Integer.parseInt(numRegionsParam); + } catch (NumberFormatException ex) { +// ignore + } +} + } + int numRegions = 0; + %>
[12/50] [abbrv] hbase git commit: HBASE-16677 Add table size (total store file size) to table page
HBASE-16677 Add table size (total store file size) to table page Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f5351e2d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f5351e2d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f5351e2d Branch: refs/heads/hbase-14439 Commit: f5351e2dbd29ab32dbd4044844feb6a94d9fea98 Parents: 2765b9d Author: chenhengAuthored: Sun Sep 25 09:49:50 2016 +0800 Committer: chenheng Committed: Sun Sep 25 09:49:50 2016 +0800 -- .../resources/hbase-webapps/master/table.jsp| 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f5351e2d/hbase-server/src/main/resources/hbase-webapps/master/table.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index 27388e7..86b70c7 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -73,6 +73,25 @@ } String action = request.getParameter("action"); String key = request.getParameter("key"); + long totalStoreFileSizeMB = 0; + + final String numRegionsParam = request.getParameter("numRegions"); + // By default, the page render up to 1 regions to improve the page load time + int numRegionsToRender = 1; + if (numRegionsParam != null) { +// either 'all' or a number +if (numRegionsParam.equals("all")) { + numRegionsToRender = -1; +} else { + try { +numRegionsToRender = Integer.parseInt(numRegionsParam); + } catch (NumberFormatException ex) { +// ignore + } +} + } + int numRegions = 0; + %>
hbase git commit: HBASE-16677 Add table size (total store file size) to table page (Guang Yang)
Repository: hbase Updated Branches: refs/heads/branch-1 92b1b5ac8 -> d6f9eab4b HBASE-16677 Add table size (total store file size) to table page (Guang Yang) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d6f9eab4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d6f9eab4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d6f9eab4 Branch: refs/heads/branch-1 Commit: d6f9eab4be16dee0dd45ea9f1e0dd17ef8a74b7b Parents: 92b1b5a Author: chenhengAuthored: Sun Sep 25 10:48:01 2016 +0800 Committer: chenheng Committed: Sun Sep 25 10:50:03 2016 +0800 -- .../resources/hbase-webapps/master/table.jsp| 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/d6f9eab4/hbase-server/src/main/resources/hbase-webapps/master/table.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index 2c749ff..37209c7 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -72,6 +72,25 @@ } String action = request.getParameter("action"); String key = request.getParameter("key"); + long totalStoreFileSizeMB = 0; + + final String numRegionsParam = request.getParameter("numRegions"); + // By default, the page render up to 1 regions to improve the page load time + int numRegionsToRender = 1; + if (numRegionsParam != null) { +// either 'all' or a number +if (numRegionsParam.equals("all")) { + numRegionsToRender = -1; +} else { + try { +numRegionsToRender = Integer.parseInt(numRegionsParam); + } catch (NumberFormatException ex) { +// ignore + } +} + } + int numRegions = 0; + %>
hbase git commit: HBASE-16677 Add table size (total store file size) to table page (Guang Yang)
Repository: hbase Updated Branches: refs/heads/master b14fb1488 -> f7bb6fbf2 HBASE-16677 Add table size (total store file size) to table page (Guang Yang) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f7bb6fbf Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f7bb6fbf Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f7bb6fbf Branch: refs/heads/master Commit: f7bb6fbf21a6a86700b8411311343f0be80ebf3f Parents: b14fb14 Author: chenhengAuthored: Sun Sep 25 10:48:01 2016 +0800 Committer: chenheng Committed: Sun Sep 25 10:48:01 2016 +0800 -- .../resources/hbase-webapps/master/table.jsp| 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f7bb6fbf/hbase-server/src/main/resources/hbase-webapps/master/table.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index 27388e7..86b70c7 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -73,6 +73,25 @@ } String action = request.getParameter("action"); String key = request.getParameter("key"); + long totalStoreFileSizeMB = 0; + + final String numRegionsParam = request.getParameter("numRegions"); + // By default, the page render up to 1 regions to improve the page load time + int numRegionsToRender = 1; + if (numRegionsParam != null) { +// either 'all' or a number +if (numRegionsParam.equals("all")) { + numRegionsToRender = -1; +} else { + try { +numRegionsToRender = Integer.parseInt(numRegionsParam); + } catch (NumberFormatException ex) { +// ignore + } +} + } + int numRegions = 0; + %>
hbase git commit: HBASE-16677 Add table size (total store file size) to table page
Repository: hbase Updated Branches: refs/heads/master 2765b9d9d -> f5351e2db HBASE-16677 Add table size (total store file size) to table page Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f5351e2d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f5351e2d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f5351e2d Branch: refs/heads/master Commit: f5351e2dbd29ab32dbd4044844feb6a94d9fea98 Parents: 2765b9d Author: chenhengAuthored: Sun Sep 25 09:49:50 2016 +0800 Committer: chenheng Committed: Sun Sep 25 09:49:50 2016 +0800 -- .../resources/hbase-webapps/master/table.jsp| 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f5351e2d/hbase-server/src/main/resources/hbase-webapps/master/table.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp index 27388e7..86b70c7 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/table.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/table.jsp @@ -73,6 +73,25 @@ } String action = request.getParameter("action"); String key = request.getParameter("key"); + long totalStoreFileSizeMB = 0; + + final String numRegionsParam = request.getParameter("numRegions"); + // By default, the page render up to 1 regions to improve the page load time + int numRegionsToRender = 1; + if (numRegionsParam != null) { +// either 'all' or a number +if (numRegionsParam.equals("all")) { + numRegionsToRender = -1; +} else { + try { +numRegionsToRender = Integer.parseInt(numRegionsParam); + } catch (NumberFormatException ex) { +// ignore + } +} + } + int numRegions = 0; + %>