尝试将压缩策略更改为DTCS时,请调用:
[12/16/15 9:27:27:146 CET] 00000096 webapp I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [CATAPP#web-0.0.1-SNAPSHOT.war]:.Destroying Spring FrameworkServlet 'IntegrationContext'
[12/16/15 9:39:36:112 CET] 000000f1 ThreadMonitor W WSVR0605W: Thread "Default : 2" (00000096) has been active for 729034 milliseconds and may be hung. There is/are 1 thread(s) in total in the server that may be hung.
结束于:
ALTER TABLE sp.table WITH compaction = {
'class' : 'DateTieredCompactionStrategy ',
'base_time_seconds':'3600',
'max_sstable_age_days':'7'
};
我的环境:
答案 0 :(得分:1)
看起来你在压缩策略字符串的末尾有一个空格。尝试:
ALTER TABLE sp.table WITH compaction = {
'class' : 'DateTieredCompactionStrategy',
'base_time_seconds':'3600',
'max_sstable_age_days':'7'
};