Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1969 | 06-15-2020 05:23 AM | |
| 16038 | 01-30-2020 08:04 PM | |
| 2108 | 07-07-2019 09:06 PM | |
| 8245 | 01-27-2018 10:17 PM | |
| 4669 | 12-31-2017 10:12 PM |
11-30-2017
07:05 PM
thank you for the answer , so can we summarize the steps 1. shutdown the worker machine ( stop all components ) 2. replace the faulty disk with new disk ( same size ) 3. start up the worker machine 4. create ext4 file system on the new disk - sdb (by mkfs) 5. start all worker component ( it will create the relevant folders under the sdb disk please let me know if my steps are true second - about "Ambari to put this machine into a maintenance state" - how to set it on the ambari ? and on which of my steps need to defined this ?
... View more
11-30-2017
06:03 PM
we have worker machine in the ambari cluster that have faulty disk disk device name is /dev/sdb so we need to replace the faulty disk with a new disk what are the steps that need to do on the worker machine before replacing the disk and after replacing the disk ?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
11-30-2017
05:20 PM
about my question - what is the mechanizem that suppose to delete automatically the topics ? , I not sure about it but what I am asking is about auto deletion process that remove the topic from the folder , is it truely defined somewhwhere ? )
... View more
11-30-2017
05:14 PM
can you give more details about the "1) Make sure to set the message retention time of a topic to 1000ms (1s) to stop the inflow --> using retention.ms (it does take some time to delete all logs to free up log segments" , can you please described it step by step , or maybe do you mean that I need to run the CLI as : ./bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic my-topic --config retention.ms=1000 ??
... View more
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