This set of Interview Questions & Answers focuses on “Oozie with Hadoop – 2”.
1. ___________ nodes are the mechanism by which a workflow triggers the execution of a computation/processing task.
a) Server
b) Client
c) Mechanism
d) Action
View Answer
Explanation: Oozie provides support for the following types of actions: Hadoop map-reduce, Hadoop file system, Pig, Java and Oozie sub-workflow.
2. Point out the correct statement.
a) Oozie is a Java Web-Application that runs in a Java servlet-container
b) Oozie workflow is a collection of actions arranged in a control dependency DAG
c) hPDL is a fairly compact language
d) All of the mentioned
View Answer
Explanation: Control nodes define the flow of execution and include beginning and end of a workflow (start, end and fail nodes) and mechanisms to control the workflow execution path.
3. Workflow with id __________ should be in SUCCEEDED/KILLED/FAILED.
a) wfId
b) iUD
c) iFD
d) all of the mentioned
View Answer
Explanation: Workflow with id wfId should exist.
4. Nodes in the config _____________ must be completed successfully.
a) oozie.wid.rerun.skip.nodes
b) oozie.wf.rerun.skip.nodes
c) oozie.wf.run.skip.nodes
d) all of the mentioned
View Answer
Explanation: If no configuration is passed, existing coordinator/workflow configuration will be used.
5. Point out the wrong statement.
a) Oozie provides a unique callback URL to the task, the task should invoke the given URL to notify its completion
b) All computation/processing tasks triggered by an mechanism node are remote to Oozie
c) Oozie workflows can be parameterized
d) None of the mentioned
View Answer
Explanation: All computation/processing tasks are executed by Hadoop Map/Reduce framework.
6. _____________ will skip the nodes given in the config with the same exit transition as before.
a) ActionMega handler
b) Action handler
c) Data handler
d) None of the mentioned
View Answer
Explanation: Currently there is no way to remove an existing configuration but only override by passing a different value in the input configuration.
7. ________ nodes that control the start and end of the workflow and workflow job execution path.
a) Action
b) Control
c) Data
d) SubDomain
View Answer
Explanation: Workflow nodes are classified in control flow nodes and action nodes.
8. Node names and transitions must be conform to the following pattern =[a-zA-Z][\-_a-zA-Z0-0]*=, of up to __________ characters long.
a) 10
b) 15
c) 20
d) 25
View Answer
Explanation: Action nodes trigger the execution of a computation/processing task.
9. A workflow definition must have one ________ node.
a) start
b) resume
c) finish
d) none of the mentioned
View Answer
Explanation: The start node is the entry point for a workflow job, it indicates the first workflow node the workflow job must transition to.
10. If one or more actions started by the workflow job are executing when the ________ node is reached, the actions will be killed.
a) kill
b) start
c) end
d) finsih
View Answer
Explanation: A workflow definition may have zero or more kill nodes.
Sanfoundry Global Education & Learning Series – Hadoop.
Here’s the list of Best Books in Hadoop.
- Practice Programming MCQs
- Check Hadoop Books
- Check Programming Books
- Apply for Computer Science Internship