You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2020/04/21 05:57:06 UTC

[pulsar-helm-chart] 27/34: [Issue 6355][HELM] autorecovery - could not find or load main class (#6373)

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git

commit 4efddf92c5641ec659102f8e3e8ecc6a19ffc991
Author: John Harris <jh...@users.noreply.github.com>
AuthorDate: Fri Feb 21 22:07:10 2020 -0800

    [Issue 6355][HELM] autorecovery - could not find or load main class (#6373)
    
    This applies the recommended fix from
    https://github.com/apache/pulsar/issues/6355#issuecomment-587756717
    
    Fixes #6355
    
    ### Motivation
    
    This PR corrects the configmap data which was causing the autorecovery pod to crashloop
    with `could not find or load main class`
    
    ### Modifications
    
    Updated the configmap var data per [this comment](https://github.com/apache/pulsar/issues/6355#issuecomment-587756717) from @sijie
---
 pulsar/values-mini.yaml | 2 +-
 pulsar/values.yaml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar/values-mini.yaml b/pulsar/values-mini.yaml
index 796e232..375f8df 100644
--- a/pulsar/values-mini.yaml
+++ b/pulsar/values-mini.yaml
@@ -317,7 +317,7 @@ autoRecovery:
   ## templates/autorecovery-configmap.yaml
   ##
   configData:
-    PULSAR_MEM: "\" -Xms64m -Xmx128m \""
+    BOOKIE_MEM: "\" -Xms64m -Xmx128m \""
 
 ## Pulsar Extra: Dashboard
 ## templates/dashboard-deployment.yaml
diff --git a/pulsar/values.yaml b/pulsar/values.yaml
index d9fc502..afe0d5c 100644
--- a/pulsar/values.yaml
+++ b/pulsar/values.yaml
@@ -318,7 +318,7 @@ autoRecovery:
   ## templates/autorecovery-configmap.yaml
   ##
   configData:
-    PULSAR_MEM: "\" -Xms1g -Xmx1g \""
+    BOOKIE_MEM: "\" -Xms1g -Xmx1g \""
 
 ## Pulsar Extra: Dashboard
 ## templates/dashboard-deployment.yaml