Notes for SQOOP and ORACLE Interaction

Source: Internet
Author: User
Tags sqoop

When SQOOP interacts with ORACLE, the user name and table name must be of the same size. Otherwise, no results will be displayed. As follows: [hadoop @ htbbs bin] $. /sqoop list-tables -- connect "jdbc: oracle: thin: @ htbbs: 1521: htdb" -- username YANSP -- password testWarning:/usr/lib/hbase does not exist! HBase imports will fail. please set $ HBASE_HOME to the root of your HBase installation. warning: $ HADOOP_HOME is deprecated. 13/05/20 15:25:13 WARN tool. baseSqoopTool: Setting your password on the command-line is insecure. consider using-P instead.13/05/20 15:25:13 INFO manager. sqlManager: Using default fetchSize of 100013/05/20 15:25:13 INFO manager. oracleManager: Time zone has been set to GMTTTES TODCH_EXT_TABLE [hadoop @ htbbs bin] $. /sqoop list-tables -- connect "jdbc: oracle: thin: @ htbbs: 1521: htdb" -- username yansp -- password testWarning:/usr/lib/hbase does not exist! HBase imports will fail. please set $ HBASE_HOME to the root of your HBase installation. warning: $ HADOOP_HOME is deprecated. 13/05/20 15:26:59 WARN tool. baseSqoopTool: Setting your password on the command-line is insecure. consider using-P instead.13/05/20 15:26:59 INFO manager. sqlManager: Using default fetchSize of 100013/05/20 15:26:59 INFO manager. oracleManager: Time zone has been set to GMT [had Oop @ htbbs bin] $ the user name is in lowercase and no results are displayed. It can be in uppercase. This is because in ORACLE, usernames and table names are stored in the database in upper case by default. SQL> show userUSER is "YANSP" SQL> select table_name from user_tables; TABLE_NAME------------------------------------------------------------TTESTODCH_EXT_TABLE SQL> select username from USER_USERS; USERNAME------------------------------------------------------------YANSP SQL>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.