Reader small image

You're reading from  Microsoft SQL Server 2012 with Hadoop

Product typeBook
Published inAug 2013
Reading LevelIntermediate
PublisherPackt
ISBN-139781782177982
Edition1st Edition
Languages
Right arrow
Author (1)
Debarchan Sarkar
Debarchan Sarkar
author image
Debarchan Sarkar

Debarchan Sarkar is a Microsoft Data Platform engineer. He specializes in the Microsoft SQL Server Business Intelligence stack. Debarchan is a subject matter expert in SQL Server Integration Services and delves deep into the open source world, specifically the Apache Hadoop framework. He is currently working on a technology called HDInsight, which is Microsoft's distribution of Hadoop on Windows. He has authored various books on SQL Server and Big Data, including Microsoft SQL Server 2012 with Hadoop, Packt Publishing, and Pro Microsoft HDInsight: Hadoop on Windows, Apress. His Twitter handle is @debarchans.
Read more about Debarchan Sarkar

Right arrow

The SQL Server-Hadoop Connector


Sqoop is implemented using JDBC and so it also conforms to the standard JDBC features. The schema or the structure of the data is provided by the data source, and Sqoop generates and executes SQL statements using JDBC. The following table summarizes a few important commands that are available with the SQL Server connector and their functionalities:

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Microsoft SQL Server 2012 with Hadoop
Published in: Aug 2013Publisher: PacktISBN-13: 9781782177982

Author (1)

author image
Debarchan Sarkar

Debarchan Sarkar is a Microsoft Data Platform engineer. He specializes in the Microsoft SQL Server Business Intelligence stack. Debarchan is a subject matter expert in SQL Server Integration Services and delves deep into the open source world, specifically the Apache Hadoop framework. He is currently working on a technology called HDInsight, which is Microsoft's distribution of Hadoop on Windows. He has authored various books on SQL Server and Big Data, including Microsoft SQL Server 2012 with Hadoop, Packt Publishing, and Pro Microsoft HDInsight: Hadoop on Windows, Apress. His Twitter handle is @debarchans.
Read more about Debarchan Sarkar

Command

Function

sqoop import

The import command lets you import SQL Server data into HDFS. You can opt to import an entire table using the --table switch or selected records based on criteria using the --query switch. The data, once imported to the Hadoop file system, are stored as delimited text files or as SequenceFiles for further processing. You can also use the import command to move SQL Server data into Hive tables, which are like logical schemas on top of HDFS.

sqoop export

You can use the export command to move data from HDFS into SQL Server tables. Much like the import command, the export command...