Re: [Cassandra 3.0.9 ] Disable “delete/Truncate/Drop”
Hi Abhishek, Truncate is very much a part of CQL and it does exactly what the name suggests i.e truncating/deleting all the rows of the table. TRUNCATE sends a JMX command to all nodes, telling them to delete SSTables that hold the data from the specified table. If any of these nodes is down or doesn't respond, the command fails. Hence, it is important to ensure the command is run using CONSISTENCY ALL and when all the nodes are up. (use nodetool status) Please see https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlTruncate.html for further details. Thanks, Abhishek On Tue, Apr 4, 2017 at 1:58 PM, Abhishek Kumar Maheshwari < abhishek.maheshw...@timesinternet.in> wrote: > Hi all, > > > > There is any way to disable “delete/Truncate/Drop” command on Cassandra? > > > > If yes then how we can implement this? > > > > *Thanks & Regards,* > *Abhishek Kumar Maheshwari* > *+91- 805591 (Mobile)* > > Times Internet Ltd. | A Times of India Group Company > > FC - 6, Sector 16A, Film City, Noida, U.P. 201301 | INDIA > > *P** Please do not print this email unless it is absolutely necessary. > Spread environmental awareness.* > > > The “Times Cartoonist Hunt” is now your chance to be the next legendary > cartoonist. Send us 2 original cartoons, one on current affairs and the > second on any subject of your choice. All entries must be uploaded on > www.toicartoonisthunt.com by 5th April 2017. Alternatively, you can email > your entries at toicarto...@gmail.com with your Name, Age, City and > Mobile number. Gear up, the Hunt has begun! >
Re: [Cassandra 3.0.9 ] Disable “delete/Truncate/Drop”
Hi Abhishek, You can restrict commands a user can issue by enabling authentication & authorization, then authorizing concerned user with appropriate privileges. For reference : http://cassandra.apache.org/doc/latest/cql/security.html Thanks, Bhuvan On Tue, Apr 4, 2017 at 1:58 PM, Abhishek Kumar Maheshwari < abhishek.maheshw...@timesinternet.in> wrote: > Hi all, > > > > There is any way to disable “delete/Truncate/Drop” command on Cassandra? > > > > If yes then how we can implement this? > > > > *Thanks & Regards,* > *Abhishek Kumar Maheshwari* > *+91- 805591 (Mobile)* > > Times Internet Ltd. | A Times of India Group Company > > FC - 6, Sector 16A, Film City, Noida, U.P. 201301 | INDIA > > *P** Please do not print this email unless it is absolutely necessary. > Spread environmental awareness.* > > > The “Times Cartoonist Hunt” is now your chance to be the next legendary > cartoonist. Send us 2 original cartoons, one on current affairs and the > second on any subject of your choice. All entries must be uploaded on > www.toicartoonisthunt.com by 5th April 2017. Alternatively, you can email > your entries at toicarto...@gmail.com with your Name, Age, City and > Mobile number. Gear up, the Hunt has begun! >
[Cassandra 3.0.9 ] Disable “delete/Truncate/Drop”
Hi all, There is any way to disable “delete/Truncate/Drop” command on Cassandra? If yes then how we can implement this? Thanks & Regards, Abhishek Kumar Maheshwari +91- 805591 (Mobile) Times Internet Ltd. | A Times of India Group Company FC - 6, Sector 16A, Film City, Noida, U.P. 201301 | INDIA P Please do not print this email unless it is absolutely necessary. Spread environmental awareness. The “Times Cartoonist Hunt” is now your chance to be the next legendary cartoonist. Send us 2 original cartoons, one on current affairs and the second on any subject of your choice. All entries must be uploaded on www.toicartoonisthunt.com by 5th April 2017. Alternatively, you can email your entries at toicarto...@gmail.com with your Name, Age, City and Mobile number. Gear up, the Hunt has begun!