mirror of
https://github.com/apache/sqoop.git
synced 2025-05-08 02:50:38 +08:00

From: Thomas White <tomwhite@apache.org> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149836 13f79535-47bb-0310-9956-ffa450edef68
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
|
|
////
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF 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.
|
|
////
|
|
|
|
|
|
Miscellaneous Additional Arguments
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
If you want to generate the Java classes to represent tables without
|
|
actually performing an import, supply a connect string and
|
|
(optionally) credentials as above, as well as +--all-tables+ or
|
|
+--table+, but also use the +--generate-only+ argument. This will
|
|
generate the classes and cease further operation.
|
|
|
|
You can override the +$HADOOP_HOME+ environment variable within Sqoop
|
|
with the +--hadoop-home+ argument. You can override the +$HIVE_HOME+
|
|
environment variable with +--hive-home+.
|
|
|
|
Data emitted to HDFS is by default uncompressed. You can instruct
|
|
Sqoop to use gzip to compress your data by providing either the
|
|
+--compress+ or +-z+ argument (both are equivalent).
|
|
|