[ 
https://issues.apache.org/jira/browse/NIFI-6197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Francke updated NIFI-6197:
-------------------------------
    Description: 
- This fixes deprecations in HBase 2.0 which will be removed in 3.0. Amongst 
other things the typeByte, sequenceId and tags are now considered internal and 
are not exposed anymore.

- I also made it so that only either an hbase-site.xml or a ZooKeeper quorum 
need to be provided, previously ZooKeeper Client Port, Client retry and ZK 
Parent Node were mandatory as well but they are not really needed to connect to 
HBase

- Removed the default for HBase client retries. This means it can still be 
overridden if needed but if not the defaults from either hbase-site.xml or 
HBase itself will be used. HBase Client Service uses a default retry value of 
"1" for {{hbase.client.retries.number}} which is bad. The property is used for 
_all_ *retryable* operations. By setting this to one this makes any _normal_ 
HBase exception (e.g. RegionMoved) fatal.

- Some minor warnings (e.g. too broad scope, unchecked cast etc.)



  was:
HBase Client Service uses a default retry value of "1" for 
{{hbase.client.retries.number}} which is bad.

The property is used for _all_ *retryable* operations. By setting this to one 
this makes any _normal_ HBase exception (e.g. RegionMoved) fatal.

The default in HBase now is 15 (used to be 10). This patch changes the default 
to 15 for that reason.

There shouldn't even be a need to set this at all because HBase will use the 
default (even without an hbase-site.xml file) but I decided to leave that for 
another day.


> HBase Client Service uses a bad default for retries
> ---------------------------------------------------
>
>                 Key: NIFI-6197
>                 URL: https://issues.apache.org/jira/browse/NIFI-6197
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Lars Francke
>            Assignee: Lars Francke
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> - This fixes deprecations in HBase 2.0 which will be removed in 3.0. Amongst 
> other things the typeByte, sequenceId and tags are now considered internal 
> and are not exposed anymore.
> - I also made it so that only either an hbase-site.xml or a ZooKeeper quorum 
> need to be provided, previously ZooKeeper Client Port, Client retry and ZK 
> Parent Node were mandatory as well but they are not really needed to connect 
> to HBase
> - Removed the default for HBase client retries. This means it can still be 
> overridden if needed but if not the defaults from either hbase-site.xml or 
> HBase itself will be used. HBase Client Service uses a default retry value of 
> "1" for {{hbase.client.retries.number}} which is bad. The property is used 
> for _all_ *retryable* operations. By setting this to one this makes any 
> _normal_ HBase exception (e.g. RegionMoved) fatal.
> - Some minor warnings (e.g. too broad scope, unchecked cast etc.)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to