@Override @Before public void setUp() throws Exception { if (!tablesCreated) { if (NODE1 == null) { NODE1 = CLUSTER.startNode(getNodeSettings()); } if (NODE2 == null) { NODE2 = CLUSTER.startNode(getNodeSettings()); } for (int i = 0; i < tablesAmount(); ++i) { execute( "create table setup_" + i + " (" + " countryName string," + " population integer," + " continent string" + ") clustered into 1 shards with (number_of_replicas=0)", new Object[0], false); } } tablesCreated = true; }