You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2022/09/29 18:18:00 UTC
[accumulo-website] branch next-release updated: Fix use of non-public API in config examples
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch next-release
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git
The following commit(s) were added to refs/heads/next-release by this push:
new 4dbd6b5f Fix use of non-public API in config examples
4dbd6b5f is described below
commit 4dbd6b5f95a406d790fcbbd5182ed9fbcdef3f75
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Sep 29 14:17:35 2022 -0400
Fix use of non-public API in config examples
Replace internal use of "Property.KEY.getKey()" with actual user-facing
String key value, because org.apache.accumulo.core.conf.Property is not
public API
Re #341
---
_docs-2/configuration/overview.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/_docs-2/configuration/overview.md b/_docs-2/configuration/overview.md
index f893a8cc..42596359 100644
--- a/_docs-2/configuration/overview.md
+++ b/_docs-2/configuration/overview.md
@@ -63,7 +63,7 @@ The java api also supports adding, modifying and removing multiple properties in
```java
client.instanceOperations().modifyProperties(properties -> {
- properties.remove(Property.TABLE_FILE_MAX.getKey());
+ properties.remove("table.file.max");
properties.put("table.bloom.enabled", "true");
properties.put("table.bloom.error.rate", "0.75");
properties.put("table.bloom.size", "128000");
@@ -87,7 +87,7 @@ The java api also supports adding, modifying and removing multiple properties in
```java
client.namespaceOperations().modifyProperties("mynamespace", properties -> {
- properties.remove(Property.TABLE_FILE_MAX.getKey());
+ properties.remove("table.file.max");
properties.put("table.bloom.enabled", "true");
properties.put("table.bloom.error.rate", "0.75");
properties.put("table.bloom.size", "128000");
@@ -109,7 +109,7 @@ The java api also supports adding, modifying and removing multiple properties in
```java
client.tableOperations().modifyProperties("mytable", properties -> {
- properties.remove(Property.TABLE_FILE_MAX.getKey());
+ properties.remove("table.file.max");
properties.put("table.bloom.enabled", "true");
properties.put("table.bloom.error.rate", "0.75");
properties.put("table.bloom.size", "128000");