[ https://issues.apache.org/jira/browse/HBASE-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119762#comment-13119762 ]
jirapos...@reviews.apache.org commented on HBASE-4070: ------------------------------------------------------ ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2029/#review2295 ----------------------------------------------------------- Getting close Eugene. Suggest a cleaner naming of some methods. Also question if passing in a set of coprocessor environments is necessary when a set or array of String can be built just as easily before calling the HSL constructor. src/main/java/org/apache/hadoop/hbase/ClusterStatus.java <https://reviews.apache.org/r/2029/#comment5280> masterCoprocessors src/main/java/org/apache/hadoop/hbase/ClusterStatus.java <https://reviews.apache.org/r/2029/#comment5281> Likewise src/main/java/org/apache/hadoop/hbase/ClusterStatus.java <https://reviews.apache.org/r/2029/#comment5284> getMasterCoprocessors() src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5285> Why do you need this if you have the set of coprocessor environments? Turn the question around, why do you need the coprocessor environments if you have this set of strings? Build this set and pass it to the HSL constructor. src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5286> getCoprocessors() src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5287> See above src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5288> See above. Construct the set of strings or an array of strings and pass it in. src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5289> getCoprocessors() src/main/java/org/apache/hadoop/hbase/HServerLoad.java <https://reviews.apache.org/r/2029/#comment5290> See above src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java <https://reviews.apache.org/r/2029/#comment5291> getMasterCoprocessors() src/main/java/org/apache/hadoop/hbase/master/HMaster.java <https://reviews.apache.org/r/2029/#comment5292> getCoprocessors() - Andrew On 2011-10-03 22:32:46, Eugene Koontz wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/2029/ bq. ----------------------------------------------------------- bq. bq. (Updated 2011-10-03 22:32:46) bq. bq. bq. Review request for hbase and Mingjie Lai. bq. bq. bq. Summary bq. ------- bq. bq. Proposed fix for HBASE-4070. bq. bq. bq. This addresses bug HBASE-4070. bq. https://issues.apache.org/jira/browse/HBASE-4070 bq. bq. bq. Diffs bq. ----- bq. bq. src/main/jamon/org/apache/hbase/tmpl/master/MasterStatusTmpl.jamon abeb850 bq. src/main/jamon/org/apache/hbase/tmpl/regionserver/RSStatusTmpl.jamon be6fceb bq. src/main/java/org/apache/hadoop/hbase/ClusterStatus.java 01bc1dd bq. src/main/java/org/apache/hadoop/hbase/HServerLoad.java 0c680e4 bq. src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java a55a4b1 bq. src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java dbae4fd bq. src/main/java/org/apache/hadoop/hbase/master/HMaster.java f80d232 bq. src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 96b763b bq. src/test/java/org/apache/hadoop/hbase/coprocessor/TestCoprocessorReporting.java PRE-CREATION bq. bq. Diff: https://reviews.apache.org/r/2029/diff bq. bq. bq. Testing bq. ------- bq. bq. Two new tests : testRegionServerCoprocessorReported() and testMasterServerCoprocessorsReported() included in a new source file src/test/java/o.a.h.h/coprocessor/TestCoprocessorReporting.java. bq. bq. bq. Thanks, bq. bq. Eugene bq. bq. > [Coprocessors] Improve region server metrics to report loaded coprocessors to > master > ------------------------------------------------------------------------------------ > > Key: HBASE-4070 > URL: https://issues.apache.org/jira/browse/HBASE-4070 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.3 > Reporter: Mingjie Lai > Assignee: Eugene Koontz > Attachments: HBASE-4070.patch, HBASE-4070.patch, HBASE-4070.patch, > master-web-ui.jpg, rs-status-web-ui.jpg > > > HBASE-3512 is about listing loaded cp classes at shell. To make it more > generic, we need a way to report this piece of information from region to > master (or just at region server level). So later on, we can display the > loaded class names at shell as well as web console. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira