Link to home
Start Free TrialLog in
Avatar of gvamsimba
gvamsimbaFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Connecting to SQL Server using SQOOP

I have installed  SQL Server 2017 on my Mac on Docker along with SQL Server Azure Data studio .  I have Cloudera virtual box installed on this Mac with Hadoop

Now I need to connect to my SQL Server 2017 and import a table into HDFC using SQOOP  . Can anyone please tell me what exactly I need to do to achieve this ?

Many Thanks
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Yes, you can load from SQL Server to HDFC using SQOOP..
Please find the step by step instructions for your reference.
https://www.mssqltips.com/sqlservertip/4426/use-sqoop-to-load-data-from-a-sql-server-table-to-a-hadoop-distributed-file-system/
Avatar of gvamsimba

ASKER

Hi Raja, yes but I am using mac and I have installed SQL Server 2017 on mac using Docker.  now how do I connect to this sql server using SQOOP which is in my cloudera virtual box. I already copied jdbc driver file into SQOOP folder. What are the the next steps ?

Thanks
Not a Mac user, however kindly check the below items:
1. Kindly confirm whether your SQL Server 2017 on Docker and your HDFS on Cloudera Virtual box can ping each other or not as that is required for any data transfer to happen. If not, then you might need to get it fixed out..
2. If they are accessible, then you can simply follow the steps mentioned in the above link from your Cloudera Virtual box using SQOOP command..
Hi Raja, can you please let me know how to see if  my SQL Server 2017 on Docker and your HDFS on Cloudera Virtual box can ping each other or not ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good.
Welcome, glad to assist!!