Coder Social home page Coder Social logo

chrisfinne / oraclesqoopconnector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from questsoftwaretcd/oraclesqoopconnector

0.0 2.0 0.0 60 KB

Quest Data Connector for Oracle and Hadoop

Home Page: http://toadforcloud.com/entry.jspa?categoryID=677&externalID=4298

License: Apache License 2.0

oraclesqoopconnector's Introduction

Quest® Data Connector for Oracle and Hadoop

Quest® Data Connector for Oracle and Hadoop is an optional plugin to Sqoop. It facilitates the movement of data between Oracle and Hadoop.

Development Prerequisites

To check the source code out you will need Git.

You will need to have the following in order to compile the project:

You will also need to install the Oracle JDBC driver into your local maven repository with the following command:

mvn install:install-file -Dfile=ojdbc6.jar -Dpackaging=jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.2.0

Getting Started

  1. To get a copy of the source code:

     git clone http://github.com/QuestSoftwareTCD/OracleSQOOPconnector.git
    
  2. To compile and generate jar archive:

     cd OracleSQOOPConnector
     mvn package -DskipTests
    
  3. To compile and generate jar archive including running tests:

    • Modify src/test/resources/oraoop-test-env.properties to suit your environment. The user should have all the required privileges as documented in the user guide.

    • Run maven without skipping the tests:

        mvn package
      

Using Eclipse

  1. Generate the Eclipse project with the following:

     mvn eclipse:eclipse
    
  2. Import the project into the Eclipse workspace.

  3. Create a new Run Configuration for the project.

  4. Specify com.cloudera.sqoop.Sqoop as the main class.

  5. Set the working directory - by default data will be created in the working directory.

  6. You can now pass program arguments as normal, for example:

     import -Dsqoop.connection.factories=com.quest.oraoop.OraOopManagerFactory --connect jdbc:oracle:thin:@//hostname:port:service --username username --password password --table oracle_table --target-dir target_dir
    

This will run Sqoop with the default configuration - you can set the SQOOP_CONF_DIR environment variable if needed. It will pick up the oraoop-site-template.xml and oraoop-site.xml configuration files by default.

oraclesqoopconnector's People

Contributors

davidrobson avatar gitquestintersectbuild avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.