Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1920 | 06-15-2020 05:23 AM | |
| 15466 | 01-30-2020 08:04 PM | |
| 2072 | 07-07-2019 09:06 PM | |
| 8118 | 01-27-2018 10:17 PM | |
| 4571 | 12-31-2017 10:12 PM |
11-30-2017
04:10 PM
what is the - consumer-of-topic ? ( how to find it ? ) , for example if the topic name is - hgpo.llo.prmt.processed-32 , then what is the consumer-of-topic ?
... View more
11-30-2017
02:29 PM
on all our kafka machines ( production machines ) , we see that: ( no free space ) df -h /var/kafka
Filesystem Size Used Avail Use% Mounted on
/dev/sdb 11T 11T 2.3M 100% /var/kafka and under /var/kafka/kafka-logs we see all topic folders (huge size) as example: 117G hgpo.llo.prmt.processed-28
117G hgpo.llo.prmt.processed-29
117G hgpo.llo.prmt.processed-3
117G hgpo.llo.prmt.processed-30
117G hgpo.llo.prmt.processed-31
117G hgpo.llo.prmt.processed-32 what is the best approach to delete the topic/s from the folder /var/kafka/kafka-logs , and what are the exactly steps to do so , as stop service before deletion etc . second important question: what is the mechanizem that suppose to delete automatically the topics ?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
-
Apache Kafka
11-30-2017
10:31 AM
@Jay so can we summary that - when for example we set fs.trash.interval=60 min , then on the next interval all files in trash will be deleted?
... View more
11-30-2017
10:08 AM
1 Kudo
we want to set the parameter fs.trash.interval to zero as fs.trash.interval=o because when we delete files then files then they go to the
trash example: hdfs dfs -rm -R /spark2-history/* and when we disable the fs.trash.interval , then files supposed
to be delete without going to the trash we want to set the fs.trash.interval to zero because in our
lab , HDFS usage became high on ambari dashboard and when we delete the files , actually files still stay in
the trash and HDFS usage still high so i guess if we set the fs.trash.interval to zero then
files will not get to the trash is it correct ? second by default fs.trash.interval=360 min is it really means that every 360 min ( interval ) , files will be delete from the trash? , or its depend on other scenario?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
11-29-2017
07:57 PM
ok , now I am using this: . curl -sH "X-Requested-By: ambari" -u "$API_USER"":""$API_PASSWORD" -i curl http://master02:18081/api/v1/applications . but no any output from command what its wrong ?
... View more
11-29-2017
07:34 PM
I try this but get errors ( what is wrong in my syntax ? ) , ( master02 is the name of park-history server ) . curl -sH "X-Requested-By: ambari" -u admin:admin -i curl http://master02:8080/api/v1/applications .
HTTP/1.1 404 Not Found
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff
... View more
11-29-2017
06:55 PM
is it possible to print by CLI all application list so I will by grep capture the hdfs and appliaction ID and then remove it by hdfs dfs -rm -R /spark2-history//{app-id}
... View more
11-29-2017
06:48 PM
ok , so if I want to remove it from the ambari GUI then , how to do it ( I ask because from the page I not see any delete option )
... View more
11-29-2017
06:44 PM
@Aditya thank you - but how to delete all application that use HDFS , because in the page I see a lot of application around 1000 , so I cant delete one by one
... View more
11-29-2017
06:36 PM
but I want to delete all application now ! not to wait for the retention
... View more