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):
- Create an RFileScanner
- 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.