blob: e8d1f17e67d67a793a09ff59322a4f14f1ad9789 [file] [log] [blame]
////
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.
////
Database connection and common options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--connect (jdbc-uri)::
Specify JDBC connect string (required)
--connection-manager (class-name)::
Specify connection manager class name (optional)
--driver (class-name)::
Manually specify JDBC driver class to use
--connection-param-file (filename)::
Optional properties file that provides connection parameters
--hadoop-mapred-home (dir)::
Override $HADOOP_MAPRED_HOME
--help::
Print usage instructions
--password-file (file containing the password)::
Set authentication password in a file on the users home
directory with 400 permissions
(Note: This is very secure and a preferred way of entering credentials)
--password (password)::
Set authentication password
(Note: This is very insecure. You should use -P instead.)
-P::
Prompt for user password
--username (username)::
Set authentication username
--verbose::
Print more information while working
--hadoop-home (dir)::
Deprecated. Override $HADOOP_HOME