├── .gitignore
├── LICENSE.txt
├── NOTICE.txt
├── README.md
├── bin
├── create-release-artifact
├── findbugs-diff-0.1.0-all.jar.md5
├── mkdistro.sh
├── test-patch
├── test-patch-00-clean
├── test-patch-05-patch-raw-analysis
├── test-patch-08-rat
├── test-patch-09-javadoc
├── test-patch-10-compile
├── test-patch-11-spotbugs-diff
├── test-patch-15-backwards-compatibility
├── test-patch-20-tests
├── test-patch-30-distro
├── test-patch-40-modernizer
├── test-patch-XX-template
└── test-patch-find-new-patch-available-jiras
├── client
├── pom.xml
├── spotbugs-filter.xml
└── src
│ ├── main
│ ├── bin
│ │ └── oozie
│ ├── conf
│ │ └── oozie-client-env.sh
│ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ ├── AppType.java
│ │ │ ├── BuildInfo.java
│ │ │ ├── cli
│ │ │ ├── CLIParser.java
│ │ │ ├── OozieCLI.java
│ │ │ ├── OozieCLIException.java
│ │ │ └── ValidationUtil.java
│ │ │ └── client
│ │ │ ├── ApiJarFactory.java
│ │ │ ├── ApiJarLoader.java
│ │ │ ├── AuthOozieClient.java
│ │ │ ├── BasicAuthenticator.java
│ │ │ ├── BulkResponse.java
│ │ │ ├── BundleJob.java
│ │ │ ├── CoordinatorAction.java
│ │ │ ├── CoordinatorJob.java
│ │ │ ├── CoordinatorWfAction.java
│ │ │ ├── InsecureConnectionHelper.java
│ │ │ ├── JMSConnectionInfo.java
│ │ │ ├── JMSConnectionInfoWrapper.java
│ │ │ ├── Job.java
│ │ │ ├── OozieClient.java
│ │ │ ├── OozieClientException.java
│ │ │ ├── SLAEvent.java
│ │ │ ├── WorkflowAction.java
│ │ │ ├── WorkflowJob.java
│ │ │ ├── XOozieClient.java
│ │ │ ├── event
│ │ │ ├── Event.java
│ │ │ ├── JobEvent.java
│ │ │ ├── SLAEvent.java
│ │ │ ├── jms
│ │ │ │ ├── JMSHeaderConstants.java
│ │ │ │ ├── JMSMessagingUtils.java
│ │ │ │ ├── JSONMessageDeserializer.java
│ │ │ │ └── MessageDeserializer.java
│ │ │ └── message
│ │ │ │ ├── CoordinatorActionMessage.java
│ │ │ │ ├── EventMessage.java
│ │ │ │ ├── JobMessage.java
│ │ │ │ ├── SLAMessage.java
│ │ │ │ └── WorkflowJobMessage.java
│ │ │ ├── rest
│ │ │ ├── JsonTags.java
│ │ │ ├── JsonToBean.java
│ │ │ ├── JsonUtils.java
│ │ │ └── RestConstants.java
│ │ │ └── retry
│ │ │ └── ConnectionRetriableClient.java
│ └── resources
│ │ ├── distcp-action-0.1.xsd
│ │ ├── distcp-action-0.2.xsd
│ │ ├── distcp-action-1.0.xsd
│ │ ├── email-action-0.1.xsd
│ │ ├── email-action-0.2.xsd
│ │ ├── git-action-1.0.xsd
│ │ ├── gms-oozie-sla-0.1.xsd
│ │ ├── hive-action-0.2.xsd
│ │ ├── hive-action-0.3.xsd
│ │ ├── hive-action-0.4.xsd
│ │ ├── hive-action-0.5.xsd
│ │ ├── hive-action-0.6.xsd
│ │ ├── hive-action-1.0.xsd
│ │ ├── hive2-action-0.1.xsd
│ │ ├── hive2-action-0.2.xsd
│ │ ├── hive2-action-1.0.xsd
│ │ ├── oozie-buildinfo.properties
│ │ ├── oozie-bundle-0.1.xsd
│ │ ├── oozie-bundle-0.2.xsd
│ │ ├── oozie-common-1.0.xsd
│ │ ├── oozie-coordinator-0.1.xsd
│ │ ├── oozie-coordinator-0.2.xsd
│ │ ├── oozie-coordinator-0.3.xsd
│ │ ├── oozie-coordinator-0.4.xsd
│ │ ├── oozie-coordinator-0.5.xsd
│ │ ├── oozie-sla-0.1.xsd
│ │ ├── oozie-sla-0.2.xsd
│ │ ├── oozie-workflow-0.1.xsd
│ │ ├── oozie-workflow-0.2.5.xsd
│ │ ├── oozie-workflow-0.2.xsd
│ │ ├── oozie-workflow-0.3.xsd
│ │ ├── oozie-workflow-0.4.5.xsd
│ │ ├── oozie-workflow-0.4.xsd
│ │ ├── oozie-workflow-0.5.xsd
│ │ ├── oozie-workflow-1.0.xsd
│ │ ├── shell-action-0.1.xsd
│ │ ├── shell-action-0.2.xsd
│ │ ├── shell-action-0.3.xsd
│ │ ├── shell-action-1.0.xsd
│ │ ├── spark-action-0.1.xsd
│ │ ├── spark-action-0.2.xsd
│ │ ├── spark-action-1.0.xsd
│ │ ├── sqoop-action-0.2.xsd
│ │ ├── sqoop-action-0.3.xsd
│ │ ├── sqoop-action-0.4.xsd
│ │ ├── sqoop-action-1.0.xsd
│ │ ├── ssh-action-0.1.xsd
│ │ └── ssh-action-0.2.xsd
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ └── oozie
│ │ ├── cli
│ │ ├── TestCLIParser.java
│ │ └── TestOozieCLIMethods.java
│ │ └── client
│ │ └── rest
│ │ ├── TestJsonToBean.java
│ │ └── TestJsonUtils.java
│ └── resources
│ ├── invalid.xml
│ └── valid.xml
├── core
├── pom.xml
└── src
│ ├── main
│ ├── conf
│ │ ├── action-conf
│ │ │ └── hive.xml
│ │ ├── adminusers.txt
│ │ ├── hadoop-conf
│ │ │ └── core-site.xml
│ │ ├── hadoop-config.xml
│ │ ├── oozie-env.sh
│ │ ├── oozie-log4j.properties
│ │ └── oozie-site.xml
│ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ ├── BaseEngine.java
│ │ │ ├── BaseEngineException.java
│ │ │ ├── BaseLocalOozieClient.java
│ │ │ ├── BinaryBlob.java
│ │ │ ├── BulkResponseInfo.java
│ │ │ ├── BundleActionBean.java
│ │ │ ├── BundleEngine.java
│ │ │ ├── BundleEngineException.java
│ │ │ ├── BundleJobBean.java
│ │ │ ├── BundleJobInfo.java
│ │ │ ├── CoordinatorActionBean.java
│ │ │ ├── CoordinatorActionInfo.java
│ │ │ ├── CoordinatorEngine.java
│ │ │ ├── CoordinatorEngineException.java
│ │ │ ├── CoordinatorJobBean.java
│ │ │ ├── CoordinatorJobInfo.java
│ │ │ ├── CoordinatorWfActionBean.java
│ │ │ ├── DagELFunctions.java
│ │ │ ├── DagEngine.java
│ │ │ ├── DagEngineException.java
│ │ │ ├── ErrorCode.java
│ │ │ ├── FaultInjection.java
│ │ │ ├── FilterParser.java
│ │ │ ├── LocalOozieClient.java
│ │ │ ├── LocalOozieClientBundle.java
│ │ │ ├── LocalOozieClientCoord.java
│ │ │ ├── OozieClientOperationHandler.java
│ │ │ ├── OozieJsonFactory.java
│ │ │ ├── SLAEventBean.java
│ │ │ ├── StringBlob.java
│ │ │ ├── WorkflowActionBean.java
│ │ │ ├── WorkflowJobBean.java
│ │ │ ├── WorkflowsInfo.java
│ │ │ ├── XException.java
│ │ │ ├── action
│ │ │ ├── ActionExecutor.java
│ │ │ ├── ActionExecutorException.java
│ │ │ ├── control
│ │ │ │ ├── ControlNodeActionExecutor.java
│ │ │ │ ├── EndActionExecutor.java
│ │ │ │ ├── ForkActionExecutor.java
│ │ │ │ ├── JoinActionExecutor.java
│ │ │ │ ├── KillActionExecutor.java
│ │ │ │ └── StartActionExecutor.java
│ │ │ ├── decision
│ │ │ │ └── DecisionActionExecutor.java
│ │ │ ├── email
│ │ │ │ └── EmailActionExecutor.java
│ │ │ ├── hadoop
│ │ │ │ ├── BytesAndUOMConverter.java
│ │ │ │ ├── CredentialException.java
│ │ │ │ ├── CredentialsProperties.java
│ │ │ │ ├── CredentialsProvider.java
│ │ │ │ ├── CredentialsProviderFactory.java
│ │ │ │ ├── DependencyDeduplicator.java
│ │ │ │ ├── DistcpActionExecutor.java
│ │ │ │ ├── FileSystemCredentials.java
│ │ │ │ ├── FsActionExecutor.java
│ │ │ │ ├── FsELFunctions.java
│ │ │ │ ├── GitActionExecutor.java
│ │ │ │ ├── HCatCredentialHelper.java
│ │ │ │ ├── HCatCredentials.java
│ │ │ │ ├── HDFSCredentials.java
│ │ │ │ ├── HadoopELFunctions.java
│ │ │ │ ├── HadoopTokenHelper.java
│ │ │ │ ├── HbaseCredentials.java
│ │ │ │ ├── Hive2ActionExecutor.java
│ │ │ │ ├── Hive2Credentials.java
│ │ │ │ ├── HiveActionExecutor.java
│ │ │ │ ├── JHSCredentials.java
│ │ │ │ ├── JavaActionExecutor.java
│ │ │ │ ├── LauncherConfigurationInjector.java
│ │ │ │ ├── LauncherHelper.java
│ │ │ │ ├── MRStats.java
│ │ │ │ ├── MapReduceActionExecutor.java
│ │ │ │ ├── OozieJobInfo.java
│ │ │ │ ├── PigActionExecutor.java
│ │ │ │ ├── ScriptLanguageActionExecutor.java
│ │ │ │ ├── ShareLibExcluder.java
│ │ │ │ ├── SharelibResolver.java
│ │ │ │ ├── ShellActionExecutor.java
│ │ │ │ ├── ShellSplitter.java
│ │ │ │ ├── ShellSplitterException.java
│ │ │ │ ├── SparkActionExecutor.java
│ │ │ │ ├── SqoopActionExecutor.java
│ │ │ │ ├── YarnACLHandler.java
│ │ │ │ └── YarnRMCredentials.java
│ │ │ ├── oozie
│ │ │ │ └── SubWorkflowActionExecutor.java
│ │ │ └── ssh
│ │ │ │ └── SshActionExecutor.java
│ │ │ ├── bundle
│ │ │ └── BundleELFunctions.java
│ │ │ ├── client
│ │ │ └── rest
│ │ │ │ ├── BulkResponseImpl.java
│ │ │ │ ├── JMSConnectionInfoBean.java
│ │ │ │ ├── JsonBean.java
│ │ │ │ └── JsonSLAEvent.java
│ │ │ ├── command
│ │ │ ├── BulkJobsXCommand.java
│ │ │ ├── CommandException.java
│ │ │ ├── IgnoreTransitionXCommand.java
│ │ │ ├── KillTransitionXCommand.java
│ │ │ ├── MaterializeTransitionXCommand.java
│ │ │ ├── NotificationXCommand.java
│ │ │ ├── OperationType.java
│ │ │ ├── PauseTransitionXCommand.java
│ │ │ ├── PreconditionException.java
│ │ │ ├── PurgeXCommand.java
│ │ │ ├── RerunTransitionXCommand.java
│ │ │ ├── ResumeTransitionXCommand.java
│ │ │ ├── SLAAlertsXCommand.java
│ │ │ ├── SchemaCheckXCommand.java
│ │ │ ├── SkipCommitFaultInjection.java
│ │ │ ├── StartTransitionXCommand.java
│ │ │ ├── StatusTransitXCommand.java
│ │ │ ├── StatusUpdateXCommand.java
│ │ │ ├── SubmitTransitionXCommand.java
│ │ │ ├── SuspendTransitionXCommand.java
│ │ │ ├── TransitionXCommand.java
│ │ │ ├── UnpauseTransitionXCommand.java
│ │ │ ├── XCommand.java
│ │ │ ├── bundle
│ │ │ │ ├── BulkBundleXCommand.java
│ │ │ │ ├── BundleCoordSubmitXCommand.java
│ │ │ │ ├── BundleJobChangeXCommand.java
│ │ │ │ ├── BundleJobException.java
│ │ │ │ ├── BundleJobResumeXCommand.java
│ │ │ │ ├── BundleJobSuspendXCommand.java
│ │ │ │ ├── BundleJobXCommand.java
│ │ │ │ ├── BundleJobsXCommand.java
│ │ │ │ ├── BundleKillXCommand.java
│ │ │ │ ├── BundlePauseXCommand.java
│ │ │ │ ├── BundleRerunXCommand.java
│ │ │ │ ├── BundleSLAAlertsDisableXCommand.java
│ │ │ │ ├── BundleSLAAlertsEnableXCommand.java
│ │ │ │ ├── BundleSLAAlertsXCommand.java
│ │ │ │ ├── BundleSLAChangeXCommand.java
│ │ │ │ ├── BundleStartXCommand.java
│ │ │ │ ├── BundleStatusTransitXCommand.java
│ │ │ │ ├── BundleStatusUpdateXCommand.java
│ │ │ │ ├── BundleSubmitXCommand.java
│ │ │ │ └── BundleUnpauseXCommand.java
│ │ │ ├── coord
│ │ │ │ ├── BulkCoordXCommand.java
│ │ │ │ ├── CoordActionCheckXCommand.java
│ │ │ │ ├── CoordActionInfoXCommand.java
│ │ │ │ ├── CoordActionInputCheckXCommand.java
│ │ │ │ ├── CoordActionMissingDependenciesXCommand.java
│ │ │ │ ├── CoordActionNotificationXCommand.java
│ │ │ │ ├── CoordActionReadyXCommand.java
│ │ │ │ ├── CoordActionSkipXCommand.java
│ │ │ │ ├── CoordActionStartXCommand.java
│ │ │ │ ├── CoordActionTimeOutXCommand.java
│ │ │ │ ├── CoordActionUpdatePushMissingDependency.java
│ │ │ │ ├── CoordActionUpdateXCommand.java
│ │ │ │ ├── CoordActionsIgnoreXCommand.java
│ │ │ │ ├── CoordActionsKillXCommand.java
│ │ │ │ ├── CoordChangeXCommand.java
│ │ │ │ ├── CoordCommandUtils.java
│ │ │ │ ├── CoordJobXCommand.java
│ │ │ │ ├── CoordJobsXCommand.java
│ │ │ │ ├── CoordKillXCommand.java
│ │ │ │ ├── CoordMaterializeTransitionXCommand.java
│ │ │ │ ├── CoordPauseXCommand.java
│ │ │ │ ├── CoordPushDependencyCheckXCommand.java
│ │ │ │ ├── CoordRerunXCommand.java
│ │ │ │ ├── CoordResumeXCommand.java
│ │ │ │ ├── CoordSLAAlertsDisableXCommand.java
│ │ │ │ ├── CoordSLAAlertsEnableXCommand.java
│ │ │ │ ├── CoordSLAAlertsXCommand.java
│ │ │ │ ├── CoordSLAChangeXCommand.java
│ │ │ │ ├── CoordStatusTransitXCommand.java
│ │ │ │ ├── CoordSubmitXCommand.java
│ │ │ │ ├── CoordSuspendXCommand.java
│ │ │ │ ├── CoordUnpauseXCommand.java
│ │ │ │ ├── CoordUpdateXCommand.java
│ │ │ │ ├── CoordWfActionInfoXCommand.java
│ │ │ │ ├── CoordinatorXCommand.java
│ │ │ │ ├── DaylightOffsetCalculator.java
│ │ │ │ └── SLAEventsXCommand.java
│ │ │ ├── sla
│ │ │ │ ├── SLACoordActionJobEventXCommand.java
│ │ │ │ ├── SLACoordActionJobHistoryXCommand.java
│ │ │ │ ├── SLAJobEventXCommand.java
│ │ │ │ ├── SLAJobHistoryXCommand.java
│ │ │ │ ├── SLAWorkflowActionJobEventXCommand.java
│ │ │ │ ├── SLAWorkflowActionJobHistoryXCommand.java
│ │ │ │ ├── SLAWorkflowJobEventXCommand.java
│ │ │ │ └── SLAWorkflowJobHistoryXCommand.java
│ │ │ └── wf
│ │ │ │ ├── ActionCheckXCommand.java
│ │ │ │ ├── ActionEndXCommand.java
│ │ │ │ ├── ActionKillXCommand.java
│ │ │ │ ├── ActionStartXCommand.java
│ │ │ │ ├── ActionXCommand.java
│ │ │ │ ├── BulkWorkflowXCommand.java
│ │ │ │ ├── CompletedActionXCommand.java
│ │ │ │ ├── DefinitionXCommand.java
│ │ │ │ ├── ExternalIdXCommand.java
│ │ │ │ ├── ForkedActionStartXCommand.java
│ │ │ │ ├── JobXCommand.java
│ │ │ │ ├── JobsXCommand.java
│ │ │ │ ├── KillXCommand.java
│ │ │ │ ├── ReRunXCommand.java
│ │ │ │ ├── ResumeXCommand.java
│ │ │ │ ├── SignalXCommand.java
│ │ │ │ ├── StartXCommand.java
│ │ │ │ ├── SubmitHiveXCommand.java
│ │ │ │ ├── SubmitHttpXCommand.java
│ │ │ │ ├── SubmitMRXCommand.java
│ │ │ │ ├── SubmitPigXCommand.java
│ │ │ │ ├── SubmitScriptLanguageXCommand.java
│ │ │ │ ├── SubmitSqoopXCommand.java
│ │ │ │ ├── SubmitXCommand.java
│ │ │ │ ├── SuspendXCommand.java
│ │ │ │ ├── WfEndXCommand.java
│ │ │ │ ├── WorkflowActionInfoXCommand.java
│ │ │ │ ├── WorkflowActionRetryInfoXCommand.java
│ │ │ │ ├── WorkflowNotificationXCommand.java
│ │ │ │ └── WorkflowXCommand.java
│ │ │ ├── compression
│ │ │ ├── CodecFactory.java
│ │ │ ├── CompressionCodec.java
│ │ │ └── GzipCompressionCodec.java
│ │ │ ├── coord
│ │ │ ├── CoordELConstants.java
│ │ │ ├── CoordELEvaluator.java
│ │ │ ├── CoordELFunctions.java
│ │ │ ├── CoordUtils.java
│ │ │ ├── CoordinatorJobException.java
│ │ │ ├── ElException.java
│ │ │ ├── HCatELFunctions.java
│ │ │ ├── SyncCoordAction.java
│ │ │ ├── SyncCoordDataset.java
│ │ │ ├── TimeUnit.java
│ │ │ └── input
│ │ │ │ ├── dependency
│ │ │ │ ├── AbstractCoordInputDependency.java
│ │ │ │ ├── CoordInputDependency.java
│ │ │ │ ├── CoordInputDependencyFactory.java
│ │ │ │ ├── CoordInputInstance.java
│ │ │ │ ├── CoordOldInputDependency.java
│ │ │ │ ├── CoordPullInputDependency.java
│ │ │ │ ├── CoordPushInputDependency.java
│ │ │ │ └── CoordUnResolvedInputDependency.java
│ │ │ │ └── logic
│ │ │ │ ├── CoordInputLogicBuilder.java
│ │ │ │ ├── CoordInputLogicEvaluator.java
│ │ │ │ ├── CoordInputLogicEvaluatorPhaseOne.java
│ │ │ │ ├── CoordInputLogicEvaluatorPhaseThree.java
│ │ │ │ ├── CoordInputLogicEvaluatorPhaseTwo.java
│ │ │ │ ├── CoordInputLogicEvaluatorPhaseValidate.java
│ │ │ │ ├── CoordInputLogicEvaluatorResult.java
│ │ │ │ ├── CoordInputLogicEvaluatorUtil.java
│ │ │ │ ├── InputLogicParser.java
│ │ │ │ ├── OozieJexlEngine.java
│ │ │ │ └── OozieJexlInterpreter.java
│ │ │ ├── dependency
│ │ │ ├── ActionDependency.java
│ │ │ ├── DependencyChecker.java
│ │ │ ├── FSURIHandler.java
│ │ │ ├── HCatURIHandler.java
│ │ │ ├── URIHandler.java
│ │ │ ├── URIHandlerException.java
│ │ │ └── hcat
│ │ │ │ ├── EhcacheHCatDependencyCache.java
│ │ │ │ ├── HCatDependencyCache.java
│ │ │ │ ├── HCatMessageHandler.java
│ │ │ │ ├── SimpleHCatDependencyCache.java
│ │ │ │ ├── WaitingAction.java
│ │ │ │ └── WaitingActions.java
│ │ │ ├── event
│ │ │ ├── BundleJobEvent.java
│ │ │ ├── CoordinatorActionEvent.java
│ │ │ ├── CoordinatorJobEvent.java
│ │ │ ├── EventQueue.java
│ │ │ ├── MemoryEventQueue.java
│ │ │ ├── WorkflowActionEvent.java
│ │ │ ├── WorkflowJobEvent.java
│ │ │ ├── listener
│ │ │ │ ├── JobEventListener.java
│ │ │ │ └── ZKConnectionListener.java
│ │ │ └── messaging
│ │ │ │ ├── JSONMessageSerializer.java
│ │ │ │ ├── MessageFactory.java
│ │ │ │ └── MessageSerializer.java
│ │ │ ├── executor
│ │ │ └── jpa
│ │ │ │ ├── BatchQueryExecutor.java
│ │ │ │ ├── BinaryBlobValueHandler.java
│ │ │ │ ├── BulkJPAExecutor.java
│ │ │ │ ├── BundleActionGetJPAExecutor.java
│ │ │ │ ├── BundleActionInsertJPAExecutor.java
│ │ │ │ ├── BundleActionQueryExecutor.java
│ │ │ │ ├── BundleActionsCountForJobGetJPAExecutor.java
│ │ │ │ ├── BundleJobGetCoordinatorsJPAExecutor.java
│ │ │ │ ├── BundleJobGetForUserJPAExecutor.java
│ │ │ │ ├── BundleJobGetJPAExecutor.java
│ │ │ │ ├── BundleJobInfoGetJPAExecutor.java
│ │ │ │ ├── BundleJobInsertJPAExecutor.java
│ │ │ │ ├── BundleJobQueryExecutor.java
│ │ │ │ ├── BundleJobsDeleteJPAExecutor.java
│ │ │ │ ├── BundleJobsGetForPurgeJPAExecutor.java
│ │ │ │ ├── BundleJobsGetNeedStartJPAExecutor.java
│ │ │ │ ├── BundleJobsGetPausedJPAExecutor.java
│ │ │ │ ├── BundleJobsGetRunningOrPendingJPAExecutor.java
│ │ │ │ ├── BundleJobsGetUnpausedJPAExecutor.java
│ │ │ │ ├── CoordActionGetForCheckJPAExecutor.java
│ │ │ │ ├── CoordActionGetForExternalIdJPAExecutor.java
│ │ │ │ ├── CoordActionGetForInfoJPAExecutor.java
│ │ │ │ ├── CoordActionGetForInputCheckJPAExecutor.java
│ │ │ │ ├── CoordActionGetForStartJPAExecutor.java
│ │ │ │ ├── CoordActionGetForTimeoutJPAExecutor.java
│ │ │ │ ├── CoordActionGetJPAExecutor.java
│ │ │ │ ├── CoordActionInsertJPAExecutor.java
│ │ │ │ ├── CoordActionQueryExecutor.java
│ │ │ │ ├── CoordActionRemoveJPAExecutor.java
│ │ │ │ ├── CoordActionsActiveCountJPAExecutor.java
│ │ │ │ ├── CoordActionsCountForJobIdJPAExecutor.java
│ │ │ │ ├── CoordActionsDeleteJPAExecutor.java
│ │ │ │ ├── CoordActionsGetFromCoordJobIdJPAExecutor.java
│ │ │ │ ├── CoordActionsPendingFalseCountGetJPAExecutor.java
│ │ │ │ ├── CoordActionsPendingFalseStatusCountGetJPAExecutor.java
│ │ │ │ ├── CoordActionsRunningGetJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionByActionNumberJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionForNominalTimeJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionModifiedDateForRangeJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionRunningCountForRangeJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsNotCompletedJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsRunningJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsStatusJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsSubsetJPAExecutor.java
│ │ │ │ ├── CoordJobGetActionsSuspendedJPAExecutor.java
│ │ │ │ ├── CoordJobGetJPAExecutor.java
│ │ │ │ ├── CoordJobGetReadyActionsJPAExecutor.java
│ │ │ │ ├── CoordJobGetRunningActionsCountJPAExecutor.java
│ │ │ │ ├── CoordJobInfoGetJPAExecutor.java
│ │ │ │ ├── CoordJobInsertJPAExecutor.java
│ │ │ │ ├── CoordJobQueryExecutor.java
│ │ │ │ ├── CoordJobsCountNotForPurgeFromParentIdJPAExecutor.java
│ │ │ │ ├── CoordJobsDeleteJPAExecutor.java
│ │ │ │ ├── CoordJobsGetForPurgeJPAExecutor.java
│ │ │ │ ├── CoordJobsGetFromParentIdJPAExecutor.java
│ │ │ │ ├── CoordJobsGetPausedJPAExecutor.java
│ │ │ │ ├── CoordJobsGetPendingJPAExecutor.java
│ │ │ │ ├── CoordJobsGetUnpausedJPAExecutor.java
│ │ │ │ ├── CoordJobsToBeMaterializedJPAExecutor.java
│ │ │ │ ├── CoordinatorJobGetForUserAppnameJPAExecutor.java
│ │ │ │ ├── CoordinatorJobGetForUserJPAExecutor.java
│ │ │ │ ├── JPAExecutor.java
│ │ │ │ ├── JPAExecutorException.java
│ │ │ │ ├── JsonBeanPersisterExecutor.java
│ │ │ │ ├── QueryExecutor.java
│ │ │ │ ├── SLAEventInsertJPAExecutor.java
│ │ │ │ ├── SLAEventsGetForFilterJPAExecutor.java
│ │ │ │ ├── SLAEventsGetForSeqIdJPAExecutor.java
│ │ │ │ ├── SLAEventsGetJPAExecutor.java
│ │ │ │ ├── SLARegistrationQueryExecutor.java
│ │ │ │ ├── SLASummaryQueryExecutor.java
│ │ │ │ ├── StringBlobValueHandler.java
│ │ │ │ ├── WorkflowActionDeleteJPAExecutor.java
│ │ │ │ ├── WorkflowActionGetJPAExecutor.java
│ │ │ │ ├── WorkflowActionInsertJPAExecutor.java
│ │ │ │ ├── WorkflowActionQueryExecutor.java
│ │ │ │ ├── WorkflowActionRetryManualGetJPAExecutor.java
│ │ │ │ ├── WorkflowActionSubsetGetJPAExecutor.java
│ │ │ │ ├── WorkflowActionsFailedOutsideOfProvidedActionGetForJobJPAExecutor.java
│ │ │ │ ├── WorkflowActionsGetForJobJPAExecutor.java
│ │ │ │ ├── WorkflowIdGetForExternalIdJPAExecutor.java
│ │ │ │ ├── WorkflowInfoWithActionsSubsetGetJPAExecutor.java
│ │ │ │ ├── WorkflowJobDeleteJPAExecutor.java
│ │ │ │ ├── WorkflowJobGetActionsJPAExecutor.java
│ │ │ │ ├── WorkflowJobGetForUserJPAExecutor.java
│ │ │ │ ├── WorkflowJobGetJPAExecutor.java
│ │ │ │ ├── WorkflowJobInsertJPAExecutor.java
│ │ │ │ ├── WorkflowJobQueryExecutor.java
│ │ │ │ ├── WorkflowJobsBasicInfoFromCoordParentIdJPAExecutor.java
│ │ │ │ ├── WorkflowJobsBasicInfoFromParentId.java
│ │ │ │ ├── WorkflowJobsBasicInfoFromWorkflowParentIdJPAExecutor.java
│ │ │ │ ├── WorkflowJobsDeleteJPAExecutor.java
│ │ │ │ ├── WorkflowJobsGetForPurgeJPAExecutor.java
│ │ │ │ ├── WorkflowJobsGetFromCoordParentIdJPAExecutor.java
│ │ │ │ ├── WorkflowJobsGetFromWorkflowParentIdJPAExecutor.java
│ │ │ │ ├── WorkflowsJobGetJPAExecutor.java
│ │ │ │ └── sla
│ │ │ │ ├── SLASummaryGetForFilterJPAExecutor.java
│ │ │ │ └── SLASummaryGetRecordsOnRestartJPAExecutor.java
│ │ │ ├── jms
│ │ │ ├── ConnectionContext.java
│ │ │ ├── DefaultConnectionContext.java
│ │ │ ├── JMSConnectionInfo.java
│ │ │ ├── JMSExceptionListener.java
│ │ │ ├── JMSJobEventListener.java
│ │ │ ├── JMSSLAEventListener.java
│ │ │ ├── MessageHandler.java
│ │ │ └── MessageReceiver.java
│ │ │ ├── local
│ │ │ └── LocalOozie.java
│ │ │ ├── lock
│ │ │ ├── LockToken.java
│ │ │ └── MemoryLocks.java
│ │ │ ├── service
│ │ │ ├── AbandonedCoordCheckerService.java
│ │ │ ├── ActionCheckerService.java
│ │ │ ├── ActionConfFileType.java
│ │ │ ├── ActionService.java
│ │ │ ├── AsyncXCommandExecutor.java
│ │ │ ├── AuthorizationException.java
│ │ │ ├── AuthorizationService.java
│ │ │ ├── BundleEngineService.java
│ │ │ ├── CallableQueueService.java
│ │ │ ├── CallbackService.java
│ │ │ ├── ConfigurationService.java
│ │ │ ├── CoordMaterializeTriggerService.java
│ │ │ ├── CoordinatorEngineService.java
│ │ │ ├── DBLiteWorkflowStoreService.java
│ │ │ ├── DagEngineService.java
│ │ │ ├── DagXLogInfoService.java
│ │ │ ├── ELService.java
│ │ │ ├── EventHandlerService.java
│ │ │ ├── GroupsService.java
│ │ │ ├── HCatAccessorException.java
│ │ │ ├── HCatAccessorService.java
│ │ │ ├── HadoopAccessorException.java
│ │ │ ├── HadoopAccessorService.java
│ │ │ ├── InstrumentationService.java
│ │ │ ├── JMSAccessorService.java
│ │ │ ├── JMSTopicService.java
│ │ │ ├── JPAService.java
│ │ │ ├── JobsConcurrencyService.java
│ │ │ ├── JvmPauseMonitorService.java
│ │ │ ├── LiteWorkflowAppService.java
│ │ │ ├── LiteWorkflowStoreService.java
│ │ │ ├── MemoryLocksService.java
│ │ │ ├── MetricsInstrumentationService.java
│ │ │ ├── PartitionDependencyManagerService.java
│ │ │ ├── PauseTransitService.java
│ │ │ ├── ProxyUserService.java
│ │ │ ├── PurgeService.java
│ │ │ ├── RecoveryService.java
│ │ │ ├── SchedulerService.java
│ │ │ ├── SchemaCheckerService.java
│ │ │ ├── SchemaService.java
│ │ │ ├── Service.java
│ │ │ ├── ServiceException.java
│ │ │ ├── Services.java
│ │ │ ├── ShareLibService.java
│ │ │ ├── SparkConfigurationService.java
│ │ │ ├── StatusTransitService.java
│ │ │ ├── StoreService.java
│ │ │ ├── URIHandlerService.java
│ │ │ ├── UUIDService.java
│ │ │ ├── UserGroupInformationService.java
│ │ │ ├── WorkflowAppService.java
│ │ │ ├── WorkflowSchemaService.java
│ │ │ ├── WorkflowStoreService.java
│ │ │ ├── XLogService.java
│ │ │ ├── XLogStreamingService.java
│ │ │ ├── XLogUtil.java
│ │ │ ├── ZKJobsConcurrencyService.java
│ │ │ ├── ZKLocksService.java
│ │ │ ├── ZKUUIDService.java
│ │ │ └── ZKXLogStreamingService.java
│ │ │ ├── servlet
│ │ │ ├── AuthFilter.java
│ │ │ ├── BaseAdminServlet.java
│ │ │ ├── BaseJobServlet.java
│ │ │ ├── BaseJobsServlet.java
│ │ │ ├── CallbackServlet.java
│ │ │ ├── ErrorServlet.java
│ │ │ ├── HostnameFilter.java
│ │ │ ├── HttpResponseHeaderFilter.java
│ │ │ ├── JVMInfo.java
│ │ │ ├── JsonRestServlet.java
│ │ │ ├── SLAServlet.java
│ │ │ ├── ServicesLoader.java
│ │ │ ├── ServletUtilities.java
│ │ │ ├── V0AdminServlet.java
│ │ │ ├── V0JobServlet.java
│ │ │ ├── V0JobsServlet.java
│ │ │ ├── V1AdminServlet.java
│ │ │ ├── V1JobServlet.java
│ │ │ ├── V1JobsServlet.java
│ │ │ ├── V2AdminServlet.java
│ │ │ ├── V2JobServlet.java
│ │ │ ├── V2SLAServlet.java
│ │ │ ├── V2ValidateServlet.java
│ │ │ ├── VersionServlet.java
│ │ │ └── XServletException.java
│ │ │ ├── sla
│ │ │ ├── SLACalcStatus.java
│ │ │ ├── SLACalculator.java
│ │ │ ├── SLACalculatorMemory.java
│ │ │ ├── SLAOperations.java
│ │ │ ├── SLARegistrationBean.java
│ │ │ ├── SLASummaryBean.java
│ │ │ ├── SLAXCommandFactory.java
│ │ │ ├── listener
│ │ │ │ ├── SLAEmailEventListener.java
│ │ │ │ ├── SLAEventListener.java
│ │ │ │ └── SLAJobEventListener.java
│ │ │ └── service
│ │ │ │ └── SLAService.java
│ │ │ ├── store
│ │ │ ├── OozieSchema.java
│ │ │ ├── Store.java
│ │ │ ├── StoreException.java
│ │ │ ├── StoreStatusFilter.java
│ │ │ └── WorkflowStore.java
│ │ │ ├── test
│ │ │ └── EmbeddedServletContainer.java
│ │ │ ├── util
│ │ │ ├── AuthUrlClient.java
│ │ │ ├── BufferDrainer.java
│ │ │ ├── ByteArrayUtils.java
│ │ │ ├── ClassUtils.java
│ │ │ ├── ClasspathUtils.java
│ │ │ ├── ConfigUtils.java
│ │ │ ├── CoordActionsInDateRange.java
│ │ │ ├── DateUtils.java
│ │ │ ├── ELConstantsFunctions.java
│ │ │ ├── ELEvaluationException.java
│ │ │ ├── ELEvaluator.java
│ │ │ ├── ELUtils.java
│ │ │ ├── FSUtils.java
│ │ │ ├── FixedJsonInstanceSerializer.java
│ │ │ ├── IOUtils.java
│ │ │ ├── InstrumentUtils.java
│ │ │ ├── Instrumentable.java
│ │ │ ├── Instrumentation.java
│ │ │ ├── JaasConfiguration.java
│ │ │ ├── JobUtils.java
│ │ │ ├── JobsFilterUtils.java
│ │ │ ├── LogLine.java
│ │ │ ├── LogUtils.java
│ │ │ ├── MappingRule.java
│ │ │ ├── MetricsInstrumentation.java
│ │ │ ├── MultiFileReader.java
│ │ │ ├── NamedThreadFactory.java
│ │ │ ├── OozieRollingPolicy.java
│ │ │ ├── Pair.java
│ │ │ ├── ParamChecker.java
│ │ │ ├── ParameterVerifier.java
│ │ │ ├── ParameterVerifierException.java
│ │ │ ├── PollablePriorityDelayQueue.java
│ │ │ ├── PriorityDelayQueue.java
│ │ │ ├── PropertiesUtils.java
│ │ │ ├── SimpleTimestampedMessageParser.java
│ │ │ ├── StatusUtils.java
│ │ │ ├── StringSerializationUtil.java
│ │ │ ├── StringUtils.java
│ │ │ ├── TimestampedMessageParser.java
│ │ │ ├── WritableUtils.java
│ │ │ ├── XCallable.java
│ │ │ ├── XConfiguration.java
│ │ │ ├── XLog.java
│ │ │ ├── XLogAuditFilter.java
│ │ │ ├── XLogAuditStreamer.java
│ │ │ ├── XLogErrorStreamer.java
│ │ │ ├── XLogFilter.java
│ │ │ ├── XLogStreamer.java
│ │ │ ├── XLogUserFilterParam.java
│ │ │ ├── XmlUtils.java
│ │ │ ├── ZKUtils.java
│ │ │ ├── db
│ │ │ │ ├── AlwaysFailingHSQLDriverMapper.java
│ │ │ │ ├── BasicDataSourceWrapper.java
│ │ │ │ ├── CompositeIndex.java
│ │ │ │ ├── DatabaseRetryPredicate.java
│ │ │ │ ├── FailingConnectionWrapper.java
│ │ │ │ ├── FailingDBHelperForTest.java
│ │ │ │ ├── FailingHSQLDBDriverWrapper.java
│ │ │ │ ├── FailingMySQLDriverWrapper.java
│ │ │ │ ├── OperationRetryHandler.java
│ │ │ │ ├── PersistenceExceptionSubclassFilterRetryPredicate.java
│ │ │ │ ├── RetryAttemptState.java
│ │ │ │ ├── RuntimeExceptionInjector.java
│ │ │ │ ├── SLADbOperations.java
│ │ │ │ ├── SLADbXOperations.java
│ │ │ │ ├── Schema.java
│ │ │ │ ├── SqlStatement.java
│ │ │ │ └── ValidateConnectionBean.java
│ │ │ ├── graph
│ │ │ │ ├── GraphGenerator.java
│ │ │ │ ├── GraphRenderer.java
│ │ │ │ ├── GraphvizRenderer.java
│ │ │ │ ├── OutputFormat.java
│ │ │ │ ├── WorkflowActionNode.java
│ │ │ │ └── WorkflowGraphHandler.java
│ │ │ └── schema
│ │ │ │ ├── Input.java
│ │ │ │ └── ResourceResolver.java
│ │ │ └── workflow
│ │ │ ├── WorkflowApp.java
│ │ │ ├── WorkflowException.java
│ │ │ ├── WorkflowInstance.java
│ │ │ ├── WorkflowLib.java
│ │ │ └── lite
│ │ │ ├── ActionNodeDef.java
│ │ │ ├── ActionNodeHandler.java
│ │ │ ├── ControlNodeDef.java
│ │ │ ├── ControlNodeHandler.java
│ │ │ ├── DBLiteWorkflowLib.java
│ │ │ ├── DecisionNodeDef.java
│ │ │ ├── DecisionNodeHandler.java
│ │ │ ├── EndNodeDef.java
│ │ │ ├── ForkNodeDef.java
│ │ │ ├── JoinNodeDef.java
│ │ │ ├── KillNodeDef.java
│ │ │ ├── LauncherConfigHandler.java
│ │ │ ├── LiteWorkflowApp.java
│ │ │ ├── LiteWorkflowAppParser.java
│ │ │ ├── LiteWorkflowInstance.java
│ │ │ ├── LiteWorkflowLib.java
│ │ │ ├── LiteWorkflowValidator.java
│ │ │ ├── NodeDef.java
│ │ │ ├── NodeHandler.java
│ │ │ └── StartNodeDef.java
│ └── resources
│ │ ├── META-INF
│ │ ├── oozie-derby-orm.xml
│ │ ├── oozie-hsqldb-orm.xml
│ │ ├── oozie-mysql-orm.xml
│ │ ├── oozie-oracle-orm.xml
│ │ ├── oozie-postgresql-orm.xml
│ │ ├── oozie-sqlserver-orm.xml
│ │ └── persistence.xml
│ │ ├── ehcache-default.xml
│ │ ├── hadoop-streaming.xml
│ │ ├── jetty-logging.properties
│ │ ├── localoozie-log4j.properties
│ │ ├── oozie-default.xml
│ │ ├── oozie-hbase-client-site.xml
│ │ ├── oozie-log4j.properties
│ │ ├── ssh-base.sh
│ │ └── ssh-wrapper.sh
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ ├── hadoop
│ │ └── examples
│ │ │ └── SleepJob.java
│ │ └── oozie
│ │ ├── ForTestingActionExecutor.java
│ │ ├── QueryServlet.java
│ │ ├── TestActionBean.java
│ │ ├── TestBundleEngineSimple.java
│ │ ├── TestBundleJobBean.java
│ │ ├── TestCoordinatorEngine.java
│ │ ├── TestCoordinatorEngineSimple.java
│ │ ├── TestCoordinatorEngineStreamLog.java
│ │ ├── TestCoordinatorJobBean.java
│ │ ├── TestDagELFunctions.java
│ │ ├── TestDagEngine.java
│ │ ├── TestErrorCode.java
│ │ ├── TestFilterParser.java
│ │ ├── TestLocalOozieClientCoord.java
│ │ ├── TestSLAEventBean.java
│ │ ├── TestV1JobsServletBundleEngine.java
│ │ ├── TestWorkflowBean.java
│ │ ├── action
│ │ ├── TestActionExecutor.java
│ │ ├── TestActionFailover.java
│ │ ├── decision
│ │ │ └── TestDecisionActionExecutor.java
│ │ ├── email
│ │ │ └── TestEmailActionExecutor.java
│ │ ├── hadoop
│ │ │ ├── ActionExecutorTestCase.java
│ │ │ ├── CredentialForTest.java
│ │ │ ├── InsertTestToken.java
│ │ │ ├── LauncherMainTester.java
│ │ │ ├── LauncherMainTester2.java
│ │ │ ├── MainTestCase.java
│ │ │ ├── MapperReducerCredentialsForTest.java
│ │ │ ├── MapperReducerForTest.java
│ │ │ ├── MapperReducerUberJarForTest.java
│ │ │ ├── SharelibUtils.java
│ │ │ ├── ShellTestCase.java
│ │ │ ├── SleepMapperReducerForTest.java
│ │ │ ├── TestBytesAndUOMConverter.java
│ │ │ ├── TestCredentials.java
│ │ │ ├── TestDependencyDeduplicator.java
│ │ │ ├── TestDependencyDeduplicatorCornerCases.java
│ │ │ ├── TestDistCpActionExecutor.java
│ │ │ ├── TestDistcpMain.java
│ │ │ ├── TestFSPrepareActions.java
│ │ │ ├── TestFsActionExecutor.java
│ │ │ ├── TestFsELFunctions.java
│ │ │ ├── TestHCatCredentials.java
│ │ │ ├── TestHCatPrepareActions.java
│ │ │ ├── TestHadoopELFunctions.java
│ │ │ ├── TestHadoopTokenHelper.java
│ │ │ ├── TestHeapModifiersPattern.java
│ │ │ ├── TestJavaActionExecutor.java
│ │ │ ├── TestJavaActionExecutorLibAddition.java
│ │ │ ├── TestJavaMain.java
│ │ │ ├── TestLauncher.java
│ │ │ ├── TestLauncherAMCallbackNotifier.java
│ │ │ ├── TestLauncherConfigurationInjector.java
│ │ │ ├── TestLauncherFSURIHandler.java
│ │ │ ├── TestLauncherHCatURIHandler.java
│ │ │ ├── TestMapReduceMain.java
│ │ │ ├── TestOozieJobInfo.java
│ │ │ ├── TestPipesMain.java
│ │ │ ├── TestRerun.java
│ │ │ ├── TestScriptLanguageActionExecutor.java
│ │ │ ├── TestShareLibExcluder.java
│ │ │ ├── TestSharelibConfigs.java
│ │ │ ├── TestSharelibResolver.java
│ │ │ ├── TestShellActionExecutor.java
│ │ │ ├── TestShellContentWriter.java
│ │ │ ├── TestShellMain.java
│ │ │ ├── TestShellSplitter.java
│ │ │ ├── TestWorkflowHelper.java
│ │ │ ├── TestYarnACLHandler.java
│ │ │ ├── TestYarnApplicationIdComparator.java
│ │ │ └── TestYarnApplicationIdFinder.java
│ │ ├── oozie
│ │ │ ├── JavaSleepAction.java
│ │ │ └── TestSubWorkflowActionExecutor.java
│ │ └── ssh
│ │ │ ├── TestSshActionExecutor.java
│ │ │ └── TestSshActionExecutorAsExtension.java
│ │ ├── client
│ │ ├── HeaderTestingVersionServlet.java
│ │ ├── TestInsecureConnection.java
│ │ ├── TestLocalOozie.java
│ │ ├── TestOozieCLI.java
│ │ ├── TestOozieClientWithFakeServlet.java
│ │ ├── TestWorkflowClient.java
│ │ ├── TestWorkflowClientException.java
│ │ ├── TestWorkflowXClient.java
│ │ └── rest
│ │ │ ├── TestJsonCoordinatorAction.java
│ │ │ ├── TestJsonCoordinatorJob.java
│ │ │ ├── TestJsonWorkflowAction.java
│ │ │ └── TestJsonWorkflowJob.java
│ │ ├── command
│ │ ├── TestPurgeXCommand.java
│ │ ├── TestSLAAlertXCommand.java
│ │ ├── TestSelectorTreeTraverser.java
│ │ ├── TestXCommand.java
│ │ ├── bundle
│ │ │ ├── TestBulkBundleXCommand.java
│ │ │ ├── TestBundleChangeXCommand.java
│ │ │ ├── TestBundleJobSuspendXCommand.java
│ │ │ ├── TestBundleJobXCommand.java
│ │ │ ├── TestBundleJobsXCommand.java
│ │ │ ├── TestBundleKillXCommand.java
│ │ │ ├── TestBundlePauseUnpauseXCommand.java
│ │ │ ├── TestBundleRerunXCommand.java
│ │ │ ├── TestBundleStartXCommand.java
│ │ │ └── TestBundleSubmitXCommand.java
│ │ ├── coord
│ │ │ ├── CoordELExtensions.java
│ │ │ ├── CoordXTestCase.java
│ │ │ ├── TestAbandonedCoordChecker.java
│ │ │ ├── TestBulkCoordXCommand.java
│ │ │ ├── TestCoordActionInputCheckXCommand.java
│ │ │ ├── TestCoordActionInputCheckXCommandNonUTC.java
│ │ │ ├── TestCoordActionMissingDependenciesXCommand.java
│ │ │ ├── TestCoordActionNotificationXCommand.java
│ │ │ ├── TestCoordActionReadyXCommand.java
│ │ │ ├── TestCoordActionSkipXCommand.java
│ │ │ ├── TestCoordActionStartXCommand.java
│ │ │ ├── TestCoordActionUpdatePushMissingDependency.java
│ │ │ ├── TestCoordActionsIgnoreXCommand.java
│ │ │ ├── TestCoordActionsKillXCommand.java
│ │ │ ├── TestCoordChangeXCommand.java
│ │ │ ├── TestCoordCommandUtils.java
│ │ │ ├── TestCoordELExtensions.java
│ │ │ ├── TestCoordJobsXCommand.java
│ │ │ ├── TestCoordKillXCommand.java
│ │ │ ├── TestCoordMaterializeTransitionXCommand.java
│ │ │ ├── TestCoordMaterializeTransitionXCommandWithRunningServices.java
│ │ │ ├── TestCoordPushDependencyCheckXCommand.java
│ │ │ ├── TestCoordRerunXCommand.java
│ │ │ ├── TestCoordResumeXCommand.java
│ │ │ ├── TestCoordSubmitXCommand.java
│ │ │ ├── TestCoordSuspendXCommand.java
│ │ │ ├── TestCoordUpdateXCommand.java
│ │ │ ├── TestCoordWfActionInfoXCommand.java
│ │ │ ├── TestDaylightOffsetCalculator.java
│ │ │ ├── TestFutureActionsTimeOut.java
│ │ │ └── TestPastActionsTimeOut.java
│ │ └── wf
│ │ │ ├── HangServlet.java
│ │ │ ├── TestActionCheckXCommand.java
│ │ │ ├── TestActionEndXCommand.java
│ │ │ ├── TestActionErrors.java
│ │ │ ├── TestActionStartXCommand.java
│ │ │ ├── TestActionUserRetry.java
│ │ │ ├── TestBulkWorkflowXCommand.java
│ │ │ ├── TestCompletedActionXCommand.java
│ │ │ ├── TestForkedActionStartXCommand.java
│ │ │ ├── TestLastModified.java
│ │ │ ├── TestReRunXCommand.java
│ │ │ ├── TestSignalXCommand.java
│ │ │ ├── TestSubmitHiveXCommand.java
│ │ │ ├── TestSubmitMRXCommand.java
│ │ │ ├── TestSubmitPigXCommand.java
│ │ │ ├── TestSubmitSqoopXCommand.java
│ │ │ ├── TestSubmitXCommand.java
│ │ │ ├── TestWorkflowActionKillXCommand.java
│ │ │ ├── TestWorkflowActionRetryInfoXCommand.java
│ │ │ ├── TestWorkflowKillXCommand.java
│ │ │ └── TestWorkflowNotificationXCommand.java
│ │ ├── compression
│ │ └── TestCodecFactory.java
│ │ ├── coord
│ │ ├── TestCoordELEvaluator.java
│ │ ├── TestCoordELFunctions.java
│ │ ├── TestCoordUtils.java
│ │ ├── TestHCatELFunctions.java
│ │ ├── TestOozieTimeUnitConverter.java
│ │ └── input
│ │ │ ├── dependency
│ │ │ └── TestCoordOldInputDependency.java
│ │ │ └── logic
│ │ │ ├── TestCoordInputLogicPush.java
│ │ │ ├── TestCoordinatorInputLogic.java
│ │ │ └── TestInputLogicParser.java
│ │ ├── dependency
│ │ ├── TestFSURIHandler.java
│ │ ├── TestHCatURIHandler.java
│ │ └── TestURIHandlerService.java
│ │ ├── event
│ │ ├── TestEventGeneration.java
│ │ └── TestEventQueue.java
│ │ ├── executor
│ │ └── jpa
│ │ │ ├── TestBatchQueryExecutor.java
│ │ │ ├── TestBulkMonitorJPAExecutor.java
│ │ │ ├── TestBundleActionQueryExecutor.java
│ │ │ ├── TestBundleActionsCountForJobGetJPAExecutor.java
│ │ │ ├── TestBundleJobInfoGetJPAExecutor.java
│ │ │ ├── TestBundleJobQueryExecutor.java
│ │ │ ├── TestBundleJobsDeleteJPAExecutor.java
│ │ │ ├── TestBundleJobsGetForPurgeJPAExecutor.java
│ │ │ ├── TestCoordActionGetForCheckJPAExecutor.java
│ │ │ ├── TestCoordActionGetForExternalIdJPAExecutor.java
│ │ │ ├── TestCoordActionGetForInfoJPAExecutor.java
│ │ │ ├── TestCoordActionGetForInputCheckJPAExecutor.java
│ │ │ ├── TestCoordActionGetForStartJPAExecutor.java
│ │ │ ├── TestCoordActionGetForTimeoutJPAExecutor.java
│ │ │ ├── TestCoordActionGetJPAExecutor.java
│ │ │ ├── TestCoordActionQueryExecutor.java
│ │ │ ├── TestCoordActionRemoveJPAExecutor.java
│ │ │ ├── TestCoordActionsActiveCountJPAExecutor.java
│ │ │ ├── TestCoordActionsCountForJobIdJPAExecutor.java
│ │ │ ├── TestCoordActionsDeleteJPAExecutor.java
│ │ │ ├── TestCoordActionsPendingFalseCountGetJPAExecutor.java
│ │ │ ├── TestCoordActionsPendingFalseStatusCountGetJPAExecutor.java
│ │ │ ├── TestCoordActionsRunningGetJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionByActionNumberJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionForNominalTimeJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionsJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionsNotCompletedJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionsRunningJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionsSubsetJPAExecutor.java
│ │ │ ├── TestCoordJobGetActionsSuspendedJPAExecutor.java
│ │ │ ├── TestCoordJobGetJPAExecutor.java
│ │ │ ├── TestCoordJobGetReadyActionsJPAExecutor.java
│ │ │ ├── TestCoordJobGetRunningActionsCountJPAExecutor.java
│ │ │ ├── TestCoordJobInfoGetJPAExecutor.java
│ │ │ ├── TestCoordJobQueryExecutor.java
│ │ │ ├── TestCoordJobsCountNotForPurgeFromParentIdJPAExecutor.java
│ │ │ ├── TestCoordJobsDeleteJPAExecutor.java
│ │ │ ├── TestCoordJobsGetForPurgeJPAExecutor.java
│ │ │ ├── TestCoordJobsGetFromParentIdJPAExecutor.java
│ │ │ ├── TestCoordJobsToBeMaterializedJPAExecutor.java
│ │ │ ├── TestSLAEventsGetForFilterJPAExecutor.java
│ │ │ ├── TestSLAEventsGetForSeqIdJPAExecutor.java
│ │ │ ├── TestSLAEventsGetJPAExecutor.java
│ │ │ ├── TestSLARegistrationQueryExecutor.java
│ │ │ ├── TestSLASummaryQueryExecutor.java
│ │ │ ├── TestWorkflowActionDeleteJPAExecutor.java
│ │ │ ├── TestWorkflowActionGetJPAExecutor.java
│ │ │ ├── TestWorkflowActionQueryExecutor.java
│ │ │ ├── TestWorkflowActionRetryManualGetJPAExecutor.java
│ │ │ ├── TestWorkflowActionSubsetGetJPAExecutor.java
│ │ │ ├── TestWorkflowActionsGetForJobJPAExecutor.java
│ │ │ ├── TestWorkflowIdGetForExternalIdJPAExecutor.java
│ │ │ ├── TestWorkflowInfoWithActionsSubsetGetJPAExecutor.java
│ │ │ ├── TestWorkflowJobDeleteJPAExecutor.java
│ │ │ ├── TestWorkflowJobGetActionsJPAExecutor.java
│ │ │ ├── TestWorkflowJobGetJPAExecutor.java
│ │ │ ├── TestWorkflowJobQueryExecutor.java
│ │ │ ├── TestWorkflowJobsBasicInfoFromCoordParentIdJPAExecutor.java
│ │ │ ├── TestWorkflowJobsBasicInfoFromWorkflowParentIdJPAExecutor.java
│ │ │ ├── TestWorkflowJobsDeleteJPAExecutor.java
│ │ │ ├── TestWorkflowJobsGetForPurgeJPAExecutor.java
│ │ │ ├── TestWorkflowJobsGetFromCoordParentIdJPAExecutor.java
│ │ │ ├── TestWorkflowJobsGetFromWorkflowParentIdJPAExecutor.java
│ │ │ ├── TestWorkflowsJobGetJPAExecutor.java
│ │ │ └── sla
│ │ │ └── TestSLASummaryGetForFilterJPAExecutorFilterCollection.java
│ │ ├── jms
│ │ ├── TestDefaultConnectionContext.java
│ │ ├── TestHCatMessageHandler.java
│ │ ├── TestJMSJobEventListener.java
│ │ └── TestJMSSLAEventListener.java
│ │ ├── lock
│ │ └── TestMemoryLocks.java
│ │ ├── service
│ │ ├── DummyDocumentBuilderFactoryImpl.java
│ │ ├── DummyExecutor1.java
│ │ ├── DummyExecutor2.java
│ │ ├── DummyLogStreamingServlet.java
│ │ ├── DummyV2AdminServlet.java
│ │ ├── ExtendedCallableQueueService.java
│ │ ├── ForTestAuthorizationService.java
│ │ ├── ForTestWorkflowStoreService.java
│ │ ├── TestActionCheckerService.java
│ │ ├── TestActionConfFileType.java
│ │ ├── TestActionService.java
│ │ ├── TestAsyncXCommandExecutor.java
│ │ ├── TestAuthorizationService.java
│ │ ├── TestCallableQueueService.java
│ │ ├── TestCallbackService.java
│ │ ├── TestConfigurationService.java
│ │ ├── TestCoordMaterializeTriggerService.java
│ │ ├── TestDagXLogInfoService.java
│ │ ├── TestELService.java
│ │ ├── TestEventHandlerService.java
│ │ ├── TestGroupsService.java
│ │ ├── TestHAPartitionDependencyManagerEhCache.java
│ │ ├── TestHAPartitionDependencyManagerService.java
│ │ ├── TestHASLAService.java
│ │ ├── TestHAShareLibService.java
│ │ ├── TestHCatAccessorService.java
│ │ ├── TestHadoopAccessorService.java
│ │ ├── TestInstrumentationService.java
│ │ ├── TestJMSAccessorService.java
│ │ ├── TestJMSTopicService.java
│ │ ├── TestJPAService.java
│ │ ├── TestJobsConcurrencyService.java
│ │ ├── TestLiteWorkflowAppService.java
│ │ ├── TestLiteWorkflowStoreService.java
│ │ ├── TestMemoryLocksService.java
│ │ ├── TestMetricsInstrumentationService.java
│ │ ├── TestPartitionDependencyManagerEhcache.java
│ │ ├── TestPartitionDependencyManagerService.java
│ │ ├── TestPauseTransitService.java
│ │ ├── TestProxyUserService.java
│ │ ├── TestPurgeService.java
│ │ ├── TestRecoveryService.java
│ │ ├── TestSchedulerService.java
│ │ ├── TestSchemaService.java
│ │ ├── TestServices.java
│ │ ├── TestShareLibMappingFileInput.java
│ │ ├── TestShareLibService.java
│ │ ├── TestSparkConfigurationService.java
│ │ ├── TestStatusTransitService.java
│ │ ├── TestStoreService.java
│ │ ├── TestUUIDService.java
│ │ ├── TestXLogService.java
│ │ ├── TestXLogStreamingService.java
│ │ ├── TestZKJobsConcurrencyService.java
│ │ ├── TestZKLocksService.java
│ │ ├── TestZKUUIDService.java
│ │ └── TestZKXLogStreamingService.java
│ │ ├── servlet
│ │ ├── DagServletTestCase.java
│ │ ├── MockCoordinatorEngineService.java
│ │ ├── MockDagEngineService.java
│ │ ├── MyJsonRestServlet.java
│ │ ├── TestAdminServlet.java
│ │ ├── TestAuthFilterAuthOozieClient.java
│ │ ├── TestBulkMonitorWebServiceAPI.java
│ │ ├── TestCallbackServlet.java
│ │ ├── TestErrorServlet.java
│ │ ├── TestHostnameFilter.java
│ │ ├── TestHttpResponseHeaderFilter.java
│ │ ├── TestJobsServlet.java
│ │ ├── TestJsonRestServlet.java
│ │ ├── TestV0JobServlet.java
│ │ ├── TestV1AdminServlet.java
│ │ ├── TestV1JobServlet.java
│ │ ├── TestV1JobServletBundleEngine.java
│ │ ├── TestV1JobsServlet.java
│ │ ├── TestV2JobServlet.java
│ │ ├── TestV2SLAServletBundle.java
│ │ ├── TestV2SLAServletIntegration.java
│ │ ├── TestV2SLAServletSLAJSONResponse.java
│ │ ├── TestV2ValidateServlet.java
│ │ ├── TestVersionServlet.java
│ │ └── V2SLAServletTestCase.java
│ │ ├── sla
│ │ ├── TestSLACalcStatus.java
│ │ ├── TestSLACalculationJPAExecutor.java
│ │ ├── TestSLACalculatorMemory.java
│ │ ├── TestSLAEmailEventListener.java
│ │ ├── TestSLAEventGeneration.java
│ │ ├── TestSLAJobEventListener.java
│ │ ├── TestSLARegistrationGetJPAExecutor.java
│ │ ├── TestSLAService.java
│ │ └── TestSLASummaryGetOnRestartJPAExecutor.java
│ │ ├── store
│ │ └── TestDBWorkflowStore.java
│ │ ├── test
│ │ ├── MiniHCatServer.java
│ │ ├── MiniOozieTestCase.java
│ │ ├── PingServlet.java
│ │ ├── TestEmbeddedServletContainer.java
│ │ ├── TestXFsTestCase.java
│ │ ├── TestXTestCase.java
│ │ ├── XDataTestCase.java
│ │ ├── XFsTestCase.java
│ │ ├── XHCatTestCase.java
│ │ ├── XTestCase.java
│ │ ├── ZKXTestCase.java
│ │ └── hive
│ │ │ ├── AbstractHiveService.java
│ │ │ └── MiniHS2.java
│ │ ├── util
│ │ ├── BlockingInputStream.java
│ │ ├── BlockingWritesExitValueProcess.java
│ │ ├── DrainerTestCase.java
│ │ ├── Locker.java
│ │ ├── LockerCoordinator.java
│ │ ├── TestBlockingInputStream.java
│ │ ├── TestBlockingWritesExitValueProcess.java
│ │ ├── TestBufferDrainer.java
│ │ ├── TestByteArrayUtils.java
│ │ ├── TestClassUtils.java
│ │ ├── TestClasspathUtils.java
│ │ ├── TestConfigUtils.java
│ │ ├── TestCoordActionsInDateRange.java
│ │ ├── TestDateUtils.java
│ │ ├── TestELConstantsFunctions.java
│ │ ├── TestELEvaluator.java
│ │ ├── TestHCatURIParser.java
│ │ ├── TestIOUtils.java
│ │ ├── TestInstrumentation.java
│ │ ├── TestJaasConfiguration.java
│ │ ├── TestLogStreamer.java
│ │ ├── TestMetricsInstrumentation.java
│ │ ├── TestMultiFileReader.java
│ │ ├── TestOozieRollingPolicy.java
│ │ ├── TestParamChecker.java
│ │ ├── TestParameterVerifier.java
│ │ ├── TestPriorityDelayQueue.java
│ │ ├── TestSimplifiedTimestampedMessageParser.java
│ │ ├── TestStringSerializationUtil.java
│ │ ├── TestStringUtils.java
│ │ ├── TestTimestampedMessageParser.java
│ │ ├── TestWritableUtils.java
│ │ ├── TestXConfiguration.java
│ │ ├── TestXLog.java
│ │ ├── TestXLogFilter.java
│ │ ├── TestXLogUserFilterParam.java
│ │ ├── TestXmlUtils.java
│ │ ├── TestZKUtils.java
│ │ ├── db
│ │ │ ├── TestCompositeIndex.java
│ │ │ ├── TestOozieDmlStatementPredicate.java
│ │ │ ├── TestOperationRetryHandler.java
│ │ │ ├── TestPersistenceExceptionSubclassFilterRetryPredicate.java
│ │ │ ├── TestRetryAttemptState.java
│ │ │ ├── TestSLADbOperations.java
│ │ │ ├── TestSLADbXOperations.java
│ │ │ ├── TestSchema.java
│ │ │ └── TestSqlStatement.java
│ │ └── graph
│ │ │ └── TestGraphGenerator.java
│ │ └── workflow
│ │ └── lite
│ │ ├── TestLiteWorkflowApp.java
│ │ ├── TestLiteWorkflowAppParser.java
│ │ └── TestLiteWorkflowLib.java
│ └── resources
│ ├── adminusers.txt
│ ├── auth-disabled-oozie-site.xml
│ ├── bundle-submit-job-with-functions.xml
│ ├── bundle-submit-job.xml
│ ├── coord-action-for-action-input-check.xml
│ ├── coord-action-for-action-push-check.xml
│ ├── coord-action-get.xml
│ ├── coord-action-sla.xml
│ ├── coord-action-sla1.xml
│ ├── coord-action-start-escape-strings.xml
│ ├── coord-dataset-absolute.xml
│ ├── coord-dataset-endOfDays.xml
│ ├── coord-dataset-endOfMonths.xml
│ ├── coord-dataset-endOfWeeks.xml
│ ├── coord-dataset-initial-instance.xml
│ ├── coord-dataset-offset.xml
│ ├── coord-el-dataset-4.xml
│ ├── coord-hcatinput-invalid-elfunction.xml
│ ├── coord-hdfsinput-invalid-elfunction.xml
│ ├── coord-inputlogic-combine.xml
│ ├── coord-inputlogic-hcat.xml
│ ├── coord-inputlogic-latest.xml
│ ├── coord-inputlogic-range-latest.xml
│ ├── coord-inputlogic-range.xml
│ ├── coord-inputlogic.xml
│ ├── coord-job-bundle-negative.xml
│ ├── coord-job-bundle.xml
│ ├── coord-job-for-action-input-check.xml
│ ├── coord-job-for-elext.xml
│ ├── coord-job-for-matd-hcat.xml
│ ├── coord-job-for-matd-neg-hcat.xml
│ ├── coord-job-for-matd-relative.xml
│ ├── coord-job-get.xml
│ ├── coord-matLookup-trigger.xml
│ ├── coord-matd-job.xml
│ ├── coord-multiple-input-end-instance1.xml
│ ├── coord-multiple-input-end-instance2.xml
│ ├── coord-multiple-input-instance1.xml
│ ├── coord-multiple-input-instance2.xml
│ ├── coord-multiple-input-instance3.xml
│ ├── coord-multiple-input-instance4.xml
│ ├── coord-multiple-input-start-instance1.xml
│ ├── coord-multiple-input-start-instance2.xml
│ ├── coord-multiple-output-instance1.xml
│ ├── coord-multiple-output-instance2.xml
│ ├── coord-multiple-output-instance3.xml
│ ├── coord-multiple-output-instance4.xml
│ ├── coord-multiple-output-instance5.xml
│ ├── coord-rerun-action1.xml
│ ├── coord-rerun-action2.xml
│ ├── coord-rerun-action3.xml
│ ├── coord-rerun-action4.xml
│ ├── coord-rerun-job.xml
│ ├── coord-update-test.xml
│ ├── derby-oozie-site.xml
│ ├── ehcache.xml
│ ├── failover-fs-wf.xml
│ ├── fair-scheduler-alloc.xml
│ ├── graph-workflow-decision-fork-join.xml
│ ├── graph-workflow-invalid.xml
│ ├── graph-workflow-many-actions.xml
│ ├── graph-workflow-simple.xml
│ ├── hadoop-config.xml
│ ├── hadoop-site.xml
│ ├── hsqldb-oozie-site.xml
│ ├── hsqldb-tools-oozie-site.xml
│ ├── mysql-oozie-site.xml
│ ├── oldWorkFlowApp.serialized
│ ├── oozie-site-coordel.xml
│ ├── oozie-site-documentbuilderfactory-empty.xml
│ ├── oozie-site-documentbuilderfactory.xml
│ ├── oozie-site-instrumentation.xml
│ ├── oozie-site-mask.xml
│ ├── oozie-site-with-jceks-filesomething.xml
│ ├── oozie-site-with-jceks-nonfile.xml
│ ├── oozie-site-with-jceks.xml
│ ├── oozie-site-with-localjceks.xml
│ ├── oozie-site-with-security.xml
│ ├── oozie-site1.xml
│ ├── oozie-site2.xml
│ ├── oozie-sitealternate.xml
│ ├── oracle-oozie-site.xml
│ ├── out-of-phase-coordinator.xml
│ ├── postgres-oozie-site.xml
│ ├── recovery-wf.xml
│ ├── rerun-el-wf.xml
│ ├── rerun-elerr-wf.xml
│ ├── rerun-varsub-wf.xml
│ ├── rerun-wf-fork.xml
│ ├── rerun-wf.xml
│ ├── test-action-config-1.xml
│ ├── test-action-config-2.xml
│ ├── test-action-config-3.xml
│ ├── test-action-config.xml
│ ├── test-custom-log4j.properties
│ ├── test-default-config-1.xml
│ ├── test-default-config.xml
│ ├── test-hadoop-config.xml
│ ├── test-ioutils.txt
│ ├── test-mapred-site.xml
│ ├── test-no-dash-log4j.properties
│ ├── test-oozie-default.xml
│ ├── test-oozie-log4j.properties
│ ├── test-oozie-with-prefix.xml
│ ├── userLogFilterTestlog.log
│ ├── wf-action-sla.xml
│ ├── wf-actions-20.xml
│ ├── wf-actions-40.xml
│ ├── wf-actions-80.xml
│ ├── wf-credentials.xml
│ ├── wf-ext-schema-invalid.xml
│ ├── wf-ext-schema-valid-user-retry.xml
│ ├── wf-ext-schema-valid.xml
│ ├── wf-ext-schema.xsd
│ ├── wf-fork.xml
│ ├── wf-invalid-fork.xml
│ ├── wf-job-sla.xml
│ ├── wf-kill-with-ok.xml
│ ├── wf-long.xml
│ ├── wf-loop1-invalid.xml
│ ├── wf-loop2-invalid.xml
│ ├── wf-multiple-error-parent.xml
│ ├── wf-no-op.xml
│ ├── wf-race-condition.xml
│ ├── wf-schema-action-name-too-long.xml
│ ├── wf-schema-fs-no-namenode-global.xml
│ ├── wf-schema-fs-no-namenode.xml
│ ├── wf-schema-global-launcherconf-override.xml
│ ├── wf-schema-global-launcherconf.xml
│ ├── wf-schema-invalid-global-ext-no-global.xml
│ ├── wf-schema-invalid.xml
│ ├── wf-schema-no-jobtracker-global.xml
│ ├── wf-schema-no-jobtracker.xml
│ ├── wf-schema-no-namenode-global.xml
│ ├── wf-schema-no-namenode.xml
│ ├── wf-schema-subworkflow-propagate-no-global.xml
│ ├── wf-schema-valid-global-ext-no-global.xml
│ ├── wf-schema-valid-global-ext.xml
│ ├── wf-schema-valid-global-jobXml.xml
│ ├── wf-schema-valid-global.xml
│ ├── wf-schema-valid.xml
│ ├── wf-suspendpoints.xml
│ ├── wf-test-kill-node-message-error.xml
│ ├── wf-test-kill-node-message-error2.xml
│ ├── wf-test-kill-node-message.xml
│ ├── wf-transition-invalid.xml
│ ├── wf-unsupported-action.xml
│ └── wf-url-template.xml
├── distro
├── pom.xml
└── src
│ └── main
│ └── bin
│ ├── addtowar.sh
│ ├── oozie-jetty-server.sh
│ ├── oozie-run.sh
│ ├── oozie-setup.sh
│ ├── oozie-start.sh
│ ├── oozie-stop.sh
│ ├── oozie-sys.sh
│ └── oozied.sh
├── docs
├── pom.xml
└── src
│ ├── main
│ ├── java
│ │ └── Dummy.java
│ └── webapp
│ │ ├── WEB-INF
│ │ └── web.xml
│ │ └── docs
│ │ └── configuration.xsl
│ └── site
│ ├── markdown
│ ├── AG_ActionConfiguration.md
│ ├── AG_HadoopConfiguration.md
│ ├── AG_Install.md
│ ├── AG_Monitoring.md
│ ├── AG_OozieLogging.md
│ ├── AG_OozieUpgrade.md
│ ├── BundleFunctionalSpec.md
│ ├── CoordinatorFunctionalSpec.md
│ ├── DG_ActionAuthentication.md
│ ├── DG_CommandLineTool.md
│ ├── DG_CoordinatorRerun.md
│ ├── DG_CustomActionExecutor.md
│ ├── DG_DistCpActionExtension.md
│ ├── DG_EmailActionExtension.md
│ ├── DG_Examples.md
│ ├── DG_FluentJobAPI.md
│ ├── DG_GitActionExtension.md
│ ├── DG_HCatalogIntegration.md
│ ├── DG_Hive2ActionExtension.md
│ ├── DG_HiveActionExtension.md
│ ├── DG_JMSNotifications.md
│ ├── DG_Overview.md
│ ├── DG_QuickStart.md
│ ├── DG_SLAMonitoring.md
│ ├── DG_ShellActionExtension.md
│ ├── DG_SparkActionExtension.md
│ ├── DG_SqoopActionExtension.md
│ ├── DG_SshActionExtension.md
│ ├── DG_WorkflowReRun.md
│ ├── ENG_Building.md
│ ├── ENG_Custom_Authentication.md
│ ├── ENG_MiniOozie.md
│ ├── WebServicesAPI.md
│ ├── WorkflowFunctionalSpec.md
│ └── index.md
│ ├── resources
│ └── DG_Overview.png
│ ├── site.xml
│ └── web.xml
├── examples
├── pom.xml
├── spotbugs-filter.xml
└── src
│ ├── main
│ ├── apps
│ │ ├── aggregator
│ │ │ ├── coordinator-with-offset.xml
│ │ │ ├── coordinator.xml
│ │ │ ├── job-with-offset.properties
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── bundle
│ │ │ ├── bundle.xml
│ │ │ └── job.properties
│ │ ├── coord-input-logic
│ │ │ ├── coordinator.xml
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── cron-schedule
│ │ │ ├── coordinator.xml
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── cron
│ │ │ ├── coordinator.xml
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── custom-main
│ │ │ ├── id.pig
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── datelist-java-main
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── demo
│ │ │ ├── id.pig
│ │ │ ├── job.properties
│ │ │ ├── job.windows.properties
│ │ │ └── workflow.xml
│ │ ├── distcp
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── git
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── hadoop-el
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── hcatalog
│ │ │ ├── README
│ │ │ ├── coordinator.xml
│ │ │ ├── id.pig
│ │ │ ├── job.properties
│ │ │ ├── job.properties.security
│ │ │ ├── workflow.xml
│ │ │ └── workflow.xml.security
│ │ ├── hive
│ │ │ ├── README
│ │ │ ├── job.properties
│ │ │ ├── script.q
│ │ │ ├── workflow.xml
│ │ │ └── workflow.xml.security
│ │ ├── hive2
│ │ │ ├── README
│ │ │ ├── job.properties
│ │ │ ├── job.properties.security
│ │ │ ├── script.q
│ │ │ ├── workflow.xml
│ │ │ └── workflow.xml.security
│ │ ├── java-main
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── map-reduce
│ │ │ ├── job-with-config-class.properties
│ │ │ ├── job.properties
│ │ │ ├── workflow-with-config-class.xml
│ │ │ └── workflow.xml
│ │ ├── no-op
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── pig
│ │ │ ├── id.pig
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── pyspark
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── shell
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── sla
│ │ │ ├── coordinator.xml
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── spark
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── sqoop-freeform
│ │ │ ├── db.hsqldb.properties
│ │ │ ├── db.hsqldb.script
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── sqoop
│ │ │ ├── db.hsqldb.properties
│ │ │ ├── db.hsqldb.script
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── ssh
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ │ ├── streaming
│ │ │ ├── job.properties
│ │ │ ├── job.windows.properties
│ │ │ └── workflow.xml
│ │ └── subwf
│ │ │ ├── job.properties
│ │ │ └── workflow.xml
│ ├── data
│ │ ├── _SUCCESS
│ │ ├── data.txt
│ │ ├── log01.txt
│ │ ├── log02.txt
│ │ ├── log03.txt
│ │ ├── log04.txt
│ │ ├── log05.txt
│ │ └── log06.txt
│ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── example
│ │ ├── DateList.java
│ │ ├── DemoJavaMain.java
│ │ ├── DemoMapReduceMain.java
│ │ ├── DemoMapper.java
│ │ ├── DemoPigMain.java
│ │ ├── DemoReducer.java
│ │ ├── LocalOozieExample.java
│ │ ├── Repeatable.java
│ │ ├── SampleMapper.java
│ │ ├── SampleOozieActionConfigurator.java
│ │ ├── SampleReducer.java
│ │ ├── SparkFileCopy.java
│ │ ├── TimeUnit.java
│ │ └── fluentjob
│ │ ├── CredentialsRetrying.java
│ │ ├── Git.java
│ │ ├── Global.java
│ │ ├── JavaMain.java
│ │ ├── MultipleShellActions.java
│ │ ├── Parameters.java
│ │ ├── Shell.java
│ │ └── Spark.java
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── example
│ │ ├── TestDateList.java
│ │ └── TestLocalOozieExample.java
│ └── resources
│ ├── derby-oozie-site.xml
│ ├── hsqldb-oozie-site.xml
│ ├── localoozieexample-end.properties
│ ├── localoozieexample-kill.properties
│ ├── localoozieexample-wf.xml
│ ├── mysql-oozie-site.xml
│ └── oracle-oozie-site.xml
├── fluent-job
├── fluent-job-api
│ ├── pom.xml
│ ├── spotbugs-filter.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── oozie
│ │ │ │ └── fluentjob
│ │ │ │ └── api
│ │ │ │ ├── Condition.java
│ │ │ │ ├── GraphVisualization.java
│ │ │ │ ├── ModifyOnce.java
│ │ │ │ ├── action
│ │ │ │ ├── ActionAttributes.java
│ │ │ │ ├── ActionAttributesBuilder.java
│ │ │ │ ├── Builder.java
│ │ │ │ ├── ChFSBase.java
│ │ │ │ ├── ChFSBaseBuilder.java
│ │ │ │ ├── Chgrp.java
│ │ │ │ ├── ChgrpBuilder.java
│ │ │ │ ├── Chmod.java
│ │ │ │ ├── ChmodBuilder.java
│ │ │ │ ├── Delete.java
│ │ │ │ ├── DistcpAction.java
│ │ │ │ ├── DistcpActionBuilder.java
│ │ │ │ ├── EmailAction.java
│ │ │ │ ├── EmailActionBuilder.java
│ │ │ │ ├── ErrorHandler.java
│ │ │ │ ├── FSAction.java
│ │ │ │ ├── FSActionBuilder.java
│ │ │ │ ├── GitAction.java
│ │ │ │ ├── GitActionBuilder.java
│ │ │ │ ├── HasAttributes.java
│ │ │ │ ├── Hive2Action.java
│ │ │ │ ├── Hive2ActionBuilder.java
│ │ │ │ ├── HiveAction.java
│ │ │ │ ├── HiveActionBuilder.java
│ │ │ │ ├── JavaAction.java
│ │ │ │ ├── JavaActionBuilder.java
│ │ │ │ ├── Launcher.java
│ │ │ │ ├── LauncherBuilder.java
│ │ │ │ ├── MapReduceAction.java
│ │ │ │ ├── MapReduceActionBuilder.java
│ │ │ │ ├── Mkdir.java
│ │ │ │ ├── Move.java
│ │ │ │ ├── Node.java
│ │ │ │ ├── NodeBuilderBaseImpl.java
│ │ │ │ ├── PigAction.java
│ │ │ │ ├── PigActionBuilder.java
│ │ │ │ ├── Pipes.java
│ │ │ │ ├── PipesBuilder.java
│ │ │ │ ├── Prepare.java
│ │ │ │ ├── PrepareBuilder.java
│ │ │ │ ├── ShellAction.java
│ │ │ │ ├── ShellActionBuilder.java
│ │ │ │ ├── SparkAction.java
│ │ │ │ ├── SparkActionBuilder.java
│ │ │ │ ├── SqoopAction.java
│ │ │ │ ├── SqoopActionBuilder.java
│ │ │ │ ├── SshAction.java
│ │ │ │ ├── SshActionBuilder.java
│ │ │ │ ├── Streaming.java
│ │ │ │ ├── StreamingBuilder.java
│ │ │ │ ├── SubWorkflowAction.java
│ │ │ │ ├── SubWorkflowActionBuilder.java
│ │ │ │ └── Touchz.java
│ │ │ │ ├── dag
│ │ │ │ ├── DagNodeWithCondition.java
│ │ │ │ ├── Decision.java
│ │ │ │ ├── DecisionJoin.java
│ │ │ │ ├── End.java
│ │ │ │ ├── ExplicitNode.java
│ │ │ │ ├── Fork.java
│ │ │ │ ├── Graph.java
│ │ │ │ ├── Join.java
│ │ │ │ ├── JoiningNodeBase.java
│ │ │ │ ├── NodeBase.java
│ │ │ │ └── Start.java
│ │ │ │ ├── factory
│ │ │ │ └── WorkflowFactory.java
│ │ │ │ ├── mapping
│ │ │ │ ├── BooleanToFLAGConverter.java
│ │ │ │ ├── BooleanToShellFLAGConverter.java
│ │ │ │ ├── BooleanToSshFLAGConverter.java
│ │ │ │ ├── CredentialsConverter.java
│ │ │ │ ├── DecisionConverter.java
│ │ │ │ ├── DistcpConfigurationConverter.java
│ │ │ │ ├── DistcpPrepareConverter.java
│ │ │ │ ├── DozerBeanMapperSingleton.java
│ │ │ │ ├── ExplicitNodeConverter.java
│ │ │ │ ├── ForkConverter.java
│ │ │ │ ├── GitConfigurationConverter.java
│ │ │ │ ├── GitPrepareConverter.java
│ │ │ │ ├── GlobalConverter.java
│ │ │ │ ├── GraphNodes.java
│ │ │ │ ├── GraphNodesToWORKFLOWAPPConverter.java
│ │ │ │ ├── GraphToWORKFLOWAPPConverter.java
│ │ │ │ ├── Hive2ConfigurationConverter.java
│ │ │ │ ├── Hive2LauncherConverter.java
│ │ │ │ ├── Hive2PrepareConverter.java
│ │ │ │ ├── HiveConfigurationConverter.java
│ │ │ │ ├── HiveLauncherConverter.java
│ │ │ │ ├── HivePrepareConverter.java
│ │ │ │ ├── InlineWorkflowConfigurationConverter.java
│ │ │ │ ├── InlineWorkflowLauncherConverter.java
│ │ │ │ ├── InlineWorkflowPrepareConverter.java
│ │ │ │ ├── JoinConverter.java
│ │ │ │ ├── MapToConfigurationPropertyConverter.java
│ │ │ │ ├── ParametersConverter.java
│ │ │ │ ├── RealChildLocator.java
│ │ │ │ ├── ShellConfigurationConverter.java
│ │ │ │ ├── ShellLauncherConverter.java
│ │ │ │ ├── ShellPrepareConverter.java
│ │ │ │ ├── SparkConfigurationConverter.java
│ │ │ │ ├── SparkLauncherConverter.java
│ │ │ │ ├── SparkPrepareConverter.java
│ │ │ │ ├── SqoopConfigurationConverter.java
│ │ │ │ ├── SqoopLauncherConverter.java
│ │ │ │ ├── SqoopPrepareConverter.java
│ │ │ │ └── StartConverter.java
│ │ │ │ ├── serialization
│ │ │ │ └── WorkflowMarshaller.java
│ │ │ │ └── workflow
│ │ │ │ ├── ConfigurationEntry.java
│ │ │ │ ├── Credential.java
│ │ │ │ ├── CredentialBuilder.java
│ │ │ │ ├── Credentials.java
│ │ │ │ ├── CredentialsBuilder.java
│ │ │ │ ├── Global.java
│ │ │ │ ├── GlobalBuilder.java
│ │ │ │ ├── Parameter.java
│ │ │ │ ├── Parameters.java
│ │ │ │ ├── ParametersBuilder.java
│ │ │ │ ├── Workflow.java
│ │ │ │ └── WorkflowBuilder.java
│ │ ├── resources
│ │ │ ├── action_mappings.xml
│ │ │ ├── checkstyle-header.txt
│ │ │ ├── checkstyle.xml
│ │ │ ├── dozer_config.xml
│ │ │ └── mappingGraphToWORKFLOWAPP.xml
│ │ └── xjb
│ │ │ └── bindings.xml
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── fluentjob
│ │ └── api
│ │ ├── NodesToPng.java
│ │ ├── TestCondition.java
│ │ ├── TestModifyOnce.java
│ │ ├── action
│ │ ├── TestActionAttributesBuilder.java
│ │ ├── TestChBaseBuilder.java
│ │ ├── TestChgrpBuilder.java
│ │ ├── TestChmodBuilder.java
│ │ ├── TestDelete.java
│ │ ├── TestDistcpActionBuilder.java
│ │ ├── TestEmailActionBuilder.java
│ │ ├── TestErrorHandler.java
│ │ ├── TestFSActionBuilder.java
│ │ ├── TestHive2ActionBuilder.java
│ │ ├── TestHiveActionBuilder.java
│ │ ├── TestJavaActionBuilder.java
│ │ ├── TestLauncherBuilder.java
│ │ ├── TestMapReduceActionBuilder.java
│ │ ├── TestMove.java
│ │ ├── TestNodeBuilderBaseImpl.java
│ │ ├── TestPigActionBuilder.java
│ │ ├── TestPipesBuilder.java
│ │ ├── TestPrepareBuilder.java
│ │ ├── TestShellActionBuilder.java
│ │ ├── TestSparkActionBuilder.java
│ │ ├── TestSqoopActionBuilder.java
│ │ ├── TestSshActionBuilder.java
│ │ ├── TestStreamingBuilder.java
│ │ ├── TestSubWorkflowBuilder.java
│ │ └── TestTouchz.java
│ │ ├── dag
│ │ ├── TestDecision.java
│ │ ├── TestDecisionJoin.java
│ │ ├── TestEnd.java
│ │ ├── TestExplicitNode.java
│ │ ├── TestFork.java
│ │ ├── TestGraph.java
│ │ ├── TestJoin.java
│ │ ├── TestJoiningNodeBase.java
│ │ ├── TestNodeBase.java
│ │ └── TestStart.java
│ │ ├── factory
│ │ └── SimpleWorkflowFactory.java
│ │ ├── mapping
│ │ ├── SourceDataFactory.java
│ │ ├── TestActionAttributesMapping.java
│ │ ├── TestConfigurationMapping.java
│ │ ├── TestControlNodeMappingBase.java
│ │ ├── TestCredentialsMapping.java
│ │ ├── TestDecisionMapping.java
│ │ ├── TestDeleteMapping.java
│ │ ├── TestDistcpActionMapping.java
│ │ ├── TestEmailActionMapping.java
│ │ ├── TestEndMapping.java
│ │ ├── TestExplicitNodeMapping.java
│ │ ├── TestFSActionMapping.java
│ │ ├── TestForkMapping.java
│ │ ├── TestGlobalMapping.java
│ │ ├── TestGraphMapping.java
│ │ ├── TestHive2ActionMapping.java
│ │ ├── TestHiveActionMapping.java
│ │ ├── TestJavaActionMapping.java
│ │ ├── TestJoinMapping.java
│ │ ├── TestMapReduceActionMapping.java
│ │ ├── TestMappings.java
│ │ ├── TestMkdirMapping.java
│ │ ├── TestParametersMapping.java
│ │ ├── TestPigActionMapping.java
│ │ ├── TestPipesMapping.java
│ │ ├── TestPrepareMapping.java
│ │ ├── TestShellActionMapping.java
│ │ ├── TestSparkActionMapping.java
│ │ ├── TestSqoopActionMapping.java
│ │ ├── TestSshActionMapping.java
│ │ ├── TestStartMapping.java
│ │ ├── TestStreamingMapping.java
│ │ ├── TestSubWorkflowActionMapping.java
│ │ └── TestWorkflowAttributesMapping.java
│ │ └── workflow
│ │ ├── TestCredentialBuilder.java
│ │ ├── TestCredentialsBuilder.java
│ │ ├── TestGlobalBuilder.java
│ │ ├── TestParametersBuilder.java
│ │ └── TestWorkflowBuilder.java
├── fluent-job-client
│ ├── pom.xml
│ └── src
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── jobs
│ │ │ └── client
│ │ │ ├── jaxb
│ │ │ └── TestJAXBWorkflow.java
│ │ │ └── minitest
│ │ │ ├── TestDistcpAction.java
│ │ │ ├── TestEmailAction.java
│ │ │ ├── TestFSAction.java
│ │ │ ├── TestGitAction.java
│ │ │ ├── TestHive2Action.java
│ │ │ ├── TestHiveAction.java
│ │ │ ├── TestJavaAction.java
│ │ │ ├── TestMapReduceAction.java
│ │ │ ├── TestPigAction.java
│ │ │ ├── TestShellAction.java
│ │ │ ├── TestSparkAction.java
│ │ │ ├── TestSqoopAction.java
│ │ │ └── TestSshAction.java
│ │ └── resources
│ │ ├── workflow-all-actions.xml
│ │ └── workflow-mapreduce-action.xml
└── pom.xml
├── minitest
├── pom.xml
└── src
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── test
│ │ ├── TestParallelJPAOperationRetries.java
│ │ ├── TestWorkflow.java
│ │ ├── TestWorkflowRetries.java
│ │ └── WorkflowTestCase.java
│ └── resources
│ ├── fs-decision.xml
│ ├── hsqldb-oozie-site.xml
│ ├── oozie-log4j.properties
│ └── parallel-fs-and-shell.xml
├── pom.xml
├── release-log.txt
├── server
├── pom.xml
├── spotbugs-filter.xml
└── src
│ ├── main
│ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── server
│ │ │ ├── EmbeddedOozieServer.java
│ │ │ ├── FilterMapper.java
│ │ │ ├── HttpConfigurationWrapper.java
│ │ │ ├── JspHandler.java
│ │ │ ├── SSLServerConnectorFactory.java
│ │ │ ├── ServletMapper.java
│ │ │ ├── WebRootResourceLocator.java
│ │ │ └── guice
│ │ │ ├── ConstraintSecurityHandlerProvider.java
│ │ │ ├── JettyServerProvider.java
│ │ │ ├── JspHandlerProvider.java
│ │ │ ├── OozieGuiceModule.java
│ │ │ ├── RewriteHandlerProvider.java
│ │ │ └── ServicesProvider.java
│ └── resources
│ │ ├── checkstyle-header.txt
│ │ └── checkstyle.xml
│ └── test
│ └── java
│ └── org
│ └── apache
│ └── oozie
│ └── server
│ ├── TestEmbeddedOozieServer.java
│ ├── TestJspHandler.java
│ ├── TestSSLServerConnectorFactory.java
│ └── guice
│ └── TestConstraintSecurityHandlerProvider.java
├── sharelib
├── distcp
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ └── DistcpMain.java
├── git
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ ├── GitMain.java
│ │ │ └── GitOperations.java
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ ├── GitServer.java
│ │ ├── TestGitActionExecutor.java
│ │ ├── TestGitMain.java
│ │ └── TestIntegrationGitActionExecutor.java
├── hcatalog
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ ├── action
│ │ │ └── hadoop
│ │ │ │ └── HCatLauncherURIHandler.java
│ │ │ └── util
│ │ │ ├── HCatURI.java
│ │ │ └── HCatURIParser.java
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── util
│ │ └── TestHCatURI.java
├── hive
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ └── HiveMain.java
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ ├── TestHiveActionExecutor.java
│ │ │ └── TestHiveMain.java
│ │ └── resources
│ │ └── HiveMain.txt
├── hive2
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ └── Hive2Main.java
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ ├── TestHive2ActionExecutor.java
│ │ └── TestHive2Main.java
├── oozie
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── oozie
│ │ │ │ └── action
│ │ │ │ └── hadoop
│ │ │ │ ├── AMRMCallBackHandler.java
│ │ │ │ ├── AMRMClientAsyncFactory.java
│ │ │ │ ├── ActionStats.java
│ │ │ │ ├── ActionType.java
│ │ │ │ ├── ActionUtils.java
│ │ │ │ ├── ErrorHolder.java
│ │ │ │ ├── FSLauncherURIHandler.java
│ │ │ │ ├── HdfsOperations.java
│ │ │ │ ├── JavaMain.java
│ │ │ │ ├── LauncherAM.java
│ │ │ │ ├── LauncherAMCallbackNotifier.java
│ │ │ │ ├── LauncherAMCallbackNotifierFactory.java
│ │ │ │ ├── LauncherAMUtils.java
│ │ │ │ ├── LauncherException.java
│ │ │ │ ├── LauncherMain.java
│ │ │ │ ├── LauncherURIHandler.java
│ │ │ │ ├── LauncherURIHandlerFactory.java
│ │ │ │ ├── LocalFsOperations.java
│ │ │ │ ├── MapReduceMain.java
│ │ │ │ ├── OozieActionConfigurator.java
│ │ │ │ ├── OozieActionConfiguratorException.java
│ │ │ │ ├── OozieLauncherOutputCommitter.java
│ │ │ │ ├── PasswordMasker.java
│ │ │ │ ├── PipesMain.java
│ │ │ │ ├── PrepareActionsHandler.java
│ │ │ │ ├── SequenceFileWriterFactory.java
│ │ │ │ ├── ShellContentWriter.java
│ │ │ │ ├── ShellMain.java
│ │ │ │ ├── SystemEnvironment.java
│ │ │ │ └── security
│ │ │ │ ├── AllowAllPolicy.java
│ │ │ │ └── LauncherSecurityManager.java
│ │ └── resources
│ │ │ └── default-log4j.properties
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ ├── LauncherAMTestMainClass.java
│ │ │ ├── TestHdfsOperations.java
│ │ │ ├── TestLauncherAM.java
│ │ │ ├── TestLauncherAMUtils.java
│ │ │ ├── TestLauncherMain.java
│ │ │ ├── TestLocalFsOperations.java
│ │ │ ├── TestPasswordMasker.java
│ │ │ ├── TestPrepareActionsHandler.java
│ │ │ └── security
│ │ │ └── TestAllowAllPolicy.java
│ │ └── resources
│ │ ├── instrumentation-os-env.json
│ │ └── instrumentation-system-properties.json
├── pig
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ ├── OoziePigStats.java
│ │ │ └── PigMain.java
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ ├── PigTestCase.java
│ │ │ ├── TestPigActionExecutor.java
│ │ │ ├── TestPigMain.java
│ │ │ └── UDFTester.java
│ │ └── resources
│ │ └── PigMain.txt
├── pom.xml
├── spark
│ ├── pom.xml
│ ├── spotbugs-filter.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── apache
│ │ │ │ └── oozie
│ │ │ │ └── action
│ │ │ │ └── hadoop
│ │ │ │ ├── HadoopUriFinder.java
│ │ │ │ ├── JarFilter.java
│ │ │ │ ├── SparkArgsExtractor.java
│ │ │ │ ├── SparkMain.java
│ │ │ │ └── SparkOptionsSplitter.java
│ │ └── resources
│ │ │ ├── pi.py
│ │ │ ├── py4j-0.9-src.zip
│ │ │ └── pyspark.zip
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ ├── TestDuplicateFilteringInSparkMain.java
│ │ ├── TestJarFilter.java
│ │ ├── TestPyspark.java
│ │ ├── TestSparkActionExecutor.java
│ │ ├── TestSparkArgsExtractor.java
│ │ ├── TestSparkMain.java
│ │ └── TestSparkOptionsSplitter.java
├── sqoop
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ └── java
│ │ │ └── org
│ │ │ └── apache
│ │ │ └── oozie
│ │ │ └── action
│ │ │ └── hadoop
│ │ │ └── SqoopMain.java
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ ├── TestSqoopActionExecutor.java
│ │ └── TestSqoopMain.java
├── src
│ └── main
│ │ └── resources
│ │ └── sharelib.properties
└── streaming
│ ├── pom.xml
│ └── src
│ ├── main
│ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── action
│ │ └── hadoop
│ │ └── StreamingMain.java
│ └── test
│ └── java
│ └── org
│ └── apache
│ └── oozie
│ └── action
│ └── hadoop
│ ├── BlockingMapper.java
│ ├── OozieActionConfiguratorForTest.java
│ ├── TestMapReduceActionExecutor.java
│ └── TestStreamingMain.java
├── source-headers.txt
├── src
└── main
│ ├── assemblies
│ ├── client.xml
│ ├── distro.xml
│ ├── docs.xml
│ ├── examples.xml
│ ├── partial-sharelib.xml
│ ├── sharelib.xml
│ └── tools.xml
│ └── resources
│ └── checkstyle.xml
├── tools
├── pom.xml
└── src
│ ├── main
│ ├── bin
│ │ ├── instrumentation-log-parser.py
│ │ ├── oozie-diag-bundle-collector.sh
│ │ └── ooziedb.sh
│ └── java
│ │ └── org
│ │ └── apache
│ │ └── oozie
│ │ └── tools
│ │ ├── ECPolicyDisabler.java
│ │ ├── OozieDBCLI.java
│ │ ├── OozieDBExportCLI.java
│ │ ├── OozieDBImportCLI.java
│ │ ├── OozieSharelibCLI.java
│ │ └── diag
│ │ ├── AppInfoCollector.java
│ │ ├── ArgParser.java
│ │ ├── DiagBundleCollectorDriver.java
│ │ ├── DiagBundleCompressor.java
│ │ ├── DiagBundleEntryWriter.java
│ │ ├── DiagOozieClient.java
│ │ ├── MetricsCollector.java
│ │ ├── OozieLauncherLogFetcher.java
│ │ └── ServerInfoCollector.java
│ └── test
│ ├── java
│ └── org
│ │ └── apache
│ │ ├── hadoop
│ │ └── hdfs
│ │ │ └── protocol
│ │ │ └── SystemErasureCodingPolicies.java
│ │ └── oozie
│ │ └── tools
│ │ ├── FakeConnection.java
│ │ ├── FakeDriver.java
│ │ ├── IntegrationTestOozieSharelibCLI.java
│ │ ├── OozieSharelibFileOperations.java
│ │ ├── TestBlockSizeCalculator.java
│ │ ├── TestConcurrentCopyFromLocal.java
│ │ ├── TestCopyTaskCallable.java
│ │ ├── TestDBLoadDump.java
│ │ ├── TestECPolicyDisabler.java
│ │ ├── TestOozieDBCLI.java
│ │ ├── TestOozieMySqlDBCLI.java
│ │ ├── TestOozieSharelibCLI.java
│ │ ├── TestOozieSharelibCLIExtraArgsParser.java
│ │ └── diag
│ │ ├── TestAppInfoCollector.java
│ │ ├── TestArgParser.java
│ │ ├── TestMetricsCollector.java
│ │ └── TestServerInfoCollector.java
│ └── resources
│ ├── dumpData
│ ├── invalid
│ │ ├── ooziedb_ac.json
│ │ ├── ooziedb_bna.json
│ │ ├── ooziedb_bnj.json
│ │ ├── ooziedb_ca.json
│ │ ├── ooziedb_cj.json
│ │ ├── ooziedb_sysinfo.json
│ │ └── ooziedb_wf.json
│ └── valid
│ │ ├── ooziedb_ac.json
│ │ ├── ooziedb_bna.json
│ │ ├── ooziedb_bnj.json
│ │ ├── ooziedb_ca.json
│ │ ├── ooziedb_cj.json
│ │ ├── ooziedb_slareg.json
│ │ ├── ooziedb_slasum.json
│ │ ├── ooziedb_sysinfo.json
│ │ └── ooziedb_wf.json
│ ├── fake-oozie-site.xml
│ └── hsqldb-oozie-site.xml
├── webapp
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── apache
│ │ └── hadoop
│ │ └── fs
│ │ └── RawLocalFileSystem.java
│ └── resources
│ └── .gitignore
└── zookeeper-security-tests
├── pom.xml
└── src
└── test
└── java
└── org
└── apache
└── oozie
├── test
└── ZKXTestCaseWithSecurity.java
└── util
└── TestZKUtilsWithSecurity.java
/.gitignore:
--------------------------------------------------------------------------------
1 | # Maven
2 | target
3 |
4 | # test-patch
5 | test-patch
6 |
7 | # IntelliJ
8 | *.iml
9 | *.ipr
10 | *.iws
11 | .idea
12 |
13 | # Structure101
14 | *.hsp
15 |
16 | # Eclipse
17 | .classpath
18 | .project
19 | .settings
20 |
21 | # Oozie build
22 | core/pig*
23 | core/hive-*
24 | core/build
25 | core/mem
26 | examples/oozietests
27 | mkdistro-*.out
28 | distro/downloads
29 | SecurityAuth.audit
30 | build
31 | webapp/overlays
32 | # macos
33 | .DS_Store
34 |
--------------------------------------------------------------------------------
/NOTICE.txt:
--------------------------------------------------------------------------------
1 | =======================================================================
2 | NOTICE file for use with, and corresponding to Section 4 of,
3 | the Apache License, Version 2.0,
4 | in this case for the Oozie, Workflow Engine for Hadoop project
5 | =======================================================================
6 |
7 | Copyright 2018 The Apache Software Foundation
8 |
9 | This product includes software developed by The Apache Software
10 | Foundation (http://www.apache.org/).
11 |
--------------------------------------------------------------------------------
/bin/findbugs-diff-0.1.0-all.jar.md5:
--------------------------------------------------------------------------------
1 | d965fab3dbf678189924ad6d61fc7a3d
2 |
--------------------------------------------------------------------------------
/client/spotbugs-filter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/client/src/main/java/org/apache/oozie/AppType.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie;
20 |
21 | /**
22 | * App-type means job-type to enable to ease filtering
23 | */
24 | public enum AppType {
25 | WORKFLOW_JOB, WORKFLOW_ACTION, COORDINATOR_JOB, COORDINATOR_ACTION, BUNDLE_JOB, BUNDLE_ACTION
26 | }
27 |
--------------------------------------------------------------------------------
/client/src/main/java/org/apache/oozie/cli/OozieCLIException.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.cli;
20 |
21 | /**
22 | * Exception thrown by OozieCLI
23 | */
24 | public class OozieCLIException extends Exception {
25 |
26 | public OozieCLIException(String msg) {
27 | super(msg);
28 | }
29 |
30 | public OozieCLIException(String msg, Throwable throwable) {
31 | super(msg, throwable);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/client/src/main/java/org/apache/oozie/cli/ValidationUtil.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.cli;
20 |
21 | public class ValidationUtil {
22 |
23 | public static int parsePositiveInteger(String iStr) {
24 | int value = Integer.parseInt(iStr);
25 | if (value < 0) {
26 | throw new IllegalArgumentException("Input value should be a positive integer. Value: " + iStr);
27 | }
28 | return value;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/client/src/main/resources/oozie-buildinfo.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # http://www.apache.org/licenses/LICENSE-2.0
20 | #
21 | # Unless required by applicable law or agreed to in writing, software
22 | # distributed under the License is distributed on an "AS IS" BASIS,
23 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 | # See the License for the specific language governing permissions and
25 | # limitations under the License. See accompanying LICENSE file.
26 |
27 | #
28 |
29 | ######################
30 | build.user=${user.name}
31 | build.time=${build.time}
32 | build.version=${pom.version}
33 | vc.revision=${vc.revision}
34 | vc.url=${vc.url}
35 | ######################
36 |
--------------------------------------------------------------------------------
/client/src/test/resources/invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/client/src/test/resources/valid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/core/src/main/conf/adminusers.txt:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # Admin Users, one user by line
20 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/control/EndActionExecutor.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.control;
20 |
21 | /**
22 | * Action executor for END control node.
23 | */
24 | public class EndActionExecutor extends ControlNodeActionExecutor {
25 | public static final String TYPE = ":END:";
26 |
27 | public EndActionExecutor() {
28 | super(TYPE);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/control/ForkActionExecutor.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.control;
20 |
21 | /**
22 | * Action executor for FORK control node.
23 | */
24 | public class ForkActionExecutor extends ControlNodeActionExecutor {
25 | public static final String TYPE = ":FORK:";
26 |
27 | public ForkActionExecutor() {
28 | super(TYPE);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/control/JoinActionExecutor.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.control;
20 |
21 | /**
22 | * Action executor for JOIN control node.
23 | */
24 | public class JoinActionExecutor extends ControlNodeActionExecutor {
25 | public static final String TYPE = ":JOIN:";
26 |
27 | public JoinActionExecutor() {
28 | super(TYPE);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/control/KillActionExecutor.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.control;
20 |
21 | /**
22 | * Action executor for KILL control node.
23 | */
24 | public class KillActionExecutor extends ControlNodeActionExecutor {
25 | public static final String TYPE = ":KILL:";
26 |
27 | public KillActionExecutor() {
28 | super(TYPE);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/control/StartActionExecutor.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.control;
20 |
21 | /**
22 | * Action executor for START control node.
23 | */
24 | public class StartActionExecutor extends ControlNodeActionExecutor {
25 | public static final String TYPE = ":START:";
26 |
27 | public StartActionExecutor() {
28 | super(TYPE);
29 | }
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/action/hadoop/ShellSplitterException.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.hadoop;
20 |
21 | import org.apache.oozie.ErrorCode;
22 |
23 | /**
24 | * Exception thrown by {@link ShellSplitter}.
25 | */
26 | public class ShellSplitterException extends Exception {
27 |
28 | public ShellSplitterException(String msg) {
29 | super(msg);
30 | }
31 |
32 | public ShellSplitterException(String msg, Throwable throwable) {
33 | super(msg, throwable);
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/bundle/BundleELFunctions.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.bundle;
20 |
21 | import org.apache.oozie.util.ELEvaluator;
22 |
23 |
24 | public class BundleELFunctions {
25 | public static String bundle_conf(String property) {
26 | ELEvaluator eval = ELEvaluator.getCurrent();
27 | return (String) eval.getVariable(property);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/command/OperationType.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.command;
19 |
20 |
21 | public enum OperationType {
22 | Kill,
23 | Suspend,
24 | Resume
25 | };
26 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/command/wf/StartXCommand.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.command.wf;
20 |
21 | import org.apache.oozie.util.InstrumentUtils;
22 |
23 | /**
24 | * Starting the command.
25 | */
26 | public class StartXCommand extends SignalXCommand {
27 |
28 | public StartXCommand(String id) {
29 | super("start", 1, id);
30 | InstrumentUtils.incrJobCounter(getName(), 1, getInstrumentation());
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/compression/CompressionCodec.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.compression;
20 |
21 | import java.io.DataInputStream;
22 | import java.io.IOException;
23 |
24 | public interface CompressionCodec {
25 |
26 | byte[] compressBytes(byte[] header, byte[] data) throws IOException;
27 |
28 | byte[] compressString(byte[] header, String data) throws IOException;
29 |
30 | String decompressToString(DataInputStream dais) throws IOException;
31 |
32 | byte[] decompressToBytes(DataInputStream dais) throws IOException;
33 | }
34 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/coord/ElException.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.coord;
19 |
20 | import org.apache.oozie.ErrorCode;
21 | import org.apache.oozie.XException;
22 |
23 | /**
24 | * Exception thrown while evaluating el functions
25 | */
26 | public class ElException extends XException {
27 | private static final long serialVersionUID = 1L;
28 |
29 | public ElException(ErrorCode errorCode, Object... params) {
30 | super(errorCode, params);
31 | }
32 | }
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/jms/MessageHandler.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.jms;
20 |
21 | import javax.jms.Message;
22 |
23 | public interface MessageHandler {
24 | /**
25 | * Process a generic JMS message.
26 | *
27 | * @param msg : to be processed
28 | */
29 | void process(Message msg);
30 | }
31 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/lock/LockToken.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.lock;
20 |
21 | /**
22 | * Lock token returned when obtaining a lock, the token must be released when the lock is not needed anymore.
23 | * Lock-providing Services (e.g. MemoryLockService) should provide their own implementation of LockToken based on their locking
24 | * mechanism.
25 | */
26 | public interface LockToken {
27 | /**
28 | * Release the lock.
29 | */
30 | void release();
31 | }
32 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/service/AuthorizationException.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.service;
20 |
21 | import org.apache.oozie.XException;
22 | import org.apache.oozie.ErrorCode;
23 |
24 | public class AuthorizationException extends XException {
25 |
26 | public AuthorizationException(ErrorCode errorCode, Object... params) {
27 | super(errorCode, params);
28 | }
29 |
30 | public AuthorizationException(XException cause) {
31 | super(cause);
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/util/Instrumentable.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util;
20 |
21 | /**
22 | * Managed entities (like services) that implement this interface are injected with the system {@link Instrumentation}
23 | * object.
24 | */
25 | public interface Instrumentable {
26 |
27 | /**
28 | * Set the system instrumentation.
29 | *
30 | * @param instr system instrumentation.
31 | */
32 | void instrument(Instrumentation instr);
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/util/db/AlwaysFailingHSQLDriverMapper.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util.db;
20 |
21 | public class AlwaysFailingHSQLDriverMapper extends FailingHSQLDBDriverWrapper{
22 | public AlwaysFailingHSQLDriverMapper() {
23 | super(100);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/util/db/ValidateConnectionBean.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util.db;
20 |
21 | import javax.persistence.Basic;
22 | import javax.persistence.Column;
23 | import javax.persistence.Entity;
24 | import javax.persistence.Table;
25 |
26 | @Entity
27 | @Table(name = "VALIDATE_CONN")
28 | public class ValidateConnectionBean {
29 |
30 | @Basic
31 | @Column
32 | public int dummy;
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/util/graph/GraphRenderer.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util.graph;
20 |
21 | import java.awt.image.BufferedImage;
22 |
23 | public interface GraphRenderer {
24 | void addNode(WorkflowActionNode node);
25 |
26 | void addEdge(WorkflowActionNode parent, WorkflowActionNode child);
27 |
28 | void persist(WorkflowActionNode parent);
29 |
30 | BufferedImage renderPng();
31 |
32 | String renderDot();
33 |
34 | String renderSvg();
35 | }
36 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/util/graph/OutputFormat.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util.graph;
20 |
21 | public enum OutputFormat {
22 | PNG, DOT, SVG
23 | }
24 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/workflow/WorkflowApp.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.workflow;
20 |
21 | /**
22 | * A workflow definition is a programmatic definition of a workflow application.
23 | */
24 | public interface WorkflowApp {
25 |
26 | /**
27 | * Return the name of teh workflow application.
28 | *
29 | * @return the name of teh workflow application.
30 | */
31 | String getName();
32 |
33 | /**
34 | * Return the original workflow definition (normally XML).
35 | *
36 | * @return the original workflow definition (normally XML).
37 | */
38 | String getDefinition();
39 | }
40 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/workflow/lite/ControlNodeDef.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.workflow.lite;
20 |
21 | import java.util.List;
22 |
23 | /**
24 | * Node definition for control nodes: START/END/KILL/FORK/JOIN.
25 | */
26 | public abstract class ControlNodeDef extends NodeDef {
27 |
28 | ControlNodeDef() {
29 | }
30 |
31 | @SuppressWarnings("unchecked")
32 | public ControlNodeDef(String name, String conf, Class extends ControlNodeHandler> controlHandlerClass,
33 | List transitions) {
34 | super(name, conf, controlHandlerClass, transitions);
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/core/src/main/java/org/apache/oozie/workflow/lite/DecisionNodeDef.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.workflow.lite;
20 |
21 | import java.util.List;
22 | import java.util.Objects;
23 |
24 | public class DecisionNodeDef extends NodeDef {
25 |
26 | DecisionNodeDef() {
27 | }
28 |
29 | public DecisionNodeDef(String name, String conf, Class extends DecisionNodeHandler> clazz, List evals) {
30 | super(name, Objects.requireNonNull(conf, "conf cannot be null"), clazz, evals);
31 | }
32 |
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/core/src/main/resources/META-INF/oozie-oracle-orm.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
23 |
24 |
--------------------------------------------------------------------------------
/core/src/main/resources/ehcache-default.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
24 |
27 |
--------------------------------------------------------------------------------
/core/src/main/resources/jetty-logging.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | # http://www.apache.org/licenses/LICENSE-2.0
19 | #
20 | # Unless required by applicable law or agreed to in writing, software
21 | # distributed under the License is distributed on an "AS IS" BASIS,
22 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 | # See the License for the specific language governing permissions and
24 | # limitations under the License. See accompanying LICENSE file.
25 | #
26 | org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog
--------------------------------------------------------------------------------
/core/src/main/resources/oozie-hbase-client-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | hbase.use.dynamic.jars
22 | false
23 |
24 |
25 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/action/hadoop/LauncherMainTester2.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.hadoop;
20 |
21 | public class LauncherMainTester2 extends LauncherMainTester {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/action/oozie/JavaSleepAction.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.oozie;
20 |
21 | public class JavaSleepAction {
22 | public static void main(String[] args) throws InterruptedException {
23 | Thread.sleep(20000);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/action/ssh/TestSshActionExecutorAsExtension.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.action.ssh;
20 |
21 | public class TestSshActionExecutorAsExtension extends TestSshActionExecutor {
22 |
23 | @Override
24 | protected String getActionXMLSchema() {
25 | return "uri:oozie:ssh-action:0.2";
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/command/coord/TestCoordActionInputCheckXCommandNonUTC.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.command.coord;
20 |
21 | public class TestCoordActionInputCheckXCommandNonUTC extends TestCoordActionInputCheckXCommand {
22 |
23 | protected String getProcessingTZ() {
24 | return "GMT+0530";
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/service/ExtendedCallableQueueService.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.service;
20 |
21 | import java.util.List;
22 | import java.util.concurrent.Future;
23 |
24 | import org.apache.oozie.service.CallableQueueService;
25 |
26 | public class ExtendedCallableQueueService extends CallableQueueService {
27 | @Override
28 | public List> invokeAll(List> tasks) throws InterruptedException {
29 | try {
30 | return super.invokeAll(tasks);
31 | }
32 | catch (Throwable e) {
33 | throw new Error();
34 | }
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/core/src/test/java/org/apache/oozie/util/TestClassUtils.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.util;
20 |
21 | import org.json.simple.JSONArray;
22 | import org.junit.Test;
23 |
24 | import static junit.framework.Assert.assertTrue;
25 |
26 | public class TestClassUtils {
27 |
28 | @Test
29 | public void testContainingJar() {
30 | assertTrue(ClassUtils.findContainingJar(JSONArray.class).contains("json-simple"));
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/core/src/test/resources/adminusers.txt:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | admin
19 |
--------------------------------------------------------------------------------
/core/src/test/resources/auth-disabled-oozie-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 | oozie.service.AuthorizationService.admin.enabled
22 | false
23 |
24 |
25 |
--------------------------------------------------------------------------------
/core/src/test/resources/coord-matLookup-trigger.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 | 10
21 | 2
22 | LIFO
23 |
24 |
25 |
26 | hdfs:///tmp/workflows/
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/core/src/test/resources/derby-oozie-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 | oozie.service.JPAService.jdbc.driver
23 | org.apache.derby.jdbc.EmbeddedDriver
24 |
25 |
26 | oozie.service.JPAService.jdbc.url
27 | jdbc:derby:${oozie.data.dir}/oozie-derby;create=true
28 |
29 |
30 |
--------------------------------------------------------------------------------
/core/src/test/resources/failover-fs-wf.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | kill
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/core/src/test/resources/hadoop-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | mapreduce.jobtracker.kerberos.principal
24 | mapred/_HOST@LOCALREALM
25 |
26 |
27 |
28 | dfs.namenode.kerberos.principal
29 | hdfs/_HOST@LOCALREALM
30 |
31 |
32 |
33 | mapreduce.framework.name
34 | yarn
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/core/src/test/resources/hadoop-site.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/core/src/test/resources/hsqldb-oozie-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 | oozie.service.JPAService.jdbc.driver
23 | org.hsqldb.jdbcDriver
24 |
25 |
26 | oozie.service.JPAService.jdbc.url
27 | jdbc:hsqldb:mem:oozie-db;create=true
28 |
29 |
30 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-documentbuilderfactory-empty.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.javax.xml.parsers.DocumentBuilderFactory
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-documentbuilderfactory.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.javax.xml.parsers.DocumentBuilderFactory
23 | org.apache.oozie.service.DummyDocumentBuilderFactoryImpl
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-instrumentation.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.services
23 |
24 | org.apache.oozie.service.SchedulerService,
25 | org.apache.oozie.service.MetricsInstrumentationService
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-mask.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.authentication.signature.secret
23 | my-secret
24 |
25 |
26 |
27 | oozie.service.JPAService.jdbc.password
28 | my-password
29 |
30 |
31 |
32 | oozie.is.awesome
33 | true
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-with-jceks-filesomething.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | hadoop.security.credential.provider.path
23 | jceks://filesomething/somewhere/on/local/filesystem
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-with-jceks-nonfile.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | hadoop.security.credential.provider.path
23 | jceks://something/somewhere/on/local/filesystem
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-with-jceks.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | hadoop.security.credential.provider.path
23 | jceks://file/somewhere/on/local/filesystem
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-with-localjceks.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | hadoop.security.credential.provider.path
23 | localjceks://file/somewhere/on/local/filesystem
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site-with-security.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.service.AuthorizationService.security.enabled
23 | true
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site1.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-site2.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.system.id
23 | SITE1
24 |
25 |
26 |
27 | oozie.dummy
28 | SITE2
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/core/src/test/resources/oozie-sitealternate.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 | oozie.system.id
23 | ALTERNATE1
24 |
25 |
26 |
27 | oozie.dummy
28 | ALTERNATE2
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/core/src/test/resources/rerun-el-wf.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | ${fs:exists(checkDir)}
30 |
31 |
32 |
33 |
34 | kill
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/core/src/test/resources/rerun-elerr-wf.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | ${fs:exsts(checkDir)}
30 |
31 |
32 |
33 |
34 | kill
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/core/src/test/resources/rerun-varsub-wf.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 | kill
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-action-config-1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | default.param
24 | default.value
25 |
26 |
27 |
28 | action.testprop
29 | 1
30 |
31 |
32 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-action-config-2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | action.boo
24 | action.car
25 |
26 |
27 |
28 | oozie.launcher.action.booboo
29 | action.carcar
30 |
31 |
32 |
33 | action.testprop
34 | 2
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-action-config-3.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | default.param
24 | default.value
25 |
26 |
27 |
28 | action.testprop
29 | 3
30 |
31 |
32 |
33 | action.testprop
34 | 1
35 |
36 |
37 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-action-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | action.foo
24 | action.bar
25 |
26 |
27 |
28 | oozie.launcher.action.foofoo
29 | action.barbar
30 |
31 |
32 |
33 | action.testprop
34 | 100
35 |
36 |
37 |
38 | mapreduce.map.maxattempts
39 | 1
40 |
41 |
42 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-default-config-1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | action.boo
24 | action.car
25 |
26 |
27 |
28 | default.car
29 | default.bus
30 |
31 |
32 |
33 | oozie.launcher.action.booboo
34 | action.carcar
35 |
36 |
37 |
38 | default.testprop
39 | 0
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-default-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | default.foo
24 | default.bar
25 |
26 |
27 |
28 | action.foo
29 | action.default
30 |
31 |
32 |
33 | default.testprop
34 | 1
35 |
36 |
37 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-hadoop-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | foo
24 | bar
25 |
26 |
27 |
28 | abc
29 | def
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-ioutils.txt:
--------------------------------------------------------------------------------
1 | abcde
--------------------------------------------------------------------------------
/core/src/test/resources/test-mapred-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 | mapreduce.job.counters.max
24 | 500
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-oozie-default.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
20 |
21 |
22 |
23 |
24 | oozie.dummy
25 | DEFAULT
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/core/src/test/resources/test-oozie-with-prefix.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 |
24 | oozie.dummy
25 | DEFAULT
26 |
27 |
28 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-ext-schema-invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | signal-value
25 | external-status
26 | error
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-loop1-invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 | true
23 | false
24 |
25 |
26 |
27 |
28 | kill
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-loop2-invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 | true
23 | false
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-no-op.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-schema-action-name-too-long.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-schema-fs-no-namenode.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | action-nn
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | fail
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-schema-invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-schema-subworkflow-propagate-no-global.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | /tmp/foo/
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | fail
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/core/src/test/resources/wf-transition-invalid.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 | true
23 | false
24 |
25 |
26 |
27 |
28 | kill
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/distro/src/main/bin/oozie-run.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | # resolve links - $0 may be a softlink
21 | PRG="${0}"
22 |
23 | while [ -h "${PRG}" ]; do
24 | ls=`ls -ld "${PRG}"`
25 | link=`expr "$ls" : '.*-> \(.*\)$'`
26 | if expr "$link" : '/.*' > /dev/null; then
27 | PRG="$link"
28 | else
29 | PRG=`dirname "${PRG}"`/"$link"
30 | fi
31 | done
32 |
33 | BASEDIR=`dirname ${PRG}`
34 | BASEDIR=`cd ${BASEDIR}/..;pwd`
35 |
36 | echo "WARN: Use of this script is deprecated; use 'oozied.sh run' instead"
37 | exec ${BASEDIR}/bin/oozied.sh run
38 |
--------------------------------------------------------------------------------
/distro/src/main/bin/oozie-start.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | # resolve links - $0 may be a softlink
21 | PRG="${0}"
22 |
23 | while [ -h "${PRG}" ]; do
24 | ls=`ls -ld "${PRG}"`
25 | link=`expr "$ls" : '.*-> \(.*\)$'`
26 | if expr "$link" : '/.*' > /dev/null; then
27 | PRG="$link"
28 | else
29 | PRG=`dirname "${PRG}"`/"$link"
30 | fi
31 | done
32 |
33 | BASEDIR=`dirname ${PRG}`
34 | BASEDIR=`cd ${BASEDIR}/..;pwd`
35 |
36 | echo "WARN: Use of this script is deprecated; use 'oozied.sh start' instead"
37 | exec ${BASEDIR}/bin/oozied.sh start
38 |
--------------------------------------------------------------------------------
/distro/src/main/bin/oozie-stop.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 | # resolve links - $0 may be a softlink
20 | PRG="${0}"
21 |
22 | while [ -h "${PRG}" ]; do
23 | ls=`ls -ld "${PRG}"`
24 | link=`expr "$ls" : '.*-> \(.*\)$'`
25 | if expr "$link" : '/.*' > /dev/null; then
26 | PRG="$link"
27 | else
28 | PRG=`dirname "${PRG}"`/"$link"
29 | fi
30 | done
31 |
32 | BASEDIR=`dirname ${PRG}`
33 | BASEDIR=`cd ${BASEDIR}/..;pwd`
34 |
35 | echo "WARN: Use of this script is deprecated; use 'oozied.sh stop' instead"
36 | exec ${BASEDIR}/bin/oozied.sh stop
37 |
--------------------------------------------------------------------------------
/distro/src/main/bin/oozied.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one
4 | # or more contributor license agreements. See the NOTICE file
5 | # distributed with this work for additional information
6 | # regarding copyright ownership. The ASF licenses this file
7 | # to you under the Apache License, Version 2.0 (the
8 | # "License"); you may not use this file except in compliance
9 | # with the License. You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | # resolve links - $0 may be a softlink
21 | PRG="${0}"
22 |
23 | while [ -h "${PRG}" ]; do
24 | ls=`ls -ld "${PRG}"`
25 | link=`expr "$ls" : '.*-> \(.*\)$'`
26 | if expr "$link" : '/.*' > /dev/null; then
27 | PRG="$link"
28 | else
29 | PRG=`dirname "${PRG}"`/"$link"
30 | fi
31 | done
32 |
33 | BASEDIR=`dirname ${PRG}`
34 | BASEDIR=`cd ${BASEDIR}/..;pwd`
35 |
36 | if [ $# -le 0 ]; then
37 | echo "Usage: oozied.sh (start|stop|run)"
38 | exit 1
39 | fi
40 |
41 | actionCmd=$1
42 | shift
43 |
44 | source ${BASEDIR}/bin/oozie-jetty-server.sh
45 | jetty_main $actionCmd
46 |
--------------------------------------------------------------------------------
/docs/src/main/java/Dummy.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | /**
20 | * Dummy class to force the creation of a JAR file for the oozie-docs module.
21 | * If the JAR does not exists Maven test phase fails in oozie-webapp module.
22 | */
23 | public class Dummy {
24 | }
25 |
--------------------------------------------------------------------------------
/docs/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
22 |
23 |
24 | OOZIE DOCS
25 |
26 |
--------------------------------------------------------------------------------
/docs/src/site/resources/DG_Overview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/docs/src/site/resources/DG_Overview.png
--------------------------------------------------------------------------------
/docs/src/site/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
19 |
22 |
23 |
24 | OOZIE DOCS
25 |
26 |
--------------------------------------------------------------------------------
/examples/src/main/apps/aggregator/job-with-offset.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8021
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/aggregator/coordinator-with-offset.xml
25 | start=2010-01-01T01:00Z
26 | end=2010-01-01T03:00Z
27 |
28 |
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/aggregator/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/aggregator/coordinator.xml
25 | start=2010-01-01T01:00Z
26 | end=2010-01-01T03:00Z
27 |
28 |
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/bundle/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | oozie.bundle.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/bundle
20 | nameNode=hdfs://localhost:8020
21 | resourceManager=localhost:8032
22 | queueName=default
23 | outputDir=bundle
24 | examplesRoot=examples
25 | start=2010-01-01T01:00Z
26 | end=2010-01-01T03:00Z
27 | userName=${user.name}
28 |
--------------------------------------------------------------------------------
/examples/src/main/apps/coord-input-logic/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:9000
20 | resourceManager=localhost:9001
21 | queueName=default
22 | examplesRoot=examples
23 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/coord-input-logic/coordinator.xml
24 | start=2010-01-01T01:00Z
25 | end=2010-01-01T03:00Z
26 |
--------------------------------------------------------------------------------
/examples/src/main/apps/cron-schedule/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/cron-schedule
25 | start=2010-01-01T00:00Z
26 | end=2010-01-01T01:00Z
27 | workflowAppUri=${nameNode}/user/${user.name}/${examplesRoot}/apps/cron-schedule
28 |
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/cron-schedule/workflow.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/examples/src/main/apps/cron/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/cron
25 | start=2010-01-01T00:00Z
26 | end=2010-01-01T01:00Z
27 | workflowAppUri=${nameNode}/user/${user.name}/${examplesRoot}/apps/cron
28 |
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/cron/workflow.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/custom-main/id.pig:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | A = load '$INPUT' using PigStorage(':');
19 | B = foreach A generate $0 as id;
20 | store B into '$OUTPUT' USING PigStorage();
21 |
--------------------------------------------------------------------------------
/examples/src/main/apps/custom-main/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/custom-main
27 |
28 |
--------------------------------------------------------------------------------
/examples/src/main/apps/datelist-java-main/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | resourceManager=localhost:8032
20 | nameNode=hdfs://localhost:8020
21 | queueName=default
22 | START=2009-02-01T01:00Z
23 | END=2009-02-01T02:00Z
24 | FREQUENCY=15
25 | TIMEUNIT=MINUTES
26 | TIMEZONE=UTC
27 | EXPECTED_DATE_RANGE=2009-02-01T01:00Z,2009-02-01T01:15Z,2009-02-01T01:30Z,2009-02-01T01:45Z
28 | oozie.wf.application.path=${nameNode}/user/${user.name}/examples/apps/datelist-java-main
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/demo/id.pig:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | A = load '$INPUT' using PigStorage(':');
19 | B = foreach A generate $0 as id;
20 | store B into '$OUTPUT' USING PigStorage();
21 |
--------------------------------------------------------------------------------
/examples/src/main/apps/demo/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 | streamingMapper=/bin/cat
24 | streamingReducer=/usr/bin/wc
25 |
26 | oozie.use.system.libpath=true
27 |
28 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/demo
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/demo/job.windows.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8021
21 | queueName=default
22 | examplesRoot=examples
23 | streamingMapper=powershell -command "$input | Write-Host"
24 | streamingReducer=powershell -command "$input | Measure-Object -Word -Line -Character"
25 |
26 | oozie.use.system.libpath=true
27 |
28 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/demo
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/distcp/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/distcp
25 | outputDir=distcp
26 | oozie.use.system.libpath=true
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/git/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/git
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hadoop-el/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hadoop-el
25 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hcatalog/id.pig:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | A = load '$DB.$TABLE' using org.apache.hive.hcatalog.pig.HCatLoader();
19 | B = FILTER A BY $FILTER;
20 | C = foreach B generate foo, bar, car;
21 | store C into '$OUTPUT_DB.$OUTPUT_TABLE' USING org.apache.hive.hcatalog.pig.HCatStorer('$OUTPUT_PARTITION');
22 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hcatalog/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 | oozie.use.system.libpath=true
24 | oozie.action.sharelib.for.pig=pig,hive
25 |
26 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hcatalog
27 | hcatNode=hcat://localhost:11002
28 | db=default
29 | table=invites
30 | start=2010-01-01T01:00Z
31 | end=2010-01-01T01:20Z
32 | workflowAppUri=${nameNode}/user/${user.name}/${examplesRoot}/apps/hcatalog
33 | dataOut=2011-01-01
34 | outputtable=oozie
35 | region=usa
36 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hcatalog/job.properties.security:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8021
21 | queueName=default
22 | examplesRoot=examples
23 | oozie.use.system.libpath=true
24 |
25 | hive.metastore.sasl.enabled=true
26 | hive.metastore.kerberos.principal=hive/@
27 |
28 |
29 | oozie.coord.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hcatalog
30 | hcatNode=hcat://localhost:11002
31 | db=default
32 | table=invites
33 | start=2010-01-01T01:00Z
34 | end=2010-01-01T01:20Z
35 | workflowAppUri=${nameNode}/user/${user.name}/${examplesRoot}/apps/hcatalog
36 | dataOut=2011-01-01
37 | outputtable=oozie
38 | region=usa
39 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive/README:
--------------------------------------------------------------------------------
1 | For secure clusters, copy workflow.xml.security to workflow.xml and fix the metastore location appropriately.
2 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | nameNode=hdfs://localhost:8020
19 | resourceManager=localhost:8032
20 | queueName=default
21 | examplesRoot=examples
22 |
23 | oozie.use.system.libpath=true
24 |
25 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hive
26 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive/script.q:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | DROP TABLE IF EXISTS test;
19 | CREATE EXTERNAL TABLE test (a INT) STORED AS TEXTFILE LOCATION '${INPUT}';
20 | INSERT OVERWRITE DIRECTORY '${OUTPUT}' SELECT * FROM test;
21 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive2/README:
--------------------------------------------------------------------------------
1 | Running the HiveServer2 example
2 |
3 | 1. Setup and run a HiveServer2 (hive --service hiveserver2) to run on localhost, port 10000,
4 | prior to running the example.
5 | 2. When running in a secure cluster, follow below
6 | a. The files job.properties.security and workflow.xml.security can be
7 | used and modified as needed. Please refer to those two files and change the jdbcURL
8 | and jdbcPrincipal as necessary.
9 | b. Make sure oozie-site.xml under /etc/oozie/conf has the following property
10 | specified.
11 |
12 | oozie.credentials.credentialclasses
13 | hive2=org.apache.oozie.action.hadoop.Hive2Credentials
14 |
15 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive2/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | nameNode=hdfs://localhost:8020
19 | resourceManager=localhost:8032
20 | queueName=default
21 | jdbcURL=jdbc:hive2://localhost:10000/default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hive2
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive2/job.properties.security:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | nameNode=hdfs://localhost:8020
19 | resourceManager=localhost:8021
20 | queueName=default
21 | jdbcURL=jdbc:hive2://localhost:10000/default
22 | jdbcPrincipal=hive/localhost@EXAMPLE.COM
23 | examplesRoot=examples
24 |
25 | oozie.use.system.libpath=true
26 |
27 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/hive2
28 |
--------------------------------------------------------------------------------
/examples/src/main/apps/hive2/script.q:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | DROP TABLE IF EXISTS test;
19 | CREATE EXTERNAL TABLE test (a INT) STORED AS TEXTFILE LOCATION '${INPUT}';
20 | INSERT OVERWRITE DIRECTORY '${OUTPUT}' SELECT * FROM test;
21 |
--------------------------------------------------------------------------------
/examples/src/main/apps/java-main/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/java-main
25 |
--------------------------------------------------------------------------------
/examples/src/main/apps/map-reduce/job-with-config-class.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8021
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/map-reduce/workflow-with-config-class.xml
25 | outputDir=map-reduce
26 |
--------------------------------------------------------------------------------
/examples/src/main/apps/map-reduce/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/map-reduce/workflow.xml
25 | outputDir=map-reduce
26 |
--------------------------------------------------------------------------------
/examples/src/main/apps/no-op/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/no-op
25 |
--------------------------------------------------------------------------------
/examples/src/main/apps/no-op/workflow.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/examples/src/main/apps/pig/id.pig:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | A = load '$INPUT' using PigStorage(':');
19 | B = foreach A generate $0 as id;
20 | store B into '$OUTPUT' USING PigStorage();
21 |
--------------------------------------------------------------------------------
/examples/src/main/apps/pig/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/pig
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/pyspark/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | master=yarn
22 | mode=client
23 | queueName=default
24 | examplesRoot=examples
25 | oozie.use.system.libpath=true
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/pyspark
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/shell/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/shell
25 |
--------------------------------------------------------------------------------
/examples/src/main/apps/spark/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | master=local[*]
22 | mode=client
23 | queueName=default
24 | examplesRoot=examples
25 | oozie.use.system.libpath=true
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/spark
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop-freeform/db.hsqldb.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | #HSQL Database Engine 1.8.0.5
20 | #Tue Oct 05 11:20:19 SGT 2010
21 | hsqldb.script_format=0
22 | runtime.gc_interval=0
23 | sql.enforce_strict_size=false
24 | hsqldb.cache_size_scale=8
25 | readonly=false
26 | hsqldb.nio_data_file=true
27 | hsqldb.cache_scale=14
28 | version=1.8.0
29 | hsqldb.default_table_type=memory
30 | hsqldb.cache_file_scale=1
31 | hsqldb.log_size=200
32 | modified=no
33 | hsqldb.cache_version=1.7.0
34 | hsqldb.original_version=1.8.0
35 | hsqldb.compatible_version=1.8.0
36 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop-freeform/db.hsqldb.script:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA
19 | CREATE MEMORY TABLE TT(I INTEGER NOT NULL PRIMARY KEY,S VARCHAR(256))
20 | CREATE USER SA PASSWORD ""
21 | GRANT DBA TO SA
22 | SET WRITE_DELAY 10
23 | SET SCHEMA PUBLIC
24 | INSERT INTO TT VALUES(1,'a')
25 | INSERT INTO TT VALUES(2,'a')
26 | INSERT INTO TT VALUES(3,'a')
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop-freeform/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/sqoop-freeform
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop/db.hsqldb.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | #HSQL Database Engine 1.8.0.5
20 | #Tue Oct 05 11:20:19 SGT 2010
21 | hsqldb.script_format=0
22 | runtime.gc_interval=0
23 | sql.enforce_strict_size=false
24 | hsqldb.cache_size_scale=8
25 | readonly=false
26 | hsqldb.nio_data_file=true
27 | hsqldb.cache_scale=14
28 | version=1.8.0
29 | hsqldb.default_table_type=memory
30 | hsqldb.cache_file_scale=1
31 | hsqldb.log_size=200
32 | modified=no
33 | hsqldb.cache_version=1.7.0
34 | hsqldb.original_version=1.8.0
35 | hsqldb.compatible_version=1.8.0
36 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop/db.hsqldb.script:
--------------------------------------------------------------------------------
1 | --
2 | -- Licensed to the Apache Software Foundation (ASF) under one
3 | -- or more contributor license agreements. See the NOTICE file
4 | -- distributed with this work for additional information
5 | -- regarding copyright ownership. The ASF licenses this file
6 | -- to you under the Apache License, Version 2.0 (the
7 | -- "License"); you may not use this file except in compliance
8 | -- with the License. You may obtain a copy of the License at
9 | --
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | --
12 | -- Unless required by applicable law or agreed to in writing, software
13 | -- distributed under the License is distributed on an "AS IS" BASIS,
14 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | -- See the License for the specific language governing permissions and
16 | -- limitations under the License.
17 | --
18 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA
19 | CREATE MEMORY TABLE TT(I INTEGER NOT NULL PRIMARY KEY,S VARCHAR(256))
20 | CREATE USER SA PASSWORD ""
21 | GRANT DBA TO SA
22 | SET WRITE_DELAY 10
23 | SET SCHEMA PUBLIC
24 | INSERT INTO TT VALUES(1,'a')
25 | INSERT INTO TT VALUES(2,'a')
26 | INSERT INTO TT VALUES(3,'a')
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/sqoop/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.use.system.libpath=true
25 |
26 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/sqoop
27 |
--------------------------------------------------------------------------------
/examples/src/main/apps/ssh/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/ssh
25 |
--------------------------------------------------------------------------------
/examples/src/main/apps/ssh/workflow.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 | localhost
24 | echo
25 | "Hello Oozie!"
26 |
27 |
28 |
29 |
30 |
31 |
32 | SSH action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/examples/src/main/apps/streaming/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 | streamingMapper=/bin/cat
24 | streamingReducer=/usr/bin/wc
25 |
26 | oozie.use.system.libpath=true
27 |
28 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/streaming
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/streaming/job.windows.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8021
21 | queueName=default
22 | examplesRoot=examples
23 | streamingMapper=powershell -command "$input | Write-Host"
24 | streamingReducer=powershell -command "$input | Measure-Object -Word -Line -Character"
25 |
26 | oozie.use.system.libpath=true
27 |
28 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/streaming
29 |
--------------------------------------------------------------------------------
/examples/src/main/apps/subwf/job.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | nameNode=hdfs://localhost:8020
20 | resourceManager=localhost:8032
21 | queueName=default
22 | examplesRoot=examples
23 |
24 | oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/subwf
25 |
26 |
--------------------------------------------------------------------------------
/examples/src/main/data/_SUCCESS:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log01.txt:
--------------------------------------------------------------------------------
1 | [01] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log02.txt:
--------------------------------------------------------------------------------
1 | [02] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log03.txt:
--------------------------------------------------------------------------------
1 | [03] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log04.txt:
--------------------------------------------------------------------------------
1 | [04] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log05.txt:
--------------------------------------------------------------------------------
1 | [05] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/data/log06.txt:
--------------------------------------------------------------------------------
1 | [06] LOG!!!!!!
2 |
--------------------------------------------------------------------------------
/examples/src/main/java/org/apache/oozie/example/DemoJavaMain.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.example;
20 |
21 | public class DemoJavaMain {
22 | public static void main(String[] args) {
23 | System.out.println("Demo Java Main");
24 |
25 | System.out.println("# Arguments: " + args.length);
26 | for (int i = 0; i < args.length; i++) {
27 | System.out.println("Argument[" + i + "]: " + args[i]);
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/examples/src/main/java/org/apache/oozie/example/DemoMapReduceMain.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.example;
20 |
21 | import org.apache.oozie.action.hadoop.MapReduceMain;
22 |
23 | public class DemoMapReduceMain extends MapReduceMain {
24 | }
25 |
--------------------------------------------------------------------------------
/examples/src/main/java/org/apache/oozie/example/DemoPigMain.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.example;
20 |
21 | import org.apache.oozie.action.hadoop.PigMain;
22 |
23 | public class DemoPigMain extends PigMain {
24 | }
25 |
--------------------------------------------------------------------------------
/examples/src/main/java/org/apache/oozie/example/TimeUnit.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.example;
20 |
21 | import java.util.Calendar;
22 |
23 | public enum TimeUnit {
24 | MINUTES(Calendar.MINUTE), HOURS(Calendar.HOUR), DAYS(Calendar.DATE), MONTHS(
25 | Calendar.MONTH);
26 |
27 | private int calendarUnit;
28 |
29 | private TimeUnit(int calendarUnit) {
30 | this.calendarUnit = calendarUnit;
31 | }
32 |
33 | /**
34 | * @return calendar unit
35 | */
36 | public int getCalendarUnit() {
37 | return calendarUnit;
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/examples/src/test/resources/derby-oozie-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | tations under the License. See accompanying LICENSE file.
20 | -->
21 |
22 |
23 | oozie.service.JPAService.jdbc.driver
24 | org.apache.derby.jdbc.EmbeddedDriver
25 |
26 |
27 | oozie.service.JPAService.jdbc.url
28 | jdbc:derby:${oozie.data.dir}/oozie-derby;create=true
29 |
30 |
31 |
--------------------------------------------------------------------------------
/examples/src/test/resources/hsqldb-oozie-site.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 | oozie.service.JPAService.jdbc.driver
23 | org.hsqldb.jdbcDriver
24 |
25 |
26 | oozie.service.JPAService.jdbc.url
27 | jdbc:hsqldb:mem:oozie-db;create=true
28 |
29 |
30 |
--------------------------------------------------------------------------------
/examples/src/test/resources/localoozieexample-end.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # http://www.apache.org/licenses/LICENSE-2.0
20 | #
21 | # Unless required by applicable law or agreed to in writing, software
22 | # distributed under the License is distributed on an "AS IS" BASIS,
23 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 | # See the License for the specific language governing permissions and
25 | # limitations under the License. See accompanying LICENSE file.
26 |
27 | #
28 |
29 | parameter=end
30 |
--------------------------------------------------------------------------------
/examples/src/test/resources/localoozieexample-kill.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # http://www.apache.org/licenses/LICENSE-2.0
20 | #
21 | # Unless required by applicable law or agreed to in writing, software
22 | # distributed under the License is distributed on an "AS IS" BASIS,
23 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 | # See the License for the specific language governing permissions and
25 | # limitations under the License. See accompanying LICENSE file.
26 |
27 | #
28 |
29 | parameter=kill
30 |
--------------------------------------------------------------------------------
/examples/src/test/resources/localoozieexample-wf.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 | ${parameter == 'end'}
23 | ${parameter == 'kill'}
24 |
25 |
26 |
27 |
28 | got 'kill' parameter
29 |
30 |
31 | killed because [${wf:errorMessage(wf:lastErrorNode())}]
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/spotbugs-filter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/action/Builder.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.action;
20 |
21 | /**
22 | * A common interface for builders.
23 | * @param The type of the object that is build using this builder.
24 | */
25 | public interface Builder {
26 | /**
27 | * Builds and returns an object.
28 | * @return The built object.
29 | */
30 | T build();
31 | }
32 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/main/java/org/apache/oozie/fluentjob/api/action/HasAttributes.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.action;
20 |
21 | import org.apache.hadoop.classification.InterfaceAudience;
22 | import org.apache.hadoop.classification.InterfaceStability;
23 |
24 | /**
25 | * Designates whether the implementing POJO has {@link ActionAttributes}.
26 | */
27 | @InterfaceAudience.Private
28 | @InterfaceStability.Unstable
29 | public interface HasAttributes {
30 | ActionAttributes getAttributes();
31 | }
32 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/main/resources/checkstyle-header.txt:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/test/java/org/apache/oozie/fluentjob/api/action/TestDelete.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.action;
20 |
21 | import org.junit.Test;
22 |
23 | import static org.junit.Assert.assertEquals;
24 |
25 | public class TestDelete {
26 | @Test
27 | public void testPathAndSkipTrashAreCorrect() {
28 | final String path = "path/to/location";
29 | final Boolean skipTrash = null;
30 |
31 | final Delete delete = new Delete(path, skipTrash);
32 |
33 | assertEquals(path, delete.getPath());
34 | assertEquals(skipTrash, delete.getSkipTrash());
35 | }
36 | }
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/test/java/org/apache/oozie/fluentjob/api/action/TestMove.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.action;
20 |
21 | import org.junit.Test;
22 |
23 | import static org.junit.Assert.assertEquals;
24 |
25 | public class TestMove {
26 | @Test
27 | public void testSourceAndTargetAreCorrect() {
28 | final String source = "/path/to/source";
29 | final String target = "/path/to/target";
30 |
31 | final Move move = new Move(source, target);
32 |
33 | assertEquals(source, move.getSource());
34 | assertEquals(target, move.getTarget());
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/test/java/org/apache/oozie/fluentjob/api/action/TestTouchz.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.action;
20 |
21 | import org.junit.Test;
22 |
23 | import static org.junit.Assert.assertEquals;
24 |
25 | public class TestTouchz {
26 | @Test
27 | public void testGetPath() {
28 | final String path = "path";
29 | final Touchz touchz = new Touchz(path);
30 |
31 | assertEquals(path, touchz.getPath());
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/fluent-job/fluent-job-api/src/test/java/org/apache/oozie/fluentjob/api/mapping/TestControlNodeMappingBase.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | package org.apache.oozie.fluentjob.api.mapping;
20 |
21 | import org.junit.Rule;
22 | import org.junit.rules.ExpectedException;
23 |
24 | public abstract class TestControlNodeMappingBase {
25 | @Rule
26 | public final ExpectedException expectedException = ExpectedException.none();
27 | }
28 |
--------------------------------------------------------------------------------
/server/spotbugs-filter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/server/src/main/resources/checkstyle-header.txt:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
--------------------------------------------------------------------------------
/sharelib/hive/src/test/resources/HiveMain.txt:
--------------------------------------------------------------------------------
1 | Dummy file to find a directory in the classpath
--------------------------------------------------------------------------------
/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/AMRMClientAsyncFactory.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.action.hadoop;
19 |
20 | import org.apache.hadoop.yarn.client.api.AMRMClient;
21 | import org.apache.hadoop.yarn.client.api.async.AMRMClientAsync;
22 |
23 | public class AMRMClientAsyncFactory {
24 |
25 | public AMRMClientAsync> createAMRMClientAsync(int intervalMs, AMRMCallBackHandler callBackHandler) {
26 | AMRMClient> amRmClient = AMRMClient.createAMRMClient();
27 | AMRMClientAsync> amRmClientAsync = AMRMClientAsync.createAMRMClientAsync(amRmClient, intervalMs, callBackHandler);
28 | return amRmClientAsync;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/ActionType.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 |
20 | package org.apache.oozie.action.hadoop;
21 |
22 | /**
23 | * Enumerator that lists the various kinds of actions supported by Oozie.
24 | */
25 | public enum ActionType {
26 | MAP_REDUCE, PIG, HIVE
27 | }
28 |
--------------------------------------------------------------------------------
/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/LauncherAMCallbackNotifierFactory.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.action.hadoop;
19 |
20 | import org.apache.hadoop.conf.Configuration;
21 |
22 | public class LauncherAMCallbackNotifierFactory {
23 |
24 | public LauncherAMCallbackNotifier createCallbackNotifier(Configuration conf) {
25 | return new LauncherAMCallbackNotifier(conf);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/SystemEnvironment.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.action.hadoop;
19 |
20 | import java.util.Map;
21 |
22 | /**
23 | * Purpose of this class is to avoid static System method calls so unit testing is much easier
24 | */
25 | public class SystemEnvironment {
26 | public String getenv(final String name) {
27 | return System.getenv(name);
28 | }
29 |
30 | public Map getenv() {
31 | return System.getenv();
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/sharelib/pig/src/test/resources/PigMain.txt:
--------------------------------------------------------------------------------
1 | Dummy file to find a directory in the classpath
--------------------------------------------------------------------------------
/sharelib/spark/spotbugs-filter.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sharelib/spark/src/main/resources/py4j-0.9-src.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/sharelib/spark/src/main/resources/py4j-0.9-src.zip
--------------------------------------------------------------------------------
/sharelib/spark/src/main/resources/pyspark.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/sharelib/spark/src/main/resources/pyspark.zip
--------------------------------------------------------------------------------
/sharelib/src/main/resources/sharelib.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # http://www.apache.org/licenses/LICENSE-2.0
20 | #
21 | # Unless required by applicable law or agreed to in writing, software
22 | # distributed under the License is distributed on an "AS IS" BASIS,
23 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 | # See the License for the specific language governing permissions and
25 | # limitations under the License. See accompanying LICENSE file.
26 |
27 | #
28 |
29 | ######################
30 | build.user=${user.name}
31 | build.time=${build.time}
32 | build.version=${pom.version}
33 | vc.revision=${vc.revision}
34 | vc.url=${vc.url}
35 | ######################
36 |
--------------------------------------------------------------------------------
/sharelib/streaming/src/test/java/org/apache/oozie/action/hadoop/OozieActionConfiguratorForTest.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.oozie.action.hadoop;
19 |
20 | import org.apache.hadoop.mapred.JobConf;
21 |
22 | public class OozieActionConfiguratorForTest implements OozieActionConfigurator {
23 |
24 | @Override
25 | public void configure(JobConf actionConf) throws OozieActionConfiguratorException {
26 | if (actionConf.getBoolean("oozie.test.throw.exception", false)) {
27 | throw new OozieActionConfiguratorException("doh");
28 | }
29 |
30 | actionConf.set("A", "a");
31 | actionConf.set("B", "c");
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/assemblies/docs.xml:
--------------------------------------------------------------------------------
1 |
18 |
19 | docs
20 |
21 | zip
22 |
23 | false
24 |
25 |
26 | ${basedir}/target/${project.artifactId}-${project.version}
27 | /
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/main/resources/checkstyle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/invalid/ooziedb_bna.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/invalid/ooziedb_bna.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/invalid/ooziedb_bnj.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/invalid/ooziedb_bnj.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/invalid/ooziedb_sysinfo.json:
--------------------------------------------------------------------------------
1 | ["db.version","3"]
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/valid/ooziedb_bna.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/valid/ooziedb_bna.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/valid/ooziedb_bnj.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/valid/ooziedb_bnj.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/valid/ooziedb_slareg.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/valid/ooziedb_slareg.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/valid/ooziedb_slasum.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/tools/src/test/resources/dumpData/valid/ooziedb_slasum.json
--------------------------------------------------------------------------------
/tools/src/test/resources/dumpData/valid/ooziedb_sysinfo.json:
--------------------------------------------------------------------------------
1 | ["db.version","3"]
2 |
--------------------------------------------------------------------------------
/webapp/src/main/resources/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/oozie/8bdac8be4fa719a99612a83dcba86748486f9408/webapp/src/main/resources/.gitignore
--------------------------------------------------------------------------------