This is an automated email from the ASF dual-hosted git repository.
vivekratnavel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 157864a HDDS-4208. Fix table rendering and logo display in docs
(#1391)
157864a is described below
commit 157864ad09788fdc72fee50abdf0e6b16bc74527
Author: Vivek Ratnavel Subramanian <[email protected]>
AuthorDate: Fri Sep 4 10:55:38 2020 -0700
HDDS-4208. Fix table rendering and logo display in docs (#1391)
---
hadoop-hdds/docs/content/_index.md | 2 +-
hadoop-hdds/docs/content/concept/OzoneManager.md | 8 ++++----
hadoop-hdds/docs/content/concept/StorageContainerManager.md | 6 +++---
hadoop-hdds/docs/content/feature/Observability.md | 4 ++--
hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css | 9 ++-------
5 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/hadoop-hdds/docs/content/_index.md
b/hadoop-hdds/docs/content/_index.md
index 9bc7a7a..7890f6f 100644
--- a/hadoop-hdds/docs/content/_index.md
+++ b/hadoop-hdds/docs/content/_index.md
@@ -23,7 +23,7 @@ weight: -10
# Apache Hadoop Ozone
-{{<figure src="/ozone-usage.png" width="60%">}}
+{{<figure class="ozone-usage" src="/ozone-usage.png" width="60%">}}
*_Ozone is a scalable, redundant, and distributed object store for Hadoop. <p>
Apart from scaling to billions of objects of varying sizes,
diff --git a/hadoop-hdds/docs/content/concept/OzoneManager.md
b/hadoop-hdds/docs/content/concept/OzoneManager.md
index f0711ed..0930ec9 100644
--- a/hadoop-hdds/docs/content/concept/OzoneManager.md
+++ b/hadoop-hdds/docs/content/concept/OzoneManager.md
@@ -129,16 +129,16 @@ The following data is persisted in Ozone Manager side in
a specific RocksDB dire
* PrefixInfo table
* specific index table to store directory level ACL and to provide better
performance for hierarchical queries
* S3 secret table
- * For S# secret management
+ * For S3 secret management
* Multipart info table
* Inflight uploads should be tracked
* Deleted table
* To track the blocks which should be deleted from the datanodes
-## Notable configuration
+## Notable configurations
-key | default | description |
-----|-------------|--------
+key | default | description
+----|---------|------------
ozone.om.address | 0.0.0.0:9862 | RPC address of the OM. Required by the
client.
ozone.om.http-address | 0.0.0.0:9874 | Default port of the HTTP server.
ozone.metadata.dirs | none | Directory to store persisted data (RocksDB).
diff --git a/hadoop-hdds/docs/content/concept/StorageContainerManager.md
b/hadoop-hdds/docs/content/concept/StorageContainerManager.md
index c0a7c0b..9636af5 100644
--- a/hadoop-hdds/docs/content/concept/StorageContainerManager.md
+++ b/hadoop-hdds/docs/content/concept/StorageContainerManager.md
@@ -88,10 +88,10 @@ The following data is persisted in Storage Container
Manager side in a specific
* Valid cert, Revoked certs
* Used by the internal Certificate Authority to authorize other Ozone
services
-## Notable configuration
+## Notable configurations
-key | default | description |
-----|-------------|--------
+key | default | description
+----|---------|------------
ozone.scm.container.size | 5GB | Default container size used by Ozone
ozone.scm.block.size | 256MB | The default size of a data block.
hdds.scm.safemode.min.datanode | 1 | Minimum number of datanodes to start the
real work.
diff --git a/hadoop-hdds/docs/content/feature/Observability.md
b/hadoop-hdds/docs/content/feature/Observability.md
index 2913abd..cab6878 100644
--- a/hadoop-hdds/docs/content/feature/Observability.md
+++ b/hadoop-hdds/docs/content/feature/Observability.md
@@ -27,11 +27,11 @@ Ozone provides multiple tools to get more information about
the current state of
## Prometheus
-Ozone has native Prometheus. Each internal metrics (collected by Hadoop
metrics framework) published under the `/prom` HTTP context. (For example under
http://localhost:9876/prom for SCM).
+Ozone has native support for Prometheus integration. All internal metrics
(collected by Hadoop metrics framework) are published under the `/prom` HTTP
endpoint. (For example under http://localhost:9876/prom for SCM).
The Prometheus endpoint is turned on by default but can be turned off by the
`hdds.prometheus.endpoint.enabled` configuration variable.
-In a secure environment the page is guarded with SPNEGO authentication which
is not supported by Prometheus. To enable monitoring in a secure environment a
specific authentication token cen be configured
+In a secure environment the page is guarded with SPNEGO authentication which
is not supported by Prometheus. To enable monitoring in a secure environment, a
specific authentication token can be configured
Example `ozone-site.xml`:
diff --git a/hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css
b/hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css
index b9b4ea9..1e6061f 100644
--- a/hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css
+++ b/hadoop-hdds/docs/themes/ozonedoc/static/css/ozonedoc.css
@@ -103,7 +103,6 @@ a:hover {
background-color: #73B148;
}
-
/*
* Main content
*/
@@ -141,9 +140,6 @@ a:hover {
border-radius: 50%;
}
-
-
-
h4 {
font-weight: bold;
}
@@ -168,11 +164,10 @@ h1 {
padding: 20px;
}
-img {
+figure.ozone-usage {
padding: 40px;
}
table.table {
- margin: 20px;
- margin-bottom: 40px;
+ margin: 20px 20px 40px;
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]