Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Problems writing to hdfs from storm bolt

avatar
Not applicable

Hi experts

I have written a topology that aims to write the results to HDFS. I am choosing Sequence file to do it, but I am getting the below error:

org.apache.hadoop.ipc.Client handleConnectionTimeout

INFO: Retrying connect to server: 35.176.11.138/35.176.11.138:50075. Already tried 0 time(s); maxRetries=45

Here is the code snippet

SequenceFileBolt boltseq = new SequenceFileBolt() .withFsUrl("hdfs://35.176.11.138:50075") .withFileNameFormat(fileNameFormat) .withSequenceFormat(format) .withRotationPolicy(rotationPolicy) .withSyncPolicy(syncPolicy);

.....

b.setBolt("HDFS", boltseq).shuffleGrouping("WordCounterBolt");

I am not sure what I am doing wrong, because when I open a browser and run http://35.176.11.138:50075, I can see the datanode.

Please can somebody help?

Thank you

Regards

Naveen

1 ACCEPTED SOLUTION

avatar
New Member

I think you are using datanode url, you should be using namenode url.

View solution in original post

1 REPLY 1

avatar
New Member

I think you are using datanode url, you should be using namenode url.