2015-10-30 37 views
0

我一直在我的測試環境中使用titan-cassandra storage.backend = cassandra,最近得知我可以簡單地在storage.backend = inmemory中進行測試,以測試in - 記憶圖。由於這將大大提高數百個測試的速度 - 這聽起來不錯。但是,對我其他簡單的測試配置進行這種更改會導致許多一次通過的測試失敗。下面是我的配置:Titan storage.backend = inmemory導致不兼容的數據類型異常

storage.backend=inmemory 
storage.hostname=localhost 
storage.cassandra.keyspace=test 

有跡象表明上來,絕大多數存在兩個誤區:

java.lang.IllegalArgumentException: Incompatible data types for: variable 

,而更常見的有:

com.thinkaurelius.titan.core.TitanException: Could not commit transaction due to exception during persistence 

我如何能解決任何想法這些問題?

回答

0

我也在內存圖形數據庫中使用我的測試。雖然,我沒有指定任何主機名,我嘗試使用,現在,本地主機,它仍然有效。我相信這個問題可能在其他地方,現在已經解決了。