Skip to content

Conversation

@Kidcredible300
Copy link
Contributor

Although it can build, whether the proxy itself works hasn't been fully tested.

… Several methods were removed or renamed, and workarounds had to be found. However, the actual functionality of the Proxy has not been fully tested yet.
@Kidcredible300 Kidcredible300 marked this pull request as draft June 11, 2025 18:10
@Kidcredible300
Copy link
Contributor Author

This updated version of the proxy does appear to successfully allow another program to connect to Accumulo!

@DomGarguilo
Copy link
Member

DomGarguilo commented Jun 18, 2025

Taking a look at this now. One thing to make sure of is that the versions (hadoop, zookeeper, etc.) match whats in 2.1.3. Comparing the poms, i see mismatches for the parent pom version, the hadoop version. Also, not super related is I think we can remove the surefire version listed in the accumulo-proxy pom as that is handled by the parent pom.

Another place to double check for correct versions would be the dockerfile.

Edit: Actually I think updating the dockerfile could be handled as a follow-on PR.

… that arose from updating various dependencies.
@Kidcredible300 Kidcredible300 marked this pull request as ready for review June 18, 2025 19:23
@DomGarguilo
Copy link
Member

How did you test this?

@Kidcredible300
Copy link
Contributor Author

I tested it by creating a web app in python that used a python library to communicate with an instance of Accumulo through the Proxy. I was able to fully test logging in as a user, reading the contents of a table, and adding mutations to the table. Accumulo was installed using Fluo Uno. Through this process, I had to wrestle with the deprecated python 3 library I forked significantly more than the proxy itself.

@Kidcredible300
Copy link
Contributor Author

I was able to update and test the Dockerfile. Since that pertains to updating everything to Accumulo 2.1.3 I'll add those changes to this PR.

Updated versions and hashes of Hadoop, Zookeeper, and Accumulo to fit the versions used in Accumulo 2.1.3. Additionally, updated "ENV name value" to "ENV name=value" (since Docker said that the former was outdated). Tested proxy through docker, confirmed that it functions as normal
Copy link
Contributor

@ddanielr ddanielr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes were tested locally and ITs are passing.
Minor suggestions added to the PR.

Comment on lines +2122 to +2123
// TODO - This was left blank, I'm not sure why it's here. For now, it will log the max
// memory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at ConditionalWriterConfig, there is no variable to assign for maxMemory.

I'm not sure why that is in the proxy.thrift as I don't see a maxMemory value in accumulo at all.

This can probably be removed in a follow up PR that modifies the proxy.thrift code and regenerates the thrift generated java code.

}

// TODO: This MetricsInfo is a stub Metrics Info to allow the timed processor to build. If Metrics
// are wanted or needed in a later version of the proxy, this can be updated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest creating an issue ticket for adding a metrics Info object.

@ddanielr
Copy link
Contributor

I looked at the warnings being produced in the build.
I think the <optimize> config option can be removed from the maven-compiler-plugin section as well as the <overrideConfigCompilerVersion>

@ddanielr ddanielr merged commit cc6342d into apache:main Jul 1, 2025
2 checks passed
@Kidcredible300 Kidcredible300 deleted the update-to-newest-accumulo branch July 2, 2025 21:51
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

Successfully merging this pull request may close these issues.

3 participants