Skip to content

Commit

Permalink
fix misspelling (apache#9984)
Browse files Browse the repository at this point in the history
Signed-off-by: YANGLiiN <[email protected]>
  • Loading branch information
yangl authored Mar 23, 2021
1 parent 5d85a2f commit 313390d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions conf/zookeeper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
Expand All @@ -38,7 +38,7 @@ admin.serverPort=9990
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
Expand All @@ -58,7 +58,7 @@ forceSync=yes
# Enable Quorum TLS on each node.
# To Transition from nontls to tls without downtime: the system needs to be restarted several times.
# First, Restart zookeepers with portUnification: true.
# Next, Restart zookeepers with sqlQuorum: true
# Next, Restart zookeepers with sslQuorum: true
# Finally, Restart zookeepers with portUnification: false
# Default: false
sslQuorum=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ protected void internalDeleteNamespace(AsyncResponse asyncResponse, boolean auth
// we have successfully removed all the ownership for the namespace, the policies znode can be deleted
// now
final String globalZkPolicyPath = path(POLICIES, namespaceName.toString());
final String lcaolZkPolicyPath = joinPath(LOCAL_POLICIES_ROOT, namespaceName.toString());
final String localZkPolicyPath = joinPath(LOCAL_POLICIES_ROOT, namespaceName.toString());
namespaceResources().delete(globalZkPolicyPath);
try {
getLocalPolicies().delete(lcaolZkPolicyPath);
getLocalPolicies().delete(localZkPolicyPath);
} catch (NotFoundException nne) {
// If the z-node with the modified information is not there anymore, we're already good
}
Expand Down Expand Up @@ -454,11 +454,11 @@ protected void internalDeleteNamespaceForcefully(AsyncResponse asyncResponse, bo
// we have successfully removed all the ownership for the namespace, the policies znode can be deleted
// now
final String globalZkPolicyPath = path(POLICIES, namespaceName.toString());
final String lcaolZkPolicyPath = joinPath(LOCAL_POLICIES_ROOT, namespaceName.toString());
final String localZkPolicyPath = joinPath(LOCAL_POLICIES_ROOT, namespaceName.toString());
namespaceResources().delete(globalZkPolicyPath);

try {
getLocalPolicies().delete(lcaolZkPolicyPath);
getLocalPolicies().delete(localZkPolicyPath);
} catch (NotFoundException nne) {
// If the z-node with the modified information is not there anymore, we're already good
}
Expand Down

0 comments on commit 313390d

Please sign in to comment.