BookmarkSubscribeRSS Feed

Part 1 of 4: Configuring Copy to Hadoop and Copy from Hadoop directives to update the file oozie-site.xml

Started ‎02-15-2015 by
Modified ‎10-05-2015 by
Views 1,899

Advanced topic:  Use this article to configure SAS Data Loader for Hadoop (Trial Edition) to use the directives Copy Data to Hadoop and Copy Data from Hadoop. You need this information only if you want to access relational DBMS data; the configuration is not required when accessing SAS data. To complete the configuration process, see also these articles:

 

Before you start, make sure that the SAS Data Loader (Trial Edition) and your Hadoop cluster are installed, configured, and functional.


Note: The following steps are required only if you are using Cloudera without using Cloudera Manager. If you are using Cloudera Manager, or if you are using Hortonworks, then these steps are performed automatically.


Follow these steps to update the file oozie-site.xml:

     1.  In the Cloudera QuickStart virtual machine, click Applications --> System Tools --> Terminal.

     2.  In the terminal window, enter: cd /etc/oozie/conf

     3.  To open the file for edit, enter: sudo vi oozie-site.xml

     4.  In the file, use the arrow keys to locate the following text:

 

       <property>

<name>oozie.service.SchemaService.wf.ext.schemas</name>

<value>shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,
      sqoop-action-0.2.xsd,ssh-action-0.1.xsd</value>
</property>

    5.  Click just before the </value> tag to position the cursor.

 

<value>shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,
      sqoop-action-0.2.xsd,ssh-action-0.1.xsd
CursorHere</value>



     6.  Enter i to begin edit mode.

     7.  Enter: ,sqoop-action-0.4.xsd 

     8.  The text should now read:

 

          <value>shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,
                sqoop-action-0.2.xsd,ssh-action-0.1.xsd,sqoop-action-0.4.xsd</value>

 

Be careful to enter this text exactly as it is shown. If you make a mistake, press the Escape key (Esc) and enter :q! to close the file without adding changes. Then reopen the file and repeat the edit.

 

     9.  Press the Escape key (Esc).

     10.  Enter :wq to write the file. 

     11.   Restart the service to pick up the change. Enter: sudo service oozie restart   

     12.  Verify that the service restarted. Enter: sudo service oozie status  

     13.  The returned status message should be running. If you receive a different message, then repeat these steps.

Version history
Last update:
‎10-05-2015 03:54 PM
Updated by:
Contributors

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Labels