Github user bbende commented on the issue:

    https://github.com/apache/nifi/pull/1645
  
    Sorry for taking so long to get back to this...
    
    I tested this using PutDistributedMapCache and FetchDistributedMapCache, 
and noticed the value coming back from fetch wasn't exactly what I had stored. 
    
    In HBaseRowHandler we had:
    `lastResultBytes = resultCell.getValueArray()`
    
    And we need:
    `lastResultBytes = Arrays.copyOfRange(resultCell.getValueArray(), 
resultCell.getValueOffset(), resultCell.getValueLength() + 
resultCell.getValueOffset());
    `
    
    I made a commit here that includes the change:
    
https://github.com/bbende/nifi/commit/dc8f14d95d6cdbab2aa6e815269fe0d98faa2fe6
    
    I also moved MockHBaseClientService into it's own class so it can be used 
by both tests, so that we don't have to duplicate that code.
    
    Everything else looks good so I will go ahead and merge these changes 
together (your commit then mine). 
    
    Thanks again for contributing! and sorry for the delay.



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to