You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2023/01/27 19:16:00 UTC
[incubator-pekko] branch main updated: Rename akka refs in pekko-cluster script (#127)
This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 767209a894 Rename akka refs in pekko-cluster script (#127)
767209a894 is described below
commit 767209a8940088130cde69fe24ed635ecbafe265
Author: Denny Yung-Yu Chen <yu...@deliveryhero.com>
AuthorDate: Fri Jan 27 20:15:54 2023 +0100
Rename akka refs in pekko-cluster script (#127)
---
cluster/jmx-client/pekko-cluster | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/cluster/jmx-client/pekko-cluster b/cluster/jmx-client/pekko-cluster
index e207d296ec..216b14491b 100755
--- a/cluster/jmx-client/pekko-cluster
+++ b/cluster/jmx-client/pekko-cluster
@@ -1,8 +1,8 @@
#!/bin/bash
-# ============== Akka Cluster Administration Tool ==============
+# ============== Apache Pekko Cluster Administration Tool ==============
#
-# This script is meant to be used from within the Akka distribution.
+# This script is meant to be used from within the Pekko distribution.
#
# Add these options to the sbt or startup script:
# java \
@@ -28,9 +28,9 @@ JMX_CLIENT="java -jar $JMXSHJAR -h $HOST -p $PORT /dev/fd/0"
function mbeanObjectName() {
if [[ -z "$CLUSTER_PORT" ]]; then
- echo "akka:type=Cluster"
+ echo "pekko:type=Cluster"
else
- echo "akka:type=Cluster,port=$CLUSTER_PORT"
+ echo "pekko:type=Cluster,port=$CLUSTER_PORT"
fi
}
@@ -46,15 +46,15 @@ function ensureNodeIsRunningAndAvailable {
REPLY=$(get Available 2>&1) # redirects STDERR to STDOUT before capturing it
if [[ "$REPLY" != *true ]]; then
if [[ "$REPLY" == *"Cannot convert result to a string." ]]; then
- echo "Akka cluster MBean is not available on $HOST:$PORT with MBean name '$(mbeanObjectName)'"
+ echo "Pekko cluster MBean is not available on $HOST:$PORT with MBean name '$(mbeanObjectName)'"
else
- echo "Akka cluster node is not available on $HOST:$PORT with MBean name '$(mbeanObjectName)', due to $REPLY"
+ echo "Pekko cluster node is not available on $HOST:$PORT with MBean name '$(mbeanObjectName)', due to $REPLY"
fi
exit 1
fi
}
-echo "This jmx-client/akka-cluster tool is deprecated use curl and https://github.com/akka/akka-cluster-management instead, since 2.5.0." >&2
+echo "This jmx-client/pekko-cluster tool is deprecated use curl and https://github.com/apache/incubator-pekko-management instead." >&2
# switch on command
while [ $# -gt 0 ];
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org