[
https://issues.apache.org/jira/browse/HBASE-18864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399186#comment-16399186
]
Umesh Agashe commented on HBASE-18864:
--------------------------------------
[~apurtell], I reopened the Jira as patch was tested against branch-1.2 but
fails test on branch 1.3, 1.4. [~jatsakthi] has uploaded the addendum which
needs to be reviewed and if okay, committed. If this is now okay, let me know
if commit needs to be reverted or separate Jira is needed.
Regarding fix, initial patches (attached to the JIRA) took an approach you have
suggested and tried to fix NPE when value is being used. After some discussion,
the thought was that reject invalid values at the entry point on client side
itself. Looks like there are different opinions from reviews about which
approach is okay. Let us know.
> NullPointerException thrown when adding rows to a table from peer cluster,
> table with replication factor other than 0 or 1
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-18864
> URL: https://issues.apache.org/jira/browse/HBASE-18864
> Project: HBase
> Issue Type: Bug
> Components: hbase
> Affects Versions: 1.3.0
> Reporter: smita
> Assignee: Sakthi
> Priority: Major
> Labels: beginner
> Fix For: 1.3.2, 1.2.7, 1.4.3
>
> Attachments: hbase-18864.branch-1.2.001.patch,
> hbase-18864.branch-1.2.002.patch, hbase-18864.branch-1.2.003.patch,
> hbase-18864.branch-1.2.004.patch, hbase-18864.branch-1.addendum.patch
>
>
> Scenario:
> =============
> add_peer
> create a table
> alter table with REPLICATION_SCOPE => '5'
> enable table replication
> login to peer cluster and try putting data to the table
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)