Oozie Hello World 예제


Oozie Hello World 예제

HelloWord Class 구현 및 jar 생성 public class HelloWorld { public static void main(String[] args) { // write your code here System.out.println("Hello World"); } } jar cvf HelloWorld.jar HelloWorld.class Oozie 설정 파일 생성 job.properties 작성 nameNode=hdfs://localhost:9000 jobTracker=localhost:8032 queueName=default oozie.wf.application.path=${nameNode}/user/oozie-test workflow.xml 작성 <?xml version="1.0" encoding="UTF-8"?> <workflow-app xmlns="uri:oozie:workflow:0.4" name="hello-world-wf"> <start to="java-n...


#helloworld #oozie

원문링크 : Oozie Hello World 예제