Java - MySQL to Hive Import where MySQL Running on Windows and Hive Running on Cent OS (Horton Sandbox)
Before any Answer and Comments. I tried several option I found in Stackoverflow but end with a failure. Following are those links - How can I execute Sqoop in Java? How to use Sqoop in Java Program? How to import table from MySQL to Hive using Java? How to load SQL data into the Hortonworks? I tried it in Horton Sandbox through command line and succeded. sqoop import --connect jdbc:mysql://192.168.56.101:3316/database_name --username=user --password=pwd --table table_name --hive-import -m 1 -- --schema default Where 192.168.56.101 is for Windows and 192.168.56.102 for Horton Sandbox 2.6. Now I