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

    https://github.com/apache/phoenix/pull/49#discussion_r26810748
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/hbase/index/table/CoprocessorHTableFactory.java
 ---
    @@ -42,14 +38,9 @@ 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());
    --- End diff --
    
    No need to convert from byte[] -> String and then later back to byte[].


---
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