FWIW increasing the threshold for withMaxSchemaAgreementWaitSeconds to
30sec was enough to fix my problem---I would like to understand
whether the cluster has some kind of configuration problem that made
doing so necessary, however.

Thanks!

On Tue, Feb 3, 2015 at 7:44 AM, Clint Kelly <clint.ke...@gmail.com> wrote:
> Hi all,
>
> I have an application that uses the Java driver to create a table and then
> immediately write to it.  I see the following warning in my logs:
>
> [10.241.17.134] out: 15/02/03 09:32:24 WARN
> com.datastax.driver.core.Cluster: No schema agreement from live replicas
> after 10 s. The schema may not be up to date on some nodes.
>
> ...this seems to happen after creating a table, and the schema not being up
> to date leads to errors when trying to write the the new tables:
>
> [10.241.17.134] out: Exception in thread "main"
> com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured
> columnfamily schema_hash
>
> Any suggestions on what to do about this (other than increasing
> "withMaxSchemaAgreementWaitSeconds")?  This is only a three-node test
> cluster.  I have not gotten this warning before, even on much bigger
> clusters.
>
> Best regards,
> Clint

Reply via email to