[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-26 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

Pushed to master branch. Thanks all for reviewing.

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch, 
> HBASE-21365.master.002.patch, HBASE-21365.master.003.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-25 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Attachment: HBASE-21365.master.003.patch

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch, 
> HBASE-21365.master.002.patch, HBASE-21365.master.003.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Attachment: HBASE-21365.master.002.patch

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch, 
> HBASE-21365.master.002.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Release Note: If a table's column family's replication scope is not 
REPLICATION_SCOPE_LOCAL, this table may be replicated to peer cluster. As 
hbase's replication rely on WAL, if put data with Durability.SKIP_WAL to this 
table, the regionserver will throw a new  InvalidMutationDurabilityException to 
client.

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Fix Version/s: 3.0.0

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Component/s: Client

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Affects Version/s: 3.0.0

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Attachment: HBASE-21365.master.001.patch

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Priority: Minor
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Assignee: Guanghao Zhang
  Status: Patch Available  (was: Open)

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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


[jira] [Updated] (HBASE-21365) Throw exception when user put data with skip wal to a table which may be replicated

2018-10-24 Thread Guanghao Zhang (JIRA)


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

Guanghao Zhang updated HBASE-21365:
---
Hadoop Flags: Incompatible change

> Throw exception when user put data with skip wal to a table which may be 
> replicated
> ---
>
> Key: HBASE-21365
> URL: https://issues.apache.org/jira/browse/HBASE-21365
> Project: HBase
>  Issue Type: Improvement
>Affects Versions: 3.0.0
>Reporter: Guanghao Zhang
>Assignee: Guanghao Zhang
>Priority: Minor
> Attachments: HBASE-21365.master.001.patch
>
>
> A real problem in our production cluster. A user point that his table's data 
> can't be replicate to the peer cluster. Then we start to debug the reason. We 
> checked the replication scope, checked the replication wal entry filter, and 
> check the namespace,tablecfs config. But didn't found any problem. We enabled 
> the RS's debug log to find the reason. Finally, we found use use put with 
> skip wal to write data. But it taked a long time... Our replication use wal 
> to replicate data. So the data can't be replicated to peer cluster. I thought 
> throw a exception may be better for user if the table's replication scope is 
> not 0. (as 0 means not replicated).



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