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

Remove uses of deprecated and non-public accumulo apis #2443

Open
ivakegg opened this issue Jun 26, 2024 · 1 comment
Open

Remove uses of deprecated and non-public accumulo apis #2443

ivakegg opened this issue Jun 26, 2024 · 1 comment
Assignees

Comments

@ivakegg
Copy link
Collaborator

ivakegg commented Jun 26, 2024

Se need to do a scrub of datawave and remove any uses of non-public and deprecated accumulo apis. Note that for non-public apis, there may be situations where that cannot be done and we can subsequently request that accumulo make something public for us.

lbschanno added a commit that referenced this issue Aug 6, 2024
Replace usages of
org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat with the
recommended org.apache.accumulo.hadoop.mapreduce.AccumuloInputFormat.

Part of #2443
lbschanno added a commit that referenced this issue Aug 6, 2024
Replace a call to the deprecated FileSystem.isFile(Path path) with
FileSystem.getFileStatus(Path path).

Part of #2443
lbschanno added a commit that referenced this issue Aug 6, 2024
The class GnuParser is deprecated. Replace usages with DefaultParser
instead.

Part of #2443.
lbschanno added a commit that referenced this issue Aug 6, 2024
Update several deprecated calls to SequenceFile.createWriter() to use
SequenceFile.createWriter(Configuration conf,
SequenceFile.Writer.Option... opts) instead.

Part of #2443
lbschanno added a commit that referenced this issue Aug 6, 2024
Remove several references to the deprecated class ZooKeeperInstance.

Part of #2443.
lbschanno added a commit that referenced this issue Aug 6, 2024
Update usages of new Job(Configuration) with
Job.getInstance(Configuration).

Part of #2443
lbschanno added a commit that referenced this issue Aug 6, 2024
Connector is now deprecated. Use AccumuloClient instead.

Part of #2443
ivakegg pushed a commit that referenced this issue Sep 4, 2024
Remove several references to the deprecated class ZooKeeperInstance.

Part of #2443.
ivakegg pushed a commit that referenced this issue Sep 4, 2024
Update usages of new Job(Configuration) with
Job.getInstance(Configuration).

Part of #2443
lbschanno added a commit that referenced this issue Sep 6, 2024
Update SessionOptions to fully implement ScannerBase instead of
extending ScannerOptions. This is done to avoid using ScannerOptions
since it is not from Accumulo's public API.

Part of work for #2443
lbschanno added a commit that referenced this issue Oct 4, 2024
org.apache.accumulo.core.util.PeekingIterator is part of Accumulo's
non-public API. Replace all usages of it with
org.apache.commons.collections4.iterators.PeekingIterator.

Part of work for #2443
alerman added a commit that referenced this issue Oct 10, 2024
* Replace usage of deprecated AccumuloInputFormat

Replace usages of
org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat with the
recommended org.apache.accumulo.hadoop.mapreduce.AccumuloInputFormat.

Part of #2443

* Format calls to builders

* Fix formatter tag typo

---------

Co-authored-by: alerman <awlerma@uwe.nsa.gov>
Co-authored-by: Daniel Roberts <ddanielr@gmail.com>
ivakegg pushed a commit that referenced this issue Nov 1, 2024
org.apache.accumulo.core.util.PeekingIterator is part of Accumulo's
non-public API. Replace all usages of it with
org.apache.commons.collections4.iterators.PeekingIterator.

Part of work for #2443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants