Skip to content

RFileScanner's IteratorEnvironment throws UnsupportedOperationException for getConfig() and getServiceEnv() #4810

@FineAndDandy

Description

@FineAndDandy

Describe the bug
When attaching an iterator to an RFileScanner which uses either the iterator environments config or ServiceEnvironment, the iterators will throw UnsupportedOperationExceptions

Versions (OS, Maven, Java, and others, as appropriate):
Accumulo 2.x

To Reproduce
Steps to reproduce the behavior (or a link to an example repository that reproduces the problem):

  1. Create an RFileScanner
  2. Attach an Iterator which in the init method calls env.getConfig() or env.getServiceEnv()

Expected behavior
The config for the RFileScanner should be built from any table properties passed into the builder's withTableProperties() method. These properties can also be returned for any env.getServiceEnv().getConfiguration() or env.getServiceEnv().getConfiguration(TableId) methods.

Metadata

Metadata

Assignees

Labels

bugThis issue has been verified to be a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions