What is the use of truncate command?
Answer / Prabhat Ranjan
The 'truncate' command in HBase deletes all the rows within a table, similar to DELETE FROM '<table_name>' in SQL. However, it does not actually delete data from the HFiles; instead, it resets the start and end timestamps of the table to the current time.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of exists command?
What is the full form of MSLAB?
What is the role of Zookeeper in HBase architecture?
What is the use of HColumnDescriptor class?
hbase support syntax structure like sql. Yes or no?
Tell me about the types of hbase operations?
Why to use hbase?
What are the different compaction types in hbase?
What happens when you issue a delete command in hbase?
State some applications of HBase?
How to delete the table with the HBase shell?
What are different tombstone markers in hbase?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)