Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.0
-
None
-
None
Description
HBaseTimelineSchemaCreator currently only creates tables if they don't exist. Only creating hbase tables without altering is the desired behavior for most of the use cases.
However, in certain scenarios we might need to alter tables.
For example after upgrade, we might need to point to a new coprocessor jar in yarn.timeline-service.hbase.coprocessor.jar.hdfs.location .
A user might also want to change the ttl of the tables afterwards to control the data retention. Currently user has to manually find the tables related to atsv2 and alter them with hbase shell, which is not straightforward.
To support such scenarios, it will be useful to have an option to alter table if required in HBaseTimelineSchemaCreator.