Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2722

change purgedata to use hbase truncate api instead of drop/create

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              anoopsharma Anoop Sharma
              anoopsharma Anoop Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: