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

Java System Properties not documented #4935

Open
dlmarion opened this issue Oct 2, 2024 · 0 comments
Open

Java System Properties not documented #4935

dlmarion opened this issue Oct 2, 2024 · 0 comments
Labels
enhancement This issue describes a new feature, improvement, or optimization.

Comments

@dlmarion
Copy link
Contributor

dlmarion commented Oct 2, 2024

Accumulo allows the user to modify the behavior of the runtime via Java System properties, but these are not documented anywhere. I found the following:

In CompressionAlgorithm.java, introduced into 2.1.0 via #2518 , the code allows the user to specify a different class name for the different compression algorithms. The value passed in for the property name is the value specified by the getCodecClassNameProperty method in the subclasses of CompressionAlgorithmConfiguration. For example, in 2.1 these are currently io.compression.codec.bzip2.class, io.compression.codec.lz4.class, io.compression.codec.lzo.class, io.compression.codec.snappy.class, and io.compression.codec.zstd.class.

if (codecClazzProp != null) {
clazz = System.getProperty(codecClazzProp, getConf().get(codecClazzProp, defaultClazz));
}

Other system properties are being used in SiteConfiguration and one is being introduced into 3.1 via #4880.

@dlmarion dlmarion added the enhancement This issue describes a new feature, improvement, or optimization. label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Projects
None yet
Development

No branches or pull requests

1 participant