mirror of
https://github.com/apache/sqoop.git
synced 2025-05-03 05:01:10 +08:00

Adds NOTICE.txt file From: Aaron Kimball <aaron@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149868 13f79535-47bb-0310-9956-ffa450edef68
68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
|
|
////
|
|
Licensed to Cloudera, Inc. under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
Cloudera, Inc. licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
////
|
|
|
|
|
|
include::intro.txt[]
|
|
|
|
|
|
The Sqoop Command Line
|
|
----------------------
|
|
|
|
To execute Sqoop, run with Hadoop:
|
|
----
|
|
$ bin/hadoop jar contrib/sqoop/hadoop-$(version)-sqoop.jar (arguments)
|
|
----
|
|
|
|
NOTE:Throughput this document, we will use `sqoop` as shorthand for the
|
|
above. i.e., `$ sqoop (arguments)`
|
|
|
|
You pass this program options describing the
|
|
import job you want to perform. If you need a hint, running Sqoop with
|
|
`--help` will print out a list of all the command line
|
|
options available. The +sqoop(1)+ manual page will also describe
|
|
Sqoop's available arguments in greater detail. The manual page is built
|
|
in `$HADOOP_HOME/build/contrib/sqoop/doc/sqoop.1.gz`.
|
|
The following subsections will describe the most common modes of operation.
|
|
|
|
include::connecting.txt[]
|
|
|
|
include::listing-dbs.txt[]
|
|
|
|
include::listing-tables.txt[]
|
|
|
|
include::full-db-import.txt[]
|
|
|
|
include::table-import.txt[]
|
|
|
|
include::controlling-output-format.txt[]
|
|
|
|
include::classnames.txt[]
|
|
|
|
include::misc-args.txt[]
|
|
|
|
include::direct.txt[]
|
|
|
|
include::hive.txt[]
|
|
|
|
include::export.txt[]
|
|
|
|
include::supported-dbs.txt[]
|
|
|
|
include::api-reference.txt[]
|
|
|