Member since
08-15-2016
7
Posts
0
Kudos Received
0
Solutions
08-29-2016
08:34 AM
Thanks for the feedback. That's what we did and it applied the changes immediately.
... View more
08-26-2016
05:37 AM
Version Info: Kafka Version: 0.8.2 Cloudera Enterprise: 5.4.7 Problem: We have a topic with following configuration for cleanup: min.cleanable.dirty.ratio=0.01,segment.ms=3600000,min.insync.replicas=2,cleanup.policy=compact We changed the topic cleanup policy to delete by issuing an alter topic as follows: kafka-topics --alter --zookeeper <zk quorum> --config retention.ms=2592000000 --delete-config min.cleanable.dirty.ratio --delete-config segment.ms --delete-config cleanup.policy --topic <topic_name> This removed all those configs and config after alter looked like this: retention.ms=2592000000,min.insync.replicas=2 Since default cleanup policy is delete, we just deleted it instead of changing to delete explicitly. Our log cleaner thread runs every 5 min. (In cloudera manager config page). But these changes are not taking effect until i rolling restarted our Kafka broker. I dont see any reference to restart in kafka alter documentation. I am not sure why it is not taking effect immediately. Are there any other config values that govern (apart from cleaner thread schedule) that governs when and how cleanup policy takes effect ? Thanks, Vivek
... View more
Labels:
08-16-2016
07:54 AM
Thanks for confirming. I appreciate your quick feedback.
... View more
08-16-2016
07:48 AM
Thank you Mathieu.d Is this the vcpu parameter you are referring to ? yarn.nodemanager.resource.cpu-vcores Thanks, Vivek
... View more
08-15-2016
03:48 PM
We use CDH version 5.7.1 and Cloudera Manager 5.8. In Yarn tuning Excel, I see a field called "Physical Cores to Vcores Multiplier" which has the following description: "Set this ratio based on the expected number of concurrent threads per core. Use 1 for CPU intensive tasks up to 4 for standard I/O bound tasks." I could not find a Cloudera Manager setting corresponding to it. How do we tell Yarn that it can use a multiplier of 4 ? Is there a default value to it ? Or is this multiplier indicated to Yarn by setting "yarn.nodemanager.resource.cpu-vcores" parameter to a desired value instead of just the count of physical core ? Say, if I have 24 physical cores, and I intend to use 50% of it for Yarn, then should I put 12 for this parameter to indicate that I want a ratio of 1:1 and put 48 to indicate a ratio of 1:4 ? We use static pool resource allocation for various Hadoop components (Hbase, Solr, Hadoop, Yarn) and we set ~50% of resources to Yarn. But I could not find the multiplier anywhere. Thanks, Vivek
... View more
08-15-2016
09:15 AM
Thank you for a quick response. I will make the change and post if I have any issues. Thanks, Vivek
... View more
08-15-2016
08:52 AM
We use Cloudera Enterprise 5.7.1 and Cloudera Manager 5.8. I am trying to increase the Kafka's num.network.threads property value from 3 to 8. But I am unable to find it in Cloudera Manager Configuration page for Kafka. Any pointers on how to change this value ? Thanks, Vivek
... View more
Labels:
- Labels:
-
Apache Kafka
-
Cloudera Manager