Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/49#discussion_r26815625
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/hbase/index/table/CoprocessorHTableFactory.java
 ---
    @@ -42,19 +38,14 @@ public CoprocessorHTableFactory(CoprocessorEnvironment 
e) {
     
         @Override
         public HTableInterface getTable(ImmutableBytesPtr tablename) throws 
IOException {
    -        Configuration conf = e.getConfiguration();
    -
    -        // make sure we use the index priority writer for our rpcs
    -        IndexQosCompat.setPhoenixIndexRpcController(conf);
     
             // make sure we include the index table in the tables we need to 
track
             String tableName = 
Bytes.toString(tablename.copyBytesIfNecessary());
    -        IndexQosCompat.enableIndexQosForTable(conf, tableName);
     
             if (LOG.isDebugEnabled()) {
                 LOG.debug("Creating new HTable: " + tableName);
             }
    -        return 
this.e.getTable(TableName.valueOf(tablename.copyBytesIfNecessary()));
    +        return this.e.getTable(TableName.valueOf(tableName));
    --- End diff --
    
    Changed to use tableName


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to