[jira] [Commented] (CASSANDRA-13761) truncatehints cant't delete all hints

2017-08-16 Thread huyx (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16128513#comment-16128513
 ] 

huyx commented on CASSANDRA-13761:
--

ok,thank you.

> truncatehints  cant't delete all hints
> --
>
> Key: CASSANDRA-13761
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13761
> Project: Cassandra
>  Issue Type: Bug
> Environment: 3.0.14
> java version "1.8.0_131"
>Reporter: huyx
>Priority: Minor
>
> step1
> Execute nodetool truncatehints on node A , no print any log. when restart the 
> down node B,
> A print:
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,593 HintsStore.java:126 - 
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,595 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints to endpoint 
> /10.71.0.14,
> and B data is repaired。
> step2:
> I change the cassandra.yaml max_hints_file_size_in_mb=1, and insert data to 
> cluster.
> Execute nodetool truncatehints on node A,A print:
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,164 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443243250-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,165 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443273261-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,166 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443293262-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,167 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443313267-1.hints
> when restart the down node B, A print:
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints
> INFO  [HintsDispatcher:7] 2017-08-11 17:25:14,626 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints to endpoint 
> /10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb
> truncatehints  can't delete all hits, it will Leave one don't delete。



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-13761) truncatehints cant't delete all hints

2017-08-14 Thread huyx (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16126775#comment-16126775
 ] 

huyx commented on CASSANDRA-13761:
--

 but now i test again,stopdaemon B,writing data, stop writing data,nodetool 
flush A,nodetool  truncating  A, restart B。

A print:
INFO  [RMI TCP Connection(46)-10.71.0.12] 2017-08-15 11:36:59,368 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502768072934-1.hints
INFO  [RMI TCP Connection(46)-10.71.0.12] 2017-08-15 11:36:59,369 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502768092954-1.hints

INFO  [HintsDispatcher:9] 2017-08-15 11:39:11,543 HintsStore.java:126 - Deleted 
hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502768122944-1.hints
INFO  [HintsDispatcher:9] 2017-08-15 11:39:11,543 
HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502768122944-1.hints to endpoint 
/10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb


> truncatehints  cant't delete all hints
> --
>
> Key: CASSANDRA-13761
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13761
> Project: Cassandra
>  Issue Type: Bug
> Environment: 3.0.14
> java version "1.8.0_131"
>Reporter: huyx
>Priority: Minor
>
> step1
> Execute nodetool truncatehints on node A , no print any log. when restart the 
> down node B,
> A print:
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,593 HintsStore.java:126 - 
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,595 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints to endpoint 
> /10.71.0.14,
> and B data is repaired。
> step2:
> I change the cassandra.yaml max_hints_file_size_in_mb=1, and insert data to 
> cluster.
> Execute nodetool truncatehints on node A,A print:
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,164 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443243250-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,165 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443273261-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,166 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443293262-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,167 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443313267-1.hints
> when restart the down node B, A print:
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints
> INFO  [HintsDispatcher:7] 2017-08-11 17:25:14,626 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints to endpoint 
> /10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb
> truncatehints  can't delete all hits, it will Leave one don't delete。



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-13761) truncatehints cant't delete all hints

2017-08-14 Thread huyx (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-13761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125513#comment-16125513
 ] 

huyx commented on CASSANDRA-13761:
--

yes,stopdaemon B,writing data, stop writing data, truncating the hints A, 
restart B。

> truncatehints  cant't delete all hints
> --
>
> Key: CASSANDRA-13761
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13761
> Project: Cassandra
>  Issue Type: Bug
> Environment: 3.0.14
> java version "1.8.0_131"
>Reporter: huyx
>Priority: Blocker
>
> step1
> Execute nodetool truncatehints on node A , no print any log. when restart the 
> down node B,
> A print:
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,593 HintsStore.java:126 - 
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints
> INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,595 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints to endpoint 
> /10.71.0.14,
> and B data is repaired。
> step2:
> I change the cassandra.yaml max_hints_file_size_in_mb=1, and insert data to 
> cluster.
> Execute nodetool truncatehints on node A,A print:
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,164 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443243250-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,165 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443273261-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,166 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443293262-1.hints
> INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,167 
> HintsStore.java:126 - Deleted hint file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443313267-1.hints
> when restart the down node B, A print:
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints
> INFO  [HintsDispatcher:7] 2017-08-11 17:25:14,626 
> HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
> 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints to endpoint 
> /10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb
> truncatehints  can't delete all hits, it will Leave one don't delete。



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Created] (CASSANDRA-13761) truncatehints cant't delete all hints

2017-08-13 Thread huyx (JIRA)
huyx created CASSANDRA-13761:


 Summary: truncatehints  cant't delete all hints
 Key: CASSANDRA-13761
 URL: https://issues.apache.org/jira/browse/CASSANDRA-13761
 Project: Cassandra
  Issue Type: Bug
 Environment: 3.0.14
java version "1.8.0_131"
Reporter: huyx
Priority: Blocker


step1
Execute nodetool truncatehints on node A , no print any log. when restart the 
down node B,
A print:
INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,593 HintsStore.java:126 - Deleted 
hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints
INFO  [HintsDispatcher:1] 2017-08-10 18:27:01,595 
HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints to endpoint 
/10.71.0.14,
and B data is repaired。

step2:
I change the cassandra.yaml max_hints_file_size_in_mb=1, and insert data to 
cluster.
Execute nodetool truncatehints on node A,A print:

INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,164 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443243250-1.hints
INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,165 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443273261-1.hints
INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,166 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443293262-1.hints
INFO  [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,167 
HintsStore.java:126 - Deleted hint file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443313267-1.hints

when restart the down node B, A print:

Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints
INFO  [HintsDispatcher:7] 2017-08-11 17:25:14,626 
HintsDispatchExecutor.java:272 - Finished hinted handoff of file 
4da2fd65-a4fe-4c0a-bf95-f818431c31bb-150244269-1.hints to endpoint 
/10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb

truncatehints  can't delete all hits, it will Leave one don't delete。




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org