You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Anoop Sharma (JIRA)" <ji...@apache.org> on 2017/08/18 14:55:00 UTC

[jira] [Created] (TRAFODION-2722) change purgedata to use hbase truncate api instead of drop/create

Anoop Sharma created TRAFODION-2722:
---------------------------------------

             Summary: change purgedata to use hbase truncate api instead of drop/create
                 Key: TRAFODION-2722
                 URL: https://issues.apache.org/jira/browse/TRAFODION-2722
             Project: Apache Trafodion
          Issue Type: Improvement
            Reporter: Anoop Sharma
            Assignee: Anoop Sharma
            Priority: Minor


currently, traf purgedata command runs by first dropping underlying hbase
objects for a table and its associated indexes, and then recreating them.
At recreation time, the original hbase options and keys are used.

drop/create was done during early days of traf when hbase didn't provide an api
to truncate objects.

Now that the truncate api is available, this jira proposes changing code to use it
instead of drop/create. This would improve performance as well as avoid the need
to recreate using the original options.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)