Error on write in the file

Highlighted
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)
Highlighted
Moderator

Re: Error on write in the file

Please check below case would be help your issue.

https://www.talendforge.org/forum/viewtopic.php?id=50662&_ga=2.46343331.540997457.1522643957-1638192...

Manohar B
Don't forget to give kudos/accept the solution when a replay is helpful.
Highlighted
Five Stars

Re: Error on write in the file

I already try and doesn't work.

Thanks anyway!

VS

Highlighted
Two Stars

Re: Error on write in the file

Did you find the solution?

Highlighted
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.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now