Support Questions
Find answers, ask questions, and share your expertise

Unable to send message to Kafka Topic from outside of sandbox

Solved Go to solution

Unable to send message to Kafka Topic from outside of sandbox

Contributor

Hi Cloudera Team,

 

I am getting issue while sending message to Kafka topic from outside of sandbox, but same application in sandbox is able to send message to Kafka topic.

Below is the screen print of these cases

In First case I am trying to send test message to my Kafka topic; that application runs without giving any error. But at cluster location topic was not showing any messages

 

In Second case when I ran the same application in sandbox messages were send and displayed in Kafka topic.

 

Screenshot from 2019-10-08 00-19-14.png

 

Could you please assist me what wrong I am doing (or what extra I have to do) to make my First case successful.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to send message to Kafka Topic from outside of sandbox

Rising Star

Hi @shashank_naresh 

 

Did you test your connectivity with the sandbox from your host?, if not, you can try below commands:

 

ping sandbox-hdp.hortonworks.com

 

Also, you can test if the port is reachable by using:

 

telnet sandbox-hdp.hortonworks.com 6667

 

Expected output from telnet:

 

PC:~ mrodriguez$ telnet 172.25.40.164 6667
Trying 172.25.40.164...
Connected to c489-xx.labs.xxxx.xxxx.com.
Escape character is '^]'.

 

 

Cheers.

View solution in original post

3 REPLIES 3

Re: Unable to send message to Kafka Topic from outside of sandbox

Rising Star

Hi @shashank_naresh 

 

Did you test your connectivity with the sandbox from your host?, if not, you can try below commands:

 

ping sandbox-hdp.hortonworks.com

 

Also, you can test if the port is reachable by using:

 

telnet sandbox-hdp.hortonworks.com 6667

 

Expected output from telnet:

 

PC:~ mrodriguez$ telnet 172.25.40.164 6667
Trying 172.25.40.164...
Connected to c489-xx.labs.xxxx.xxxx.com.
Escape character is '^]'.

 

 

Cheers.

View solution in original post

Re: Unable to send message to Kafka Topic from outside of sandbox

Contributor

Hi @ManuelCalvo 

 

Yes it is connected;

Screenshot from 2019-10-08 01-31-23.png

Re: Unable to send message to Kafka Topic from outside of sandbox

Contributor

I got the solution - I should send messages to sandbox-hdf.hortonworks.com and see those messages in HDF rather than HDP.