Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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
Highlighted

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

Contributor

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.

3 REPLIES 3
Highlighted

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

Contributor

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.

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

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

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