Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
mshafeeq
Contributor II
Contributor II

tparquetoutput to HDFS file

Hello All,

i have a very simple job design to extract data from oracle DB to tparquetoutput

0695b00000hv0MOAAY.png

file created and put fine using local directories , when i try to put the file on HDFS path , job terminated with errors based on some changes i do in the job

1-mark check button for use external

hadoop dependencies , and path as below

"hdfs://Z****-dev/user/devtest/talendtest/BI_.parquet"

job failed with error : UnknownHostException: Z****-dev

2-try to run the job and remove namenode from file path , job finished but file created on the local directory not HDFS

any support on this ?

Labels (2)
2 Replies
anselmopeixoto
Partner - Creator III
Partner - Creator III

Hi @muhamd shafeeq​ 

 

It seems "Z****-dev" host name is not recognized by the machine you're executing the Job.

 

Are you able to ping this hostname? Or perhaps try replacing its name by IP address on tFileOutputParquet.

Anonymous
Not applicable

Hello @muhamd shafeeq​ ,

To fix the error UnknownHostException, it's required to add the ip and hostname on the below file

1) Run on windows

C:\Windows\System32\drivers\etc\hosts

x.x.x.x Z****-dev

2) Run on Linux

/etc/hosts

x.x.x.x Z****-dev

 

Best regards

Aiming