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 2,098

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Labels