RE: Tables showing up as our_table-147a2090ed4211e480153bc81e542ebd/ in data dir
See https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L173 SSTable data directory name is slightly changed. Each directory will have hex string appended after CF name, e.g. ks/cf-5be396077b811e3a3ab9dc4b9ac088d/ This hex string part represents unique ColumnFamily ID. Note that existing directories are used as is, so only newly created directories after upgrade have new directory name format. From: Donald Smith [mailto:donald.sm...@audiencescience.com] Sent: Wednesday, April 29, 2015 8:04 AM To: user@cassandra.apache.org Subject: Tables showing up as our_table-147a2090ed4211e480153bc81e542ebd/ in data dir Using 2.1.4, tables in our data/ directory are showing up as our_table-147a2090ed4211e480153bc81e542ebd/ instead of as our_table/ Why would that happen? We're also seeing lagging compactions and high cpu usage. Thanks, Don
Re: Tables showing up as our_table-147a2090ed4211e480153bc81e542ebd/ in data dir
Directory structure is changed in 2.1 to prevent various problems caused by DROP/re-CREATE the same table (https://issues.apache.org/jira/browse/CASSANDRA-5202). From NEWS.txt: 2.1 === New features ... - SSTable data directory name is slightly changed. Each directory will have hex string appended after CF name, e.g. ks/cf-5be396077b811e3a3ab9dc4b9ac088d/ This hex string part represents unique ColumnFamily ID. Note that existing directories are used as is, so only newly created directories after upgrade have new directory name format. On Wed, Apr 29, 2015 at 2:04 PM, Donald Smith donald.sm...@audiencescience.com wrote: Using 2.1.4, tables in our data/ directory are showing up as our_table-147a2090ed4211e480153bc81e542ebd/ instead of as our_table/ Why would that happen? We're also seeing lagging compactions and high cpu usage. Thanks, Don -- Yuki Morishita t:yukim (http://twitter.com/yukim)
Re: Tables showing up as our_table-147a2090ed4211e480153bc81e542ebd/ in data dir
see https://github.com/apache/cassandra/blob/cassandra-2.1/NEWS.txt#L77 SSTable data directory name will have hex string appended after CF name 2015-04-29 13:04 GMT+08:00 Donald Smith donald.sm...@audiencescience.com: Using 2.1.4, tables in our data/ directory are showing up as our_table-147a2090ed4211e480153bc81e542ebd/ instead of as our_table/ Why would that happen? We're also seeing lagging compactions and high cpu usage. Thanks, Don -- Thanks, Phil Yang