This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new 958aa79 Correct inaccurate logging message about running as root.
958aa79 is described below
commit 958aa790ecfc36927f213325918099f822d38b00
Author: Ekaterina Dimitrova <[email protected]>
AuthorDate: Wed Feb 26 09:27:14 2020 -0500
Correct inaccurate logging message about running as root.
Patch by Ekaterina Dimitrova, reviewed by David Capwell for
CASSANDRA-15549
---
CHANGES.txt | 1 +
src/java/org/apache/cassandra/utils/NativeLibrary.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index 0730bff..a7f3e89 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
4.0-alpha4
+ * Correct inaccurate logging message (CASSANDRA-15549)
* Add documentation of dynamo (CASSANDRA-15486)
* Added documentation for Guarantees (CASSANDRA-15482)
* Added documentation for audit logging (CASSANDRA-15474)
diff --git a/src/java/org/apache/cassandra/utils/NativeLibrary.java
b/src/java/org/apache/cassandra/utils/NativeLibrary.java
index 4b04bbc..8bcd6f6 100644
--- a/src/java/org/apache/cassandra/utils/NativeLibrary.java
+++ b/src/java/org/apache/cassandra/utils/NativeLibrary.java
@@ -198,7 +198,7 @@ public final class NativeLibrary
{
logger.warn("Unable to lock JVM memory (ENOMEM)."
+ " This can result in part of the JVM being swapped
out, especially with mmapped I/O enabled."
- + " Increase RLIMIT_MEMLOCK or run Cassandra as
root.");
+ + " Increase RLIMIT_MEMLOCK.");
}
else if (osType != MAC)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]