is it possible to read mongodb data with hadoop connector but save output as mysql data table. So I want to read some data from mongodb collection by hadoop, processing it with hadoop and outputing it NOT already in mongodb but as MYSQL.
            Asked
            
        
        
            Active
            
        
            Viewed 282 times
        
    1 Answers
1
            I used like, fetching data from mongodb as input and store result in different mongodb address. For that one you need to specify like
MongoConfigUtil.setInputURI(discussConf,"mongodb://ipaddress1/Database.Collection"); MongoConfigUtil.setOutputURI(discussConf,"mongodb://ipaddress2/Database.Collection");
for mongodb to mysql my suggestion is , you can write normal java code to insert whatever data you need to insert in mysql . that code may be in reduce or map function
        Vinoth
        
- 26
 - 1