Buggy code:
public class AstyanaxStoreManager extends AbstractCassandraStoreManager { private static final Logger log = LoggerFactory . getLogger ( AstyanaxStoreManager . class ) ; public static final String CLUSTER_DEFAULT = "Titan<seq2seq4repair_space>Cluster" ; public static final String CLUSTER_KEY = "cluster-name" ; public static final int MAX_CONNECTIONS_PER_HOST_DEFAULT = 32 ; public static final String MAX_CONNECTIONS_PER_HOST_KEY = "max-connections-per-host" ; public static final int MAX_CONNECTIONS_DEFAULT = - 1 ; public static final String MAX_CONNECTIONS_KEY = "max-connections" ; public static final int MAX_OPERATIONS_PER_CONNECTION_DEFAULT = 100 * 1000 ; public static final String MAX_OPERATIONS_PER_CONNECTION_KEY = "max-operations-per-connection" ; public static final int MAX_CLUSTER_CONNECTIONS_PER_HOST_DEFAULT = 3 ; public static final String MAX_CLUSTER_CONNECTIONS_PER_HOST_KEY = "max-cluster-connections-per-host" ; public static final String NODE_DISCOVERY_TYPE_DEFAULT = "RING_DESCRIBE" ; public static final String NODE_DISCOVERY_TYPE_KEY = "node-discovery-type" ; public static final String ASTYANAX_HOST_SUPPLIER_KEY = "host-supplier" ; public static final String CONNECTION_POOL_TYPE_DEFAULT = "TOKEN_AWARE" ; public static final String CONNECTION_POOL_TYPE_KEY = "connection-pool-type" ; public static final String RETRY_POLICY_DEFAULT = "com.netflix.astyanax.retry.BoundedExponentialBackoff,100,25000,8" ; public static final String RETRY_POLICY_KEY = "retry-policy" ; public static final String RETRY_BACKOFF_STRATEGY_DEFAULT = "com.netflix.astyanax.connectionpool.impl.FixedRetryBackoffStrategy,1000,5000" ; public static final String RETRY_BACKOFF_STRATEGY_KEY = "retry-backoff-strategy" ; public static final String RETRY_DELAY_SLICE_KEY = "retry-delay-slice" ; public static final String RETRY_MAX_DELAY_SLICE_KEY = "retry-max-delay-slice" ; public static final String RETRY_SUSPEND_WINDOW_KEY = "retry-suspend-window" ; private final String clusterName ; private final AstyanaxContext < Keyspace > keyspaceContext ; private final AstyanaxContext < Cluster > clusterContext ; private final RetryPolicy retryPolicy ; private final int retryDelaySlice ; private final int retryMaxDelaySlice ; private final int retrySuspendWindow ; private final RetryBackoffStrategy retryBackoffStrategy ; private final Map < String , AstyanaxOrderedKeyColumnValueStore > openStores ; public AstyanaxStoreManager ( Configuration config ) throws StorageException { } @ Override public Deployment getDeployment ( ) { } @ Override @ SuppressWarnings ( "unchecked" ) public IPartitioner < ? extends Token < ? > > getCassandraPartitioner ( ) throws StorageException { } @ Override public String toString ( ) { } @ Override public void close ( ) { } @ Override public synchronized AstyanaxOrderedKeyColumnValueStore openDatabase ( String name ) throws StorageException { } public AstyanaxRecipeLocker openLocker ( String cfName ) throws StorageException { } @ Override public void mutateMany ( Map < String , Map < StaticBuffer , KCVMutation > > batch , StoreTransaction txh ) throws StorageException { } @ Override public void clearStorage ( ) throws StorageException { } private void ensureColumnFamilyExists ( String name ) throws StorageException { } private void ensureColumnFamilyExists ( String name , String comparator ) throws StorageException { } private static AstyanaxContext < Cluster > createCluster ( AstyanaxContext . Builder cb ) { } private Builder getContextBuilder ( Configuration config , int maxConnsPerHost , String usedFor ) { } private void ensureKeyspaceExists ( Cluster cl ) throws StorageException { KeyspaceDefinition ksDef ; try { ksDef = cl . describeKeyspace ( keySpaceName ) ; if ( ( null != ksDef ) && ( ksDef . getName ( ) . equals ( keySpaceName ) ) ) { AstyanaxStoreManager . log . debug ( "Found<seq2seq4repair_space>keyspace<seq2seq4repair_space>{}" , keySpaceName ) ; return ; } } catch ( ConnectionException e ) { AstyanaxStoreManager . log . debug ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>describe<seq2seq4repair_space>keyspace<seq2seq4repair_space>{}" , keySpaceName ) ; } AstyanaxStoreManager . log . debug ( "Creating<seq2seq4repair_space>keyspace<seq2seq4repair_space>{}..." , keySpaceName ) ; try { Map < String , String > stratops = ImmutableMap . of ( "replication_factor" , String . valueOf ( replicationFactor ) ) ; ksDef = cl . makeKeyspaceDefinition ( ) . setName ( keySpaceName ) . setStrategyClass ( "org.apache.cassandra.locator.SimpleStrategy" ) . setStrategyOptions ( stratops ) ; cl . addKeyspace ( ksDef ) ; AstyanaxStoreManager . log . debug ( "Created<seq2seq4repair_space>keyspace<seq2seq4repair_space>{}" , keySpaceName ) ; } catch ( ConnectionException e ) { <START_BUG> AstyanaxStoreManager . log . debug ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>keyspace<seq2seq4repair_space>{},<seq2seq4repair_space>keySpaceName" ) ; <END_BUG> throw new com . thinkaurelius . titan . diskstorage . TemporaryStorageException ( e ) ; } } private static RetryBackoffStrategy getRetryBackoffStrategy ( String desc ) throws PermanentStorageException { } private static RetryPolicy getRetryPolicy ( String serializedRetryPolicy ) throws StorageException { } @ SuppressWarnings ( "unchecked" ) private static < V > V instantiate ( String policyClassName , Integer [ ] args , String raw ) throws Exception { } @ Override public Map < String , String > getCompressionOptions ( String cf ) throws StorageException { } }

Fix:
AstyanaxStoreManager . log . debug ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>keyspace<seq2seq4repair_space>{}" , keySpaceName ) ;