You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/01/21 06:03:34 UTC

[GitHub] [hbase] virajjasani commented on a change in pull request #1077: HBASE-23710 - Priority configuration for system coprocessors

virajjasani commented on a change in pull request #1077: HBASE-23710 - Priority configuration for system coprocessors
URL: https://github.com/apache/hbase/pull/1077#discussion_r368823636
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
 ##########
 @@ -143,8 +143,16 @@ protected void loadSystemCoprocessors(Configuration conf, String confKey) {
     if (defaultCPClasses == null || defaultCPClasses.length == 0)
       return;
 
-    int priority = Coprocessor.PRIORITY_SYSTEM;
+    int currentSystemPriority = Coprocessor.PRIORITY_SYSTEM;
     for (String className : defaultCPClasses) {
+      String[] classNameAndPriority = className.split("\\|");
 
 Review comment:
   May be good to update doc for `hbase.coprocessor.regionserver.classes` in section `Restricting Coprocessor Usage` of cp.adoc?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services