Skip to content

Commit 4d844d1

Browse files
authored
Fix broken links on zookeeper page (#467)
Fix broken anchor links and link name Fixes the warning about CMD arg format when building the docker image.
1 parent c6502ac commit 4d844d1

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ ENV PORT=4000
3232
EXPOSE $PORT
3333

3434
# Configure the default command to build from the mounted repository.
35-
CMD bundle exec jekyll serve -H $HOST -P $PORT
35+
CMD ["sh", "-c", "bundle exec jekyll serve -H ${HOST} -P ${PORT}"]

_docs-2/troubleshooting/zookeeper.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: 7
77

88
Accumulo requires full access to nodes in ZooKeeper under the /accumulo path. The ACLs can be examined using the
99
ZooKeeper cli `getAcl` and modified with `setAcl` commands. With 2.1.1, the zoo-info-viewer utility has an option
10-
that will print all of the ACLs for the nodes under `/accumulo/[INSTANCE_ID]` (See [zoo-info-viewer]).
10+
that will print all of the ACLs for the nodes under `/accumulo/[INSTANCE_ID]` (See [zoo-info-viewer --print-acls]).
1111
To run the utility, only ZooKeeper needs to be running. If hdfs is running, the instance id can be read from hdfs,
1212
or it can be entered with the zoo-info-viewer command --instanceId option. Accumulo management processes
1313
*do not* need to be running. This allows checking the ACLs before starting an upgrade.
@@ -28,7 +28,7 @@ The utility prints out a line for each znode that contains two fields related to
2828
Nodes marked with `ERROR_ACCUMULO_MISSING_SOME` shows that Accumulo does not have `cdrwa` permissions.
2929
Without full permissions, the upgrade will fail checks. The node permissions need to be corrected with the ZooKeeper
3030
`setAcl` command. If you do not have sufficient permissions to change the ACLs on a node, see the section
31-
below, [ACL errors during upgrade]({% durl troubleshooting/zookeeper/ACL#errors#during#upgrade %}).
31+
below, [ACL errors during upgrade](#acl-errors-during-upgrade).
3232

3333
Most Accumulo nodes do not contain sensitive data. Allowing unauthenticated ZooKeeper client(s) to read values is
3434
not unusual in typical deployments. The exception to a permissive read policy are the nodes that store configuration
@@ -60,5 +60,6 @@ Manual intervention is required in the event that an upgrade fails due to unexpe
6060
6. Then, correct the ACL on the znode using the command `setAcl -R <path> world:anyone:r,auth:accumulo:cdrwa`
6161

6262
[option]: https://zookeeper.apache.org/doc/r3.5.2-alpha/zookeeperAdmin.html#sc_authOptions
63-
[tools-info-viewer]: {% durl troubleshooting/tools#mode-print-ACLs %}
63+
[zoo-info-viewer --print-acls]: {% durl troubleshooting/tools#mode-print-acls-new-in-211 %}
64+
[zoo-info-viewer]: {% durl troubleshooting/tools#zoo-info-viewer-new-in-21 %}
6465

_docs-4/troubleshooting/zookeeper.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: 7
77

88
Accumulo requires full access to nodes in ZooKeeper under the /accumulo path. The ACLs can be examined using the
99
ZooKeeper cli `getAcl` and modified with `setAcl` commands. With 2.1.1, the zoo-info-viewer utility has an option
10-
that will print all of the ACLs for the nodes under `/accumulo/[INSTANCE_ID]` (See [zoo-info-viewer]).
10+
that will print all of the ACLs for the nodes under `/accumulo/[INSTANCE_ID]` (See [zoo-info-viewer --print-acls]).
1111
To run the utility, only ZooKeeper needs to be running. If hdfs is running, the instance id can be read from hdfs,
1212
or it can be entered with the zoo-info-viewer command --instanceId option. Accumulo management processes
1313
*do not* need to be running. This allows checking the ACLs before starting an upgrade.
@@ -28,7 +28,7 @@ The utility prints out a line for each znode that contains two fields related to
2828
Nodes marked with `ERROR_ACCUMULO_MISSING_SOME` shows that Accumulo does not have `cdrwa` permissions.
2929
Without full permissions, the upgrade will fail checks. The node permissions need to be corrected with the ZooKeeper
3030
`setAcl` command. If you do not have sufficient permissions to change the ACLs on a node, see the section
31-
below, [ACL errors during upgrade]({% durl troubleshooting/zookeeper/ACL#errors#during#upgrade %}).
31+
below, [ACL errors during upgrade](#acl-errors-during-upgrade).
3232

3333
Most Accumulo nodes do not contain sensitive data. Allowing unauthenticated ZooKeeper client(s) to read values is
3434
not unusual in typical deployments. The exception to a permissive read policy are the nodes that store configuration
@@ -60,5 +60,6 @@ Manual intervention is required in the event that an upgrade fails due to unexpe
6060
6. Then, correct the ACL on the znode using the command `setAcl -R <path> world:anyone:r,auth:accumulo:cdrwa`
6161

6262
[option]: https://zookeeper.apache.org/doc/r3.5.2-alpha/zookeeperAdmin.html#sc_authOptions
63-
[tools-info-viewer]: {% durl troubleshooting/tools#mode-print-ACLs %}
63+
[zoo-info-viewer --print-acls]: {% durl troubleshooting/tools#mode-print-acls-new-in-211 %}
64+
[zoo-info-viewer]: {% durl troubleshooting/tools#zoo-info-viewer-new-in-21 %}
6465

0 commit comments

Comments
 (0)