java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata

DataStax JIRA | Daniel Cohen | 1 year ago
  1. 0

    User application had a v2.0.2 Java driver connecting to Cassandra 2.1.11.872 (DSE v4.8.2). This "older" driver expected a table metadata column populate_io_cache_on_flush, which had been recently removed. The driver logged an error in the user application, copied below. A better error message would inform the user of of the version/protocol mismatch, eg that this driver version x.x.x is incompatible with Cassandra version y.y.y. Upon upgrading to Java driver v2.1.5, the error disappeared. {code} [2015-11-26 08:58:08,991]ERROR 436[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.encrypted_keys: Cluster.getMetadata().getKeyspace("dse_system").getTable("encrypted_keys").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-26 08:58:08,995]ERROR 440[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.leases: Cluster.getMetadata().getKeyspace("dse_system").getTable("leases").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-26 08:58:08,996]ERROR 441[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.real_leaders: Cluster.getMetadata().getKeyspace("dse_system").getTable("real_leaders").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-25 22:00:58,080]ERROR 458[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table system.schema_columnfamilies: Cluster.getMetadata().getKeyspace("system").getTable("schema_columnfamilies").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] {code}

    DataStax JIRA | 1 year ago | Daniel Cohen
    java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata
  2. 0

    User application had a v2.0.2 Java driver connecting to Cassandra 2.1.11.872 (DSE v4.8.2). This "older" driver expected a table metadata column populate_io_cache_on_flush, which had been recently removed. The driver logged an error in the user application, copied below. A better error message would inform the user of of the version/protocol mismatch, eg that this driver version x.x.x is incompatible with Cassandra version y.y.y. Upon upgrading to Java driver v2.1.5, the error disappeared. {code} [2015-11-26 08:58:08,991]ERROR 436[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.encrypted_keys: Cluster.getMetadata().getKeyspace("dse_system").getTable("encrypted_keys").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-26 08:58:08,995]ERROR 440[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.leases: Cluster.getMetadata().getKeyspace("dse_system").getTable("leases").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-26 08:58:08,996]ERROR 441[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table dse_system.real_leaders: Cluster.getMetadata().getKeyspace("dse_system").getTable("real_leaders").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] [2015-11-25 22:00:58,080]ERROR 458[Cod(cod)] - com.datastax.driver.core.TableMetadata.build(TableMetadata.java:123) - Error parsing schema options for table system.schema_columnfamilies: Cluster.getMetadata().getKeyspace("system").getTable("schema_columnfamilies").getOptions() will return null java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273) at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279) at com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56) at com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529) at com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119) at com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150) at com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94) at com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294) at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231) at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171) at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79) at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104) at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271) [redacted] {code}

    DataStax JIRA | 1 year ago | Daniel Cohen
    java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata
  3. 0

    Check for Cassandra 2.1 compatibility

    GitHub | 2 years ago | tobert
    java.lang.IllegalArgumentException: populate_io_cache_on_flush is not a column defined in this metadata
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Commented] (CASSANDRA-6631) cassandra-stress failing in trunk

    apache.org | 2 years ago
    java.lang.RuntimeException: java.lang.IllegalArgumentException: replicate_on_write is not a column defined in this metadata
  6. 0

    [CASSANDRA-6631] cassandra-stress failing in trunk - ASF JIRA

    apache.org | 1 year ago
    java.lang.RuntimeException: java.lang.IllegalArgumentException: replicate_on_write is not a column defined in this metadata

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      populate_io_cache_on_flush is not a column defined in this metadata

      at com.datastax.driver.core.ColumnDefinitions.getAllIdx()
    2. DataStax Java Driver for Apache Cassandra - Core
      Cluster.getMetadata
      1. com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:273)
      2. com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:279)
      3. com.datastax.driver.core.ArrayBackedRow.isNull(ArrayBackedRow.java:56)
      4. com.datastax.driver.core.TableMetadata$Options.<init>(TableMetadata.java:529)
      5. com.datastax.driver.core.TableMetadata.build(TableMetadata.java:119)
      6. com.datastax.driver.core.Metadata.buildTableMetadata(Metadata.java:150)
      7. com.datastax.driver.core.Metadata.rebuildSchema(Metadata.java:94)
      8. com.datastax.driver.core.ControlConnection.refreshSchema(ControlConnection.java:294)
      9. com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:231)
      10. com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:171)
      11. com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
      12. com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1104)
      13. com.datastax.driver.core.Cluster.getMetadata(Cluster.java:271)
      13 frames