sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "leiwangouc@gmail.com" <leiwang...@gmail.com>
Subject export HDFS data from HDFS to multiple databases and mulitple tables at one time
Date Fri, 18 Apr 2014 10:41:08 GMT

I have HDFS data with such directory and want to export them to Mysql tables. 

data1/
          customer1
          customer2
          ........
data2/
         customer1
         customer2
         .........

Every customer has a database, and every kinds of data has a table. 
We have about ten kinds of data and 100 customers, so i need to execute 1000 sqoop cmds to
do this.  
Is there some method than i can execute all the cmds only one time to complete all the tasks?


Thanks,
Lei



leiwangouc@gmail.com
Mime
View raw message