You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/07/11 21:08:12 UTC
[GitHub] mikewalch closed pull request #95: Improved handling of prefix
properties
mikewalch closed pull request #95: Improved handling of prefix properties
URL: https://github.com/apache/accumulo-website/pull/95
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/README.md b/README.md
index 5d6d5286..3cd54980 100644
--- a/README.md
+++ b/README.md
@@ -44,8 +44,8 @@ The source for these tags is at [_plugins/links.rb](_plugins/links.rb).
| ----- | ---------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------- |
| jlink | Creates Javadoc link | Link text will be class name by default. Use `-f` for full package + class name | `{% jlink -f org.apache.accumulo.core.client.Connector %}` |
| jurl | Creates Javadoc URL | None | `{% jurl org.apache.accumulo.core.client.Connector %}` |
-| plink | Creates Property link | Assumes server property by default. Use `-c` to link to client properties | `{% plink -c instance.name %}` |
-| purl | Creates Property URL | Default is servery property. Use `-c` to link to client properties | `{% purl instance.volumes %}` |
+| plink | Creates Property link | Assumes server property by default. Use `-c` to link to client properties. Accepts server property prefixes (i.e `table.*`) | `{% plink -c instance.name %}` |
+| purl | Creates Property URL | Default is server property. Use `-c` to link to client properties. Accepts server property prefixes (i.e `table.*`) | `{% purl instance.volumes %}` |
| dlink | Creates Documentation link | None | `{% dlink getting-stared/clients %}` |
| durl | Creates Documentation URL | None | `{% durl troubleshooting/performance %}` |
diff --git a/_docs-2-0/administration/configuration-management.md b/_docs-2-0/administration/configuration-management.md
index 8577017b..a3bc0fc9 100644
--- a/_docs-2-0/administration/configuration-management.md
+++ b/_docs-2-0/administration/configuration-management.md
@@ -49,11 +49,11 @@ System properties consist of all [properties][props] with **zk mutable: yes** in
config -s PROPERTY=VALUE
-If a `table.*` property is set using this method, the value will apply to all tables except those configured on per-table basis (which have higher precedence).
+If a {% plink table.* %} property is set using this method, the value will apply to all tables except those configured on per-table basis (which have higher precedence).
#### Zookeeper Table properties
-[Table properties][tableprops] consist of all properties with the `table.*` prefix.
+Table properties consist of all properties with the {% plink table.* %} prefix.
Table properties are configured for a table namespace (i.e group of tables) or on a per-table basis.
@@ -115,4 +115,3 @@ default | table.failures.ignore ..................... | false
[client-conn]: {% durl getting-started/clients#connecting %}
[client-props]: {% durl development/client-properties %}
[props]: {% durl administration/properties %}
-[tableprops]: {% purl table.prefix %}
diff --git a/_docs-2-0/administration/in-depth-install.md b/_docs-2-0/administration/in-depth-install.md
index d48c51cb..ded15a87 100644
--- a/_docs-2-0/administration/in-depth-install.md
+++ b/_docs-2-0/administration/in-depth-install.md
@@ -303,7 +303,7 @@ or a `accumulo-client.properties` file containing [client properties][client-pro
Accumulo has the ability for users to add custom tags to tables. This allows
applications to set application-level metadata about a table. These tags can be
anything from a table description, administrator notes, date created, etc.
-This is done by naming and setting a property with a prefix `table.custom.*`.
+This is done by naming and setting a property with a prefix {% plink table.custom.* %}.
Currently, table properties are stored in ZooKeeper. This means that the number
and size of custom properties should be restricted on the order of 10's of properties
diff --git a/_docs-2-0/administration/tracing.md b/_docs-2-0/administration/tracing.md
index a24f831a..eb7cfb16 100644
--- a/_docs-2-0/administration/tracing.md
+++ b/_docs-2-0/administration/tracing.md
@@ -349,4 +349,4 @@ Time Start Service@Location Name
[trace.table]: {% purl trace.table %}
[trace.zookeeper.path]: {% purl trace.zookeeper.path %}
[trace.span.receivers]: {% purl trace.span.receivers %}
-[trace.span.receiver.*]: {% purl trace.span.receiver.prefix %}
+[trace.span.receiver.*]: {% purl trace.span.receiver.* %}
diff --git a/_docs-2-0/development/summaries.md b/_docs-2-0/development/summaries.md
index d8391db2..4174fb17 100644
--- a/_docs-2-0/development/summaries.md
+++ b/_docs-2-0/development/summaries.md
@@ -51,7 +51,7 @@ The following tablet server and table properties configure summarization.
* {% plink tserver.summary.partition.threads %}
* {% plink tserver.summary.remote.threads %}
* {% plink tserver.summary.retrieval.threads %}
-* [table.summarizer.*]({% purl table.summarizer.prefix %})
+* {% plink table.summarizer.* %})
* {% plink table.file.summary.maxSize %}
## Permissions
diff --git a/_docs-2-0/getting-started/table_configuration.md b/_docs-2-0/getting-started/table_configuration.md
index aea61861..a5289fb3 100644
--- a/_docs-2-0/getting-started/table_configuration.md
+++ b/_docs-2-0/getting-started/table_configuration.md
@@ -421,9 +421,8 @@ The default behavior of major compactions is defined in the class {% jlink org.a
This behavior can be changed by overriding [table.majc.compaction.strategy] with a fully
qualified class name.
-Custom compaction strategies can have additional properties that are specified following the prefix property:
-
- table.majc.compaction.strategy.opts.*
+Custom compaction strategies can have additional properties that are specified with the
+{% plink table.majc.compaction.strategy.opts.* %} prefix.
Accumulo provides a few classes that can be used as an alternative compaction strategy. These classes are located in the
{% jlink -f org.apache.accumulo.tserver.compaction %} package. {% jlink org.apache.accumulo.tserver.compaction.EverythingCompactionStrategy %}
diff --git a/_plugins/links.rb b/_plugins/links.rb
index 2c00279e..c6e3866d 100755
--- a/_plugins/links.rb
+++ b/_plugins/links.rb
@@ -107,7 +107,7 @@ def render_prop(context, text, link)
if base.nil?
base = context.registers[:site].config['docs_baseurl']
end
- prop_enc = prop.gsub('.', '_')
+ prop_enc = prop.gsub('.', '_').gsub('*', 'prefix')
url = "#{base}/administration/properties##{prop_enc}"
if type == 'client'
url = "#{base}/development/client-properties##{prop_enc}"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services