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 | |
| 17446 | 01-30-2020 08:04 PM | |
| 2255 | 07-07-2019 09:06 PM | |
| 8725 | 01-27-2018 10:17 PM | |
| 4913 | 12-31-2017 10:12 PM |
08-15-2018
07:59 AM
Under ambari-metrics-collector we have many files as ollector-gc.log how to limit the number of this files to 5 max ? as I know we can set the follwing syntax in ambari configuration ( I guess ams-env ) -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=4K but I am not sure on which variable in ams-env we can set it ? /var/log/ambari-metrics-collector
4.0K collector-gc.log-201804251456
4.0K collector-gc.log-201804251517
4.0K collector-gc.log-201805011453
4.0K collector-gc.log-201805031000
4.0K collector-gc.log-201805061332
4.0K collector-gc.log-201805071101
4.0K collector-gc.log-201805211039
4.0K collector-gc.log-201806031253
4.0K collector-gc.log-201806041646
4.0K collector-gc.log-201806131159
4.0K collector-gc.log-201806131204
4.0K collector-gc.log-201806131219
4.0K collector-gc.log-201806240625
4.0K collector-gc.log-201806241235
4.0K collector-gc.log-201806241409
4.0K collector-gc.log-201806280803
4.0K collector-gc.log-201807160859
4.0K collector-gc.log-201807160908
4.0K collector-gc.log-201807160913
4.0K collector-gc.log-201807160930
4.0K collector-gc.log-201807160934
4.0K collector-gc.log-201807160937
4.0K collector-gc.log-201807161112
4.0K collector-gc.log-201807161114
4.0K collector-gc.log-201807161118
4.0K collector-gc.log-201807161130
4.0K collector-gc.log-201807161132
4.0K collector-gc.log-201807161137
4.0K collector-gc.log-201807161147
4.0K collector-gc.log-201807161152
4.0K collector-gc.log-201807161201
... View more
Labels:
- Labels:
-
Apache Ambari
08-14-2018
09:40 PM
in other words you recommended to create new folder on each machine
... View more
08-14-2018
07:50 PM
so what are the other places that I can use ?
... View more
08-14-2018
07:37 PM
hi all, we developed recently couple of shell scripts for cluster maintenance ( as clean logs , collect info , API script etc ) and script must be located in every Linux machine as ( worker machine , data node machine , name node machine ) my question is - were to locate these scripts on each machine? , so it will be safe in case of HDP upgrade or to avoid conflict for example , we check and we found that each machine have the following empty folder /var/lib/ambari-agent/lib/ and we are thinking to put all our scripts under /var/lib/ambari-agent/lib what hortonworks opinion about this , or where is the best location for our scripts that should be located ?
... View more
Labels:
08-14-2018
05:45 PM
dose ambari 2.7 version is the latest ambari version ?
... View more
08-14-2018
08:00 AM
we want to know if we can to upgrade to HDP 3.0 from HDP 2.6.4 ( regarding the disks aspect ) and we want to know if current disks configuration enable this upgrade we have the following RAID configuration 1) Worker-> (OS) Raid1 + ( data disks ) Raid 5
2) Master -> (OS) Raid1 + ( data disks ) Raid10
3) Kafka-> (OS) Raid1 + ( data disk ) Raid10 about the kafka - each kafka has one data disk about the workers ( data-node ) - each worker has 10 data disks based on that configuration , can we upgrade to HDP 3.0 version ?
... View more
Labels:
08-13-2018
10:23 PM
for HDFS now its more clear , but for kafka , where I need to set the "-XX:+UseGCLogFileRotation-XX:NumberOfGCLogFiles=5-XX:GCLogFileSize=2M" ?
... View more
08-13-2018
09:01 PM
Not understand about the HDFS , why not put all properties in variable as KAFKA_GC_LOG_OPTS="-XX:+UseGCLogFileRotation-XX:NumberOfGCLogFiles=5-XX:GCLogFileSize=2M"
... View more
08-13-2018
08:33 PM
what we are thinking but we are not sure is that: for kafka KAFKA_GC_LOG_OPTS="-XX:+UseGCLogFileRotation-XX:NumberOfGCLogFiles=5-XX:GCLogFileSize=2M" for hdfs JAVA_OPTS="-XX:+UseGCLogFileRotation-XX:NumberOfGCLogFiles=5-XX:GCLogFileSize=2M"
... View more
08-13-2018
08:21 PM
@amarnath reddy pappu regarding my details above , can you suggest with which variable I can use in order to set the properties ? , of maybe I need to append variable that represented the - JVM parameters , if yes what is the name of the variable ?
... View more