Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am newbie in TOS_BD, was trying to connect to the HDFS system remotely and write some files there but was getting cought up with some errors have attached the job for the flow please have a look at it and suggest.
Process flow description:
-------------------
1) Connected to the remote linex system using tSSH
2) To connect to the HDFS system inside that system used tHDFSConnection
3) Used tHDFSPut to put the file in HDFS system.
Error Log:
-------------------
Starting job test02 at 12:04 13/08/2012.
connecting to socket on port 3489
connected
Talend Open Studio
Exception in component tHDFSPut_1
java.net.UnknownHostException: unknown host: cmtest001
at org.apache.hadoop.ipc.Client$Connection.(Client.java:195)
at org.apache.hadoop.ipc.Client.getConnection(Client.java:850)
at org.apache.hadoop.ipc.Client.call(Client.java:720)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
at $Proxy0.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:207)
at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:170)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
at test_proj.test02_0_1.test02.tHDFSPut_1Process(test02.java:530)
at test_proj.test02_0_1.test02.tHDFSConnection_1Process(test02.java:469)
at test_proj.test02_0_1.test02.tSSH_1Process(test02.java:382)
at test_proj.test02_0_1.test02.runJobInTOS(test02.java:862)
at test_proj.test02_0_1.test02.main(test02.java:730)
disconnected
Job test02 ended at 12:04 13/08/2012.