[jira] [Commented] (CASSANDRA-14221) I am running a script to create keyspaces and tables but i am getting schema issues after sometime while it creating some tables.

2018-02-08 Thread samba vunnava (JIRA)

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

samba vunnava commented on CASSANDRA-14221:
---

So Dinesh can you suggest me what are all the parameters i have to change to 
overcome this issue.

 

> I am running a script to create keyspaces and tables but i am getting schema 
> issues after sometime while it creating some tables.
> -
>
> Key: CASSANDRA-14221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14221
> Project: Cassandra
>  Issue Type: Bug
>  Components: Configuration
>Reporter: samba vunnava
>Priority: Major
> Fix For: 3.11.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> INFO [main] 2018-02-06 10:01:56,253 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_1
>  INFO [main] 2018-02-06 10:02:02,056 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_2
>  WARN [cluster1-worker-5] 2018-02-06 10:02:16,289 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  INFO [main] 2018-02-06 10:02:19,300 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_3
>  WARN [cluster1-worker-7] 2018-02-06 10:02:29,471 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  ERROR [main] 2018-02-06 10:03:00,492 c.k.c.f.IidFinderUtils - Failed to 
> create table for LU [Acc]
>  com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
>  at 
> com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
>  at 
> com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:43)
>  at com.k2view.cdbms.finder.IidFinderUtils.createTable(IidFinderUtils.java:91)
>  at 
> com.k2view.cdbms.finder.IidFinderUtils.createCacheTables(IidFinderUtils.java:76)
>  at 
> com.k2view.cdbms.finder.IidFinderManager.tablesCreationInit(IidFinderManager.java:68)
>  at com.k2view.cdbms.finder.IidFinderManager.main(IidFinderManager.java:43)
>  Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:772)
>  at 
> com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1380)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
>  at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
>  at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
>  at java.lang.Thread.run(Thread.java:748)
>  INFO [main] 2018-02-06 10:03:00,493 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_4



--
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-14221) I am running a script to create keyspaces and tables but i am getting schema issues after sometime while it creating some tables.

2018-02-08 Thread Dinesh Joshi (JIRA)

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

Dinesh Joshi commented on CASSANDRA-14221:
--

You can join #cassandra on IRC to discuss this issue with other folks who may 
have seen it. Also post this question on the user mailing list. It will reach a 
wider audience and might get a faster response. See 
https://wiki.apache.org/cassandra/IRC

I think the issue might be that the schema modifications may not have reached 
all nodes. If the cluster is under load, it may take some time for the schema 
to be updated on all nodes.

> I am running a script to create keyspaces and tables but i am getting schema 
> issues after sometime while it creating some tables.
> -
>
> Key: CASSANDRA-14221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14221
> Project: Cassandra
>  Issue Type: Bug
>  Components: Configuration
>Reporter: samba vunnava
>Priority: Major
> Fix For: 3.11.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> INFO [main] 2018-02-06 10:01:56,253 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_1
>  INFO [main] 2018-02-06 10:02:02,056 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_2
>  WARN [cluster1-worker-5] 2018-02-06 10:02:16,289 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  INFO [main] 2018-02-06 10:02:19,300 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_3
>  WARN [cluster1-worker-7] 2018-02-06 10:02:29,471 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  ERROR [main] 2018-02-06 10:03:00,492 c.k.c.f.IidFinderUtils - Failed to 
> create table for LU [Acc]
>  com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
>  at 
> com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
>  at 
> com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:43)
>  at com.k2view.cdbms.finder.IidFinderUtils.createTable(IidFinderUtils.java:91)
>  at 
> com.k2view.cdbms.finder.IidFinderUtils.createCacheTables(IidFinderUtils.java:76)
>  at 
> com.k2view.cdbms.finder.IidFinderManager.tablesCreationInit(IidFinderManager.java:68)
>  at com.k2view.cdbms.finder.IidFinderManager.main(IidFinderManager.java:43)
>  Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:772)
>  at 
> com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1380)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
>  at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
>  at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
>  at java.lang.Thread.run(Thread.java:748)
>  INFO [main] 2018-02-06 10:03:00,493 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_4



--
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-14221) I am running a script to create keyspaces and tables but i am getting schema issues after sometime while it creating some tables.

2018-02-08 Thread samba vunnava (JIRA)

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

samba vunnava commented on CASSANDRA-14221:
---

Hi Dinesh,

This is the very major issue we are facing from last couple of days.can you 
quickly assist us in solving this issue so that we can move forward.

Regards,

Samba Vunnava

> I am running a script to create keyspaces and tables but i am getting schema 
> issues after sometime while it creating some tables.
> -
>
> Key: CASSANDRA-14221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14221
> Project: Cassandra
>  Issue Type: Bug
>  Components: Configuration
>Reporter: samba vunnava
>Priority: Major
> Fix For: 3.11.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> INFO [main] 2018-02-06 10:01:56,253 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_1
>  INFO [main] 2018-02-06 10:02:02,056 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_2
>  WARN [cluster1-worker-5] 2018-02-06 10:02:16,289 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  INFO [main] 2018-02-06 10:02:19,300 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_3
>  WARN [cluster1-worker-7] 2018-02-06 10:02:29,471 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  ERROR [main] 2018-02-06 10:03:00,492 c.k.c.f.IidFinderUtils - Failed to 
> create table for LU [Acc]
>  com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
>  at 
> com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
>  at 
> com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:43)
>  at com.k2view.cdbms.finder.IidFinderUtils.createTable(IidFinderUtils.java:91)
>  at 
> com.k2view.cdbms.finder.IidFinderUtils.createCacheTables(IidFinderUtils.java:76)
>  at 
> com.k2view.cdbms.finder.IidFinderManager.tablesCreationInit(IidFinderManager.java:68)
>  at com.k2view.cdbms.finder.IidFinderManager.main(IidFinderManager.java:43)
>  Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:772)
>  at 
> com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1380)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
>  at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
>  at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
>  at java.lang.Thread.run(Thread.java:748)
>  INFO [main] 2018-02-06 10:03:00,493 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_4



--
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-14221) I am running a script to create keyspaces and tables but i am getting schema issues after sometime while it creating some tables.

2018-02-08 Thread samba vunnava (JIRA)

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

samba vunnava commented on CASSANDRA-14221:
---

Hi Dinesh,

I am having a cluster consisting of 3 nodes and when i see Describe Cluster all 
nodes schemes are  reachable.

I have changed the parameters in cqlsh.py

fabric/Cassandra/bin/cqlsh.py

DEFAULT_CONNECT_TIMEOUT_SECONDS = 5 -> 600
 DEFAULT_REQUEST_TIMEOUT_SECONDS = 10 -> 600

but i faced the same issue while i am running the script.

 

 

> I am running a script to create keyspaces and tables but i am getting schema 
> issues after sometime while it creating some tables.
> -
>
> Key: CASSANDRA-14221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14221
> Project: Cassandra
>  Issue Type: Bug
>  Components: Configuration
>Reporter: samba vunnava
>Priority: Major
> Fix For: 3.11.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> INFO [main] 2018-02-06 10:01:56,253 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_1
>  INFO [main] 2018-02-06 10:02:02,056 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_2
>  WARN [cluster1-worker-5] 2018-02-06 10:02:16,289 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  INFO [main] 2018-02-06 10:02:19,300 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_3
>  WARN [cluster1-worker-7] 2018-02-06 10:02:29,471 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  ERROR [main] 2018-02-06 10:03:00,492 c.k.c.f.IidFinderUtils - Failed to 
> create table for LU [Acc]
>  com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
>  at 
> com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
>  at 
> com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:43)
>  at com.k2view.cdbms.finder.IidFinderUtils.createTable(IidFinderUtils.java:91)
>  at 
> com.k2view.cdbms.finder.IidFinderUtils.createCacheTables(IidFinderUtils.java:76)
>  at 
> com.k2view.cdbms.finder.IidFinderManager.tablesCreationInit(IidFinderManager.java:68)
>  at com.k2view.cdbms.finder.IidFinderManager.main(IidFinderManager.java:43)
>  Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:772)
>  at 
> com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1380)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
>  at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
>  at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
>  at java.lang.Thread.run(Thread.java:748)
>  INFO [main] 2018-02-06 10:03:00,493 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_4



--
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-14221) I am running a script to create keyspaces and tables but i am getting schema issues after sometime while it creating some tables.

2018-02-08 Thread Dinesh Joshi (JIRA)

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

Dinesh Joshi commented on CASSANDRA-14221:
--

What is your cluster configuration? Could you anonymize your script and post 
it? This will help debug the issue. 

> I am running a script to create keyspaces and tables but i am getting schema 
> issues after sometime while it creating some tables.
> -
>
> Key: CASSANDRA-14221
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14221
> Project: Cassandra
>  Issue Type: Bug
>  Components: Configuration
>Reporter: samba vunnava
>Priority: Major
> Fix For: 3.11.1
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> INFO [main] 2018-02-06 10:01:56,253 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_1
>  INFO [main] 2018-02-06 10:02:02,056 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_2
>  WARN [cluster1-worker-5] 2018-02-06 10:02:16,289 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  INFO [main] 2018-02-06 10:02:19,300 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_3
>  WARN [cluster1-worker-7] 2018-02-06 10:02:29,471 c.d.d.c.Cluster - No schema 
> agreement from live replicas after 10 s. The schema may not be up to date on 
> some nodes.
>  ERROR [main] 2018-02-06 10:03:00,492 c.k.c.f.IidFinderUtils - Failed to 
> create table for LU [Acc]
>  com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:44)
>  at 
> com.datastax.driver.core.exceptions.OperationTimedOutException.copy(OperationTimedOutException.java:26)
>  at 
> com.datastax.driver.core.DriverThrowables.propagateCause(DriverThrowables.java:37)
>  at 
> com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:245)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:68)
>  at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:43)
>  at com.k2view.cdbms.finder.IidFinderUtils.createTable(IidFinderUtils.java:91)
>  at 
> com.k2view.cdbms.finder.IidFinderUtils.createCacheTables(IidFinderUtils.java:76)
>  at 
> com.k2view.cdbms.finder.IidFinderManager.tablesCreationInit(IidFinderManager.java:68)
>  at com.k2view.cdbms.finder.IidFinderManager.main(IidFinderManager.java:43)
>  Caused by: com.datastax.driver.core.exceptions.OperationTimedOutException: 
> [/135.164.54.234:9042] Timed out waiting for server response
>  at 
> com.datastax.driver.core.RequestHandler$SpeculativeExecution.onTimeout(RequestHandler.java:772)
>  at 
> com.datastax.driver.core.Connection$ResponseHandler$1.run(Connection.java:1380)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:625)
>  at 
> io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:700)
>  at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:428)
>  at 
> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
>  at java.lang.Thread.run(Thread.java:748)
>  INFO [main] 2018-02-06 10:03:00,493 c.k.c.f.IidFinderUtils - Creating 
> cache/child tables for LU Acc source table OMS_TBCATALOG_ITEM_4



--
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