[GitHub] [druid] harinirajendran commented on a change in pull request #10679: Adding example config files for indexer process. Also added status/selfDiscovered endpoint to indexer for self discovery

2020-12-14 Thread GitBox


harinirajendran commented on a change in pull request #10679:
URL: https://github.com/apache/druid/pull/10679#discussion_r542803426



##
File path: examples/conf/druid/cluster/data/indexer/jvm.config
##
@@ -0,0 +1,9 @@
+-server
+-Xms128m
+-Xmx128m
+-XX:MaxDirectMemorySize=1g

Review comment:
   Made it 4g and also increased `druid.processing.buffer.sizeBytes` to 
500MiB . Also increased -Xms and -Xmx setting to be 4x.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [druid] harinirajendran commented on a change in pull request #10679: Adding example config files for indexer process. Also added status/selfDiscovered endpoint to indexer for self discovery

2020-12-14 Thread GitBox


harinirajendran commented on a change in pull request #10679:
URL: https://github.com/apache/druid/pull/10679#discussion_r542796281



##
File path: examples/conf/druid/cluster/data/indexer/runtime.properties
##
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+druid.service=druid/indexer
+druid.plaintextPort=8091
+
+# Number of tasks per indexer
+druid.worker.capacity=2

Review comment:
   Sure! I can update it to match with MM config.

##
File path: examples/conf/druid/cluster/data/indexer/jvm.config
##
@@ -0,0 +1,9 @@
+-server
+-Xms128m
+-Xmx128m
+-XX:MaxDirectMemorySize=1g

Review comment:
   Made it 4g and also increased `druid.processing.buffer.sizeBytes` to 
500MiB 





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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



[GitHub] [druid] harinirajendran commented on a change in pull request #10679: Adding example config files for indexer process. Also added status/selfDiscovered endpoint to indexer for self discovery.

2020-12-14 Thread GitBox


harinirajendran commented on a change in pull request #10679:
URL: https://github.com/apache/druid/pull/10679#discussion_r542741175



##
File path: examples/conf/druid/cluster/data/indexer/runtime.properties
##
@@ -0,0 +1,38 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+druid.service=druid/indexer
+druid.plaintextPort=8092

Review comment:
   Actually, I set it back to 8091 and tested the docker image. To avoid 
localhost port conflict I was using the following port mappings: 8091:8091 for 
MM and 8092:8092 for indexer. Now updated the indexer port mapping to 8092:8091.





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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