Skip to content

Make exportTable command volume aware #2872

Open

Description

@EdColeman

Is your feature request related to a problem? Please describe.
When using exportTable command, it does not take into consideration of multiple volumes and creates a single distcp.txt file. The file does not differentiate between volumes and the file must be post-processed to separate the files by volume(s) for feeding to individual distcp commands for each volume when exporting a table that uses more than one volume.

Describe the solution you'd like
Have the command generate a single file (distcp) list per volume. The solution should play nice with importTable command. It may also be useful if the exported metadata and the distcp file lists are preserved after the import table process to allow for post-processing validation.

Additional context
This is a follow on to #2869, #2871 and #2849 (offline option) which implement work-arounds for exportTable and importTable not being volume aware. Inspired by changes submitted by @drewfarris for importTable to handle multiple directories.

Activity

  1. added
    enhancementThis issue describes a new feature, improvement, or optimization.
    on Aug 10, 2022
  2. AlbertWhitlock commented on Feb 17, 2023

    @AlbertWhitlock
    Contributor

    I have logic in place and starting to test the changes now.

  3. added a commit that references this issue on Mar 6, 2023
  4. ctubbsii commented on Aug 2, 2023

    @ctubbsii
    Member

    In discussions on #3228, I've become aware that the term "Volume aware" isn't quite the right terminology for what is needed. What it needs to be is "FileSystem aware". Files need to be grouped by Hadoop FileSystem instances (not just FileSystem types), regardless of how they map to Accumulo Volume instances. The limitation on distcp is copying across Hadoop FileSystems. DistCp has no knowledge of, or concept of, Accumulo Volumes.

  5. modified the milestones: 3.1.0, 2.1.3 on Jul 12, 2024
  6. modified the milestones: 2.1.3, 2.1.4 on Jul 26, 2024
  7. modified the milestones: 2.1.4, 2.1.5 on Aug 13, 2025
  8. modified the milestones: 2.1.5, 2.1.6 on Jul 8, 2026
  9. modified the milestones: 2.1.6, 2.1.7 on Jul 16, 2026
  10. ddanielr commented on Oct 7, 2026

    @ddanielr
    Contributor

    @AlbertWhitlock are you still interested in working this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementThis issue describes a new feature, improvement, or optimization.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions