hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umesh Agashe (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-18864) NullPointerException thrown when adding rows to a table from peer cluster, table with replication factor other than 0 or 1
Date Wed, 14 Mar 2018 19:47:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16399186#comment-16399186
] 

Umesh Agashe edited comment on HBASE-18864 at 3/14/18 7:46 PM:
---------------------------------------------------------------

[~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 not 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.


was (Author: uagashe):
[~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
>             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)

Mime
View raw message