Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing Gaffer Accumulo tables pre 0.7.4 cannot be migrated to 0.7.4 #981

Closed
p013570 opened this issue Jun 15, 2017 · 1 comment
Closed
Assignees
Labels
bug Confirmed or suspected bug
Milestone

Comments

@p013570
Copy link
Member

p013570 commented Jun 15, 2017

The AddUpdateTableIterator utility is used to migrate an accumulo table from one version to the next. However, the utility validates the table prior to upgrading it and if the validation fails then the table will not be upgraded.

The Accumulo aggregator iterator config was changed in 0.7.4 and this means the utility will always fail to run.

As a work around you will need to open the accumulo shell and manually update the Aggregator iterator config before running the AddUpdateTableIterator utility:

config -t <table-name> -s table.iterator.majc.Aggregator.opt.columns=<csv of your gaffer element groups>
config -t <table-name> -s table.iterator.minc.Aggregator.opt.columns=<csv of your gaffer element groups>
config -t <table-name> -s table.iterator.scan.Aggregator.opt.columns=<csv of your gaffer element groups>

config -t <table-name> -d table.iterator.majc.Aggregator.opt.all
config -t <table-name> -d table.iterator.minc.Aggregator.opt.all
config -t <table-name> -d table.iterator.scan.Aggregator.opt.all
@p013570 p013570 added bug Confirmed or suspected bug p:critical labels Jun 15, 2017
@p013570 p013570 added this to the v0.7.5 milestone Jun 15, 2017
@p013570 p013570 self-assigned this Jun 15, 2017
@p013570 p013570 changed the title Existing Gaffer Accumulo tables pre 0.7.4 cannot be migrated to 0.7.3 Existing Gaffer Accumulo tables pre 0.7.3 cannot be migrated to 0.7.4 Jun 15, 2017
@p013570 p013570 changed the title Existing Gaffer Accumulo tables pre 0.7.3 cannot be migrated to 0.7.4 Existing Gaffer Accumulo tables pre 0.7.4 cannot be migrated to 0.7.4 Jun 15, 2017
@p013570 p013570 added p:high and removed p:critical labels Jun 15, 2017
p013570 added a commit that referenced this issue Jun 21, 2017
gh-981 - Fixed the accumulo and hbase table utils
@p013570
Copy link
Member Author

p013570 commented Jun 21, 2017

Merged into develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed or suspected bug
Projects
None yet
Development

No branches or pull requests

1 participant