gvamsimba
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
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
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
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..
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..
ASKER
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
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
good.
Welcome, glad to assist!!
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/