Hi Team,
When I am trying to send data to a kafka topic I am getting below exception:-
[rajnil94guha5822@ip-172-31-38-146 ~]$ export PATH=$PATH:/usr/hdp/current/kafka-broker/bin/
[rajnil94guha5822@ip-172-31-38-146 ~]$ kafka-console-producer.sh --broker-list ip-172-31-20-247.ec2.internal:6667 --topic rajnil_flipkart_topic < /home/rajnil9
4guha5822/flipkart_com-ecommerce_sample.csv
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e0000000, 536870912, 0) failed; error=‘Cannot allocate memory’ (errno=12)
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 536870912 bytes for committing reserved memory.
An error report file with more information is saved as:
/home/rajnil94guha5822/hs_err_pid43281.log
[rajnil94guha5822@ip-172-31-38-146 ~]$
Please help to resolve.
Thanks & Regards
Rajnil Guha