[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2018-03-30 Thread Pranav Jindal (JIRA)

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

Pranav Jindal commented on CASSANDRA-9261:
--

[~kohlisankalp] not exactly sure, but repair was hanged after these errors.

> Prepare and Snapshot for repairs should use higher timeouts for expiring map
> 
>
> Key: CASSANDRA-9261
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: sankalp kohli
>Assignee: sankalp kohli
>Priority: Minor
> Fix For: 2.1.6, 2.2.0 beta 1
>
> Attachments: 0001-make-prepare-snapshot-timeout-to-1-hour.patch, 
> trunk_9261.txt
>
>
> We wait for 1 hour after sending the prepare message but expiring map will 
> remove it after RPC timeout. 
> In snapshot during repair, we only wait for RPC time. 



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

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



[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2018-03-29 Thread sankalp kohli (JIRA)

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

sankalp kohli commented on CASSANDRA-9261:
--

Did it wait for 1 hour before timing out?

> Prepare and Snapshot for repairs should use higher timeouts for expiring map
> 
>
> Key: CASSANDRA-9261
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: sankalp kohli
>Assignee: sankalp kohli
>Priority: Minor
> Fix For: 2.1.6, 2.2.0 beta 1
>
> Attachments: 0001-make-prepare-snapshot-timeout-to-1-hour.patch, 
> trunk_9261.txt
>
>
> We wait for 1 hour after sending the prepare message but expiring map will 
> remove it after RPC timeout. 
> In snapshot during repair, we only wait for RPC time. 



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

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



[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2018-03-28 Thread Pranav Jindal (JIRA)

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

Pranav Jindal commented on CASSANDRA-9261:
--

[~kohlisankalp]  [~yukim] I am getting  error on 3.10



{code:java}
ERROR [RepairJobTask:3] 2018-03-29 01:40:55,331 RepairRunnable.java:274 - 
Repair session 292c33f0-32f1-11e8-9291-57ced1c9ada4 for range 
[(3281996308411695350,3287463954196073837]] failed with error Could not create 
snapshot at /10.2.192.16 java.lang.RuntimeException: Could not create snapshot 
at /10.2.192.16 at 
org.apache.cassandra.repair.SnapshotTask$SnapshotCallback.onFailure(SnapshotTask.java:80)
 ~[apache-cassandra-3.10.jar:3.10] at 
org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:47)
 ~[apache-cassandra-3.10.jar:3.10] at 
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:66) 
~[apache-cassandra-3.10.jar:3.10] at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
~[na:1.8.0_121] at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
~[na:1.8.0_121] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_121] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_121] at 
org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:79)
 [apache-cassandra-3.10.jar:3.10] at java.lang.Thread.run(Thread.java:745) 
~[na:1.8.0_121]
{code}

> Prepare and Snapshot for repairs should use higher timeouts for expiring map
> 
>
> Key: CASSANDRA-9261
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: sankalp kohli
>Assignee: sankalp kohli
>Priority: Minor
> Fix For: 2.1.6, 2.2.0 beta 1
>
> Attachments: 0001-make-prepare-snapshot-timeout-to-1-hour.patch, 
> trunk_9261.txt
>
>
> We wait for 1 hour after sending the prepare message but expiring map will 
> remove it after RPC timeout. 
> In snapshot during repair, we only wait for RPC time. 



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

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



[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2015-04-30 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14522023#comment-14522023
 ] 

sankalp kohli commented on CASSANDRA-9261:
--

[~yukim] Do you need a new patch for 2.1. If yes it might take time.  

 Prepare and Snapshot for repairs should use higher timeouts for expiring map
 

 Key: CASSANDRA-9261
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
 Project: Cassandra
  Issue Type: Improvement
Reporter: sankalp kohli
Assignee: sankalp kohli
Priority: Minor
 Attachments: trunk_9261.txt


 We wait for 1 hour after sending the prepare message but expiring map will 
 remove it after RPC timeout. 
 In snapshot during repair, we only wait for RPC time. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2015-04-30 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14522613#comment-14522613
 ] 

sankalp kohli commented on CASSANDRA-9261:
--

+1

 Prepare and Snapshot for repairs should use higher timeouts for expiring map
 

 Key: CASSANDRA-9261
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
 Project: Cassandra
  Issue Type: Improvement
Reporter: sankalp kohli
Assignee: sankalp kohli
Priority: Minor
 Attachments: 0001-make-prepare-snapshot-timeout-to-1-hour.patch, 
 trunk_9261.txt


 We wait for 1 hour after sending the prepare message but expiring map will 
 remove it after RPC timeout. 
 In snapshot during repair, we only wait for RPC time. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2015-04-29 Thread Yuki Morishita (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14518870#comment-14518870
 ] 

Yuki Morishita commented on CASSANDRA-9261:
---

This should be fixed in 2.1 as timeout for snapshot is likely the cause of 
CASSANDRA-8696.
I think we can set snapshot timeout much longer, I suggest settning it to 1 
hour as well.

 Prepare and Snapshot for repairs should use higher timeouts for expiring map
 

 Key: CASSANDRA-9261
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
 Project: Cassandra
  Issue Type: Improvement
Reporter: sankalp kohli
Assignee: sankalp kohli
Priority: Minor
 Attachments: trunk_9261.txt


 We wait for 1 hour after sending the prepare message but expiring map will 
 remove it after RPC timeout. 
 In snapshot during repair, we only wait for RPC time. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-9261) Prepare and Snapshot for repairs should use higher timeouts for expiring map

2015-04-28 Thread sankalp kohli (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14518411#comment-14518411
 ] 

sankalp kohli commented on CASSANDRA-9261:
--

In this patch, snapshot command will wait for 10 minutes. We can change it if 
thats too long. 

 Prepare and Snapshot for repairs should use higher timeouts for expiring map
 

 Key: CASSANDRA-9261
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9261
 Project: Cassandra
  Issue Type: Improvement
Reporter: sankalp kohli
Assignee: sankalp kohli
Priority: Minor
 Attachments: trunk_9261.txt


 We wait for 1 hour after sending the prepare message but expiring map will 
 remove it after RPC timeout. 
 In snapshot during repair, we only wait for RPC time. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)