We have an HBase table with multiple families, and we need to delete all data for a certain family, but leave the rest untouched. We only need to delete the data, and leave the family there, as we will be repopulating the table with new data for that family. The simplest way seems to be to delete the files associated with that family from the file system (found under ../{table_name}/{some_hash}/{family_name}/). Are there any side effects to doing this that we should be aware of? If there are, are there any safer, easy ways to do this?
相关问题
- Spark on Yarn Container Failure
- enableHiveSupport throws error in java spark code
- spark select and add columns with alias
- Unable to generate jar file for Hadoop
-
hive: cast array
> into map
相关文章
- Java写文件至HDFS失败
- mapreduce count example
- hbase-client 2.0.x error
- Could you give me any clue Why 'Cannot call me
- Hive error: parseexception missing EOF
- Exception in thread “main” java.lang.NoClassDefFou
- ClassNotFoundException: org.apache.spark.SparkConf
- How can I configure the maven shade plugin to incl
The safer way would be to deleteColumn and remove the family completely and then re-add it with addColumn. Note that you need to disable the table before you make these changes