One Star

HAdoop Distcp

Hi All, Is there any component that helps for Parallel Copying between Hadoop Clusters like distcp.? If so please let me know 
3 REPLIES
Moderator

Re: HAdoop Distcp

Hi,
What's your environnement? Is your hadoop version same in both cluster or different in both cluster?
Have you tried to use tSystem component  to call distcp hadoop command from Talend? Let us know if it works.
Best regards
Sabrin
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: HAdoop Distcp

Both are in different environments and is there any documentation available for transfering data by using distcp command using tsystem?
Moderator

Re: HAdoop Distcp

Hi,


So far, there is no document about distcp command in Talend.


There will be conflict jar issue if your transfer data directly from one server to another (different environments), such as, thdfsinput-->thdfsoutput.


Could you please try to use tsqoopXXX component to call sqoop to transfer data from the Hadoop Distributed File System (HDFS) to a relational database management system and then call Sqoop to transfer data from a relational database management system (RDBMS)  into the Hadoop Distributed File System (HDFS)?


The work flow should be:HDFS(A) -->MySql(oracle...)------> Mysql(oracle....)-->HDFS(B)


 


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.