Added: websites/staging/sqoop/trunk/content/docs/1.99.7/dev/DevEnv.html
==============================================================================
--- websites/staging/sqoop/trunk/content/docs/1.99.7/dev/DevEnv.html (added)
+++ websites/staging/sqoop/trunk/content/docs/1.99.7/dev/DevEnv.html Thu Jul 28 
01:17:26 2016
@@ -0,0 +1,252 @@
+
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>3.4. Sqoop 2 Development Environment Setup &mdash; Apache Sqoop  
documentation</title>
+  
+
+  
+  
+
+  
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+
+  
+    <link rel="top" title="Apache Sqoop  documentation" href="../index.html"/>
+        <link rel="up" title="3. Developer Guide" href="../dev.html"/>
+        <link rel="next" title="3.5. Sqoop REST API Guide" 
href="RESTAPI.html"/>
+        <link rel="prev" title="3.3. Sqoop 2 Connector Development" 
href="ConnectorDevelopment.html"/> 
+
+  
+  <script src="../_static/js/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
+
+          
+            <a href="../index.html" class="icon icon-home"> Apache Sqoop
+          
+
+          
+            
+            <img src="../_static/sqoop-logo.png" class="logo" />
+          
+          </a>
+
+          
+            
+            
+          
+
+          
+<div role="search">
+  <form id="rtd-search-form" class="wy-form" action="../search.html" 
method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+
+          
+        </div>
+
+        <div class="wy-menu wy-menu-vertical" data-spy="affix" 
role="navigation" aria-label="main navigation">
+          
+            
+            
+                <ul class="current">
+<li class="toctree-l1"><a class="reference internal" href="../admin.html">1. 
Admin Guide</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../user.html">2. 
User Guide</a></li>
+<li class="toctree-l1 current"><a class="reference internal" 
href="../dev.html">3. Developer Guide</a><ul class="current">
+<li class="toctree-l2"><a class="reference internal" 
href="BuildingSqoop2.html">3.1. Building Sqoop2 from source code</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="ClientAPI.html">3.2. Sqoop Java Client API Guide</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="ConnectorDevelopment.html">3.3. Sqoop 2 Connector Development</a></li>
+<li class="toctree-l2 current"><a class="current reference internal" 
href="">3.4. Sqoop 2 Development Environment Setup</a><ul>
+<li class="toctree-l3"><a class="reference internal" 
href="#system-requirement">3.4.1. System Requirement</a><ul>
+<li class="toctree-l4"><a class="reference internal" href="#java">3.4.1.1. 
Java</a></li>
+<li class="toctree-l4"><a class="reference internal" href="#maven">3.4.1.2. 
Maven</a></li>
+</ul>
+</li>
+<li class="toctree-l3"><a class="reference internal" 
href="#eclipse-setup">3.4.2. Eclipse Setup</a></li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="RESTAPI.html">3.5. 
Sqoop REST API Guide</a></li>
+<li class="toctree-l2"><a class="reference internal" 
href="Repository.html">3.6. Repository</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" 
href="../security.html">4. Security Guide</a></li>
+</ul>
+
+            
+          
+        </div>
+      </div>
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Sqoop</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+          <li><a href="../dev.html">3. Developer Guide</a> &raquo;</li>
+      
+    <li>3.4. Sqoop 2 Development Environment Setup</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          
+            <a href="../_sources/dev/DevEnv.txt" rel="nofollow"> View page 
source</a>
+          
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main" class="document" itemscope="itemscope" 
itemtype="http://schema.org/Article";>
+           <div itemprop="articleBody">
+            
+  <div class="section" id="sqoop-2-development-environment-setup">
+<h1>3.4. Sqoop 2 Development Environment Setup<a class="headerlink" 
href="#sqoop-2-development-environment-setup" title="Permalink to this 
headline">¶</a></h1>
+<p>This document describes you how to setup development environment for Sqoop 
2.</p>
+<div class="section" id="system-requirement">
+<h2>3.4.1. System Requirement<a class="headerlink" href="#system-requirement" 
title="Permalink to this headline">¶</a></h2>
+<div class="section" id="java">
+<h3>3.4.1.1. Java<a class="headerlink" href="#java" title="Permalink to this 
headline">¶</a></h3>
+<p>Sqoop has been developped and test only with JDK from <a class="reference 
external" 
href="http://www.oracle.com/technetwork/java/javase/downloads/index.html";>Oracle</a>
 and we require at least version 7 (we&#8217;re not supporting JDK 1.6 and 
older releases).</p>
+</div>
+<div class="section" id="maven">
+<h3>3.4.1.2. Maven<a class="headerlink" href="#maven" title="Permalink to this 
headline">¶</a></h3>
+<p>Sqoop uses Maven 3 for building the project. Download <a class="reference 
external" href="http://maven.apache.org/download.cgi";>Maven</a> and its 
Installation instructions given in <a class="reference external" 
href="http://maven.apache.org/download.cgi#Maven_Documentation";>link</a>.</p>
+</div>
+</div>
+<div class="section" id="eclipse-setup">
+<h2>3.4.2. Eclipse Setup<a class="headerlink" href="#eclipse-setup" 
title="Permalink to this headline">¶</a></h2>
+<p>Steps for downloading source code are given in <a class="reference 
internal" href="BuildingSqoop2.html"><em>Building Sqoop2 from source 
code</em></a>.</p>
+<p>Sqoop 2 project has multiple modules where one module is depend on another 
module for e.g. sqoop 2 client module has sqoop 2 common module dependency. 
Follow below step for creating eclipse&#8217;s project and classpath for each 
module.</p>
+<div class="highlight-none"><div class="highlight"><pre>//Install all package 
into local maven repository
+mvn clean install -DskipTests
+
+//Adding M2_REPO variable to eclipse workspace
+mvn eclipse:configure-workspace 
-Declipse.workspace=&lt;path-to-eclipse-workspace-dir-for-sqoop-2&gt;
+
+//Eclipse project creation with optional parameters
+mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
+</pre></div>
+</div>
+<p>Alternatively, for manually adding M2_REPO classpath variable as maven 
repository path in eclipse-&gt; window-&gt; Java -&gt;Classpath Variables 
-&gt;Click &#8220;New&#8221; -&gt;In new dialog box, input Name as M2_REPO and 
Path as $HOME/.m2/repository -&gt;click Ok.</p>
+<p>On successful execution of above maven commands, Then import the sqoop 
project modules into eclipse-&gt; File -&gt; Import -&gt;General -&gt;Existing 
Projects into Workspace-&gt; Click Next-&gt; Browse Sqoop 2 directory 
($HOME/git/sqoop2) -&gt;Click Ok -&gt;Import dialog shows multiple projects 
(sqoop-client, sqoop-common, etc.) -&gt; Select all modules -&gt; click 
Finish.</p>
+</div>
+</div>
+
+
+           </div>
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer 
navigation">
+      
+        <a href="RESTAPI.html" class="btn btn-neutral float-right" title="3.5. 
Sqoop REST API Guide" accesskey="n">Next <span class="fa 
fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="ConnectorDevelopment.html" class="btn btn-neutral" 
title="3.3. Sqoop 2 Connector Development" accesskey="p"><span class="fa 
fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2009-2016 The Apache Software Foundation.
+
+    </p>
+  </div> 
+
+</footer>
+
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file


Reply via email to