hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [hbase] virajjasani commented on a change in pull request #1077: HBASE-23710 - Priority configuration for system coprocessors
Date Tue, 21 Jan 2020 06:03:34 GMT
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

Mime
View raw message