Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2093 | 06-15-2020 05:23 AM | |
| 17452 | 01-30-2020 08:04 PM | |
| 2256 | 07-07-2019 09:06 PM | |
| 8728 | 01-27-2018 10:17 PM | |
| 4914 | 12-31-2017 10:12 PM |
05-24-2018
10:16 AM
hi Jay we get the same values: ( after unset ) java -XX:+PrintFlagsFinal -version | grep HeapSize
uintx ErgoHeapSizeLimit = 0 {product}
uintx HeapSizePerGCThread = 87241520 {product}
uintx InitialHeapSize := 2147483648 {product}
uintx LargePageHeapSizeThreshold = 134217728 {product}
uintx MaxHeapSize := 32210157568 {product}
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
... View more
05-24-2018
09:39 AM
we have Hadoop cluster ( version 2.6.4 ) with 3 physical kafka machines we want to know what is the
values of Xmx and Xms that we need to allocate on the kafka machines in order to setup the in
the Xmx and Xms on kafka machine we need to configure the
script /usr/hdp/2.6.4 /kafka/bin/kafka-server-start for now the default values are ( Xmx is 1G and Xms is 1G ) if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
export
KAFKA_HEAP_OPTS="-Xmx1G –Xms1G"
fi
[root@kafka01 ~]# free -g
total used free shared buff/cache available
Mem: 251 17 11 0 222 233
Swap: 15 6 9
on each kafka we have 256G and we found this link - https://stackoverflow.com/questions/4667483/how-is-the-default-java-heap-size-determined according to the link in
stackoverflow we can use this formula: [root@kafka01 ~]# java -XX:+PrintFlagsFinal -version | grep HeapSize
uintx ErgoHeapSizeLimit = 0 {product}
uintx HeapSizePerGCThread = 87241520 {product}
uintx InitialHeapSize := 2147483648 {product}
uintx LargePageHeapSizeThreshold = 134217728 {product}
uintx MaxHeapSize := 32210157568 {product}
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
[root@kafka01 ~]# java -XX:+PrintFlagsFinal -version | grep HeapSize
uintx ErgoHeapSizeLimit = 0 {product}
uintx HeapSizePerGCThread = 87241520 {product}
uintx InitialHeapSize := 2147483648 {product}
uintx LargePageHeapSizeThreshold = 134217728 {product}
uintx MaxHeapSize := 32210157568 {product}
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode) So the values comes with bytes
and we can calculate them to Giga So Xmx = 32G Xms = 2G What is the recommendation of
hortonworks about Xmx and Xms ? Dose hortonworks except the
formula - java -XX:+PrintFlagsFinal -version | grep HeapSize In order to get the right values
of Xmx and Xms ?
... View more
Labels:
05-22-2018
06:17 PM
how to add the password - admin in the API?
... View more
05-22-2018
06:10 PM
this API withpout passord ?
... View more
05-22-2018
02:24 PM
we want to know if service exist in ambari cluster by API is any way to know that? by API for example - we want to know if KAFKA service exsist in ambari cluster
... View more
Labels:
05-22-2018
10:49 AM
@Jay when we "Delete the Kafka Service:" its also remove the kafka-broker?
... View more
05-22-2018
10:14 AM
we have cluster HDP 2.6.4 with 3 kafka brokers ( each broker installed on master machine ) we want to remove the service - KAFKA by API from the AMBARI what is the API to delete the kafka-broker on each master machine? what is the API to remove the KAFKA service ? what the other steps to removed completely the kafka-brokers from the master machines? capture.png
... View more
Labels:
05-21-2018
08:01 AM
dear Jay actually I was asking about how to get the zookeeper session as the following, /usr/hdp/2.6.0.3-8/zookeeper/bin/zkCli.sh -server master02:2181 remark zookeeper client installed on the master machine and that give me the session WATCHER::
WatchedEvent state:SyncConnected type:None path:null
[zk: master02:2181(CONNECTED) 0]
... View more
05-17-2018
05:13 AM
hi all any suggestion why we cant get the prompt ? /usr/hdp/2.6.0.3-8/kafka/bin/zookeeper-shell.sh localhost:2181
Connecting to localhost:2181
Welcome to ZooKeeper!
JLine support is disabled
WATCHER::
WatchedEvent state:SyncConnected type:None path:null
... View more
Labels:
05-16-2018
08:10 PM
and about - "as well the zookeeper data" , how to do this?
... View more