Error on write in the file

Five Stars

Error on write in the file

I try to create a file and write random things in it. The file is create but i can not write in the file. Give me the follow  error

 

Exception in component tHDFSOutput_1 (PbrasilTeste)
java.io.IOException: DataStreamer Exception: 
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:666)
Caused by: java.nio.channels.UnresolvedAddressException
	at sun.nio.ch.Net.checkAddress(Unknown Source)
	at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
	at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:192)
	at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
	at org.apache.hadoop.hdfs.DFSOutputStream.createSocketForPipeline(DFSOutputStream.java:1681)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1421)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1374)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:552)
[statistics] disconnected
[ERROR]: org.apache.hadoop.hdfs.DFSClient - Failed to close inode 23825

Any suggestion?

 

Best regards,

VS

Tags (2)
Thirteen Stars

Re: Error on write in the file

Five Stars

Re: Error on write in the file

I already try and doesn't work.

Thanks anyway!

VS

Two Stars

Re: Error on write in the file

Did you find the solution?

Moderator

Re: Error on write in the file

Hello,

Did you use the hostname instead of the IP address for your namenode in your tHDFSXXX component?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.