표준 입력(stdin)에서 읽고 표준 출력(stdout)에 쓸 수 있는 모든 언어(Python · Ruby · Perl 등)로 작성된 MapReduce 프로그램을 워크플로에 넣는 방식이다.
C++ 로 작성한 MapReduce 프로그램을 Hadoop Pipes 인터페이스로 워크플로에 넣는 방식이다.
기본 액션.
확장 액션.
Sqoop export 액션. 인수를 <arg> 로 하나씩 나눠 준다.
<!-- sqoop action -->
<action name="sqoop_export">
<sqoop xmlns="uri:oozie:sqoop-action:0.4">
<arg>export</arg>
<arg>--connect</arg>
<arg>jdbc:oracle:thin:@//orahost:1521/oracle</arg>
<arg>--username</arg>
<arg>scott</arg>
<arg>--password</arg>
<arg>tiger</arg>
<arg>--table</arg>
<arg>mytable</arg>
<arg>--export-dir</arg>
<arg>/etl/BI/clickstream/aggregate-preferences/output</arg>
</sqoop>
<ok to="end" />
<error to="kill" />
</action>
비밀번호를 XML 에 적지 않으려면 --password-file 로 HDFS 의 파일을 가리킨다.