You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by gi...@apache.org on 2023/03/08 18:32:16 UTC

[druid] branch master updated: Fix start-druid for indexers. (#13891)

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

gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new f0fb094cc7 Fix start-druid for indexers. (#13891)
f0fb094cc7 is described below

commit f0fb094cc7f164646c22271fb73cc359c5282fc5
Author: Gian Merlino <gi...@gmail.com>
AuthorDate: Wed Mar 8 10:32:07 2023 -0800

    Fix start-druid for indexers. (#13891)
    
    There was an unused parameter causing the unpack to fail.
---
 examples/bin/start-druid-main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/bin/start-druid-main.py b/examples/bin/start-druid-main.py
index de837674a5..d797157230 100644
--- a/examples/bin/start-druid-main.py
+++ b/examples/bin/start-druid-main.py
@@ -471,7 +471,7 @@ def build_memory_config(service, allocated_memory):
         heap_memory = HEAP_TO_TOTAL_MEM_RATIO.get(service) * allocated_memory
         direct_memory = int(allocated_memory - heap_memory)
         heap_memory = int(heap_memory)
-        memory_type, task_count, task_memory = compute_tasks_memory(allocated_memory)
+        task_count, task_memory = compute_tasks_memory(allocated_memory)
         return ['-D{0}={1}'.format(TASK_WORKER_CAPACITY_PROPERTY, task_count),
                 '-Xms{0}m -Xmx{0}m -XX:MaxDirectMemorySize={1}m'.format(heap_memory, direct_memory)], \
                task_memory * task_count


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org