[
https://issues.apache.org/jira/browse/OOZIE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900959#comment-13900959
]
Robert Kanter commented on OOZIE-1695:
--------------------------------------
The backwards compatibility comes from the xsd versioning, so we can make the
next versions of the schemas use something different. However, Oozie supports
both Hadoop 1 and 2, so we'd want to make it accept either {{<job-tracker>}} or
{{<resource-manager>}}. But for the {{<name-node>}} element, I'm not really
sure what we could do. I suppose we could replace it with {{<file-system>}}
but I'm not sure if that's maybe more confusing for HDFS users...
In the xsd, we could make it accept either {{<job-tracker>}} or
{{<resource-manager>}} (but not both) by doing something like this:
{code:xml}
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="job-tracker" type="xs:string" minOccurs="0"
maxOccurs="1"/>
<xs:element name="resource-manager" type="xs:string" minOccurs="0"
maxOccurs="1"/>
</xs:choice>
{code}
We'd have to make some changes in the internal Oozie java code to parse out
either of these, but it shouldn't be too hard.
> Generic HCFS supported integration path
> ----------------------------------------
>
> Key: OOZIE-1695
> URL: https://issues.apache.org/jira/browse/OOZIE-1695
> Project: Oozie
> Issue Type: Task
> Reporter: jay vyas
>
> The dizzying OOZIE-426 JIRA indicates that at the moment it is not clear
> wether oozie does, or doesn't, support any HCFS file system.
> - the good news is, after some digging : It does !
> So we have two tasks, mostly documentation i guess, but possibly some
> modifications in code/comments would be nice as well to clarify things
> further for developers:
> - So now we need to all agree on and document the "right" way to add file
> system plugins into Oozie. Hopefully we can do so using semantics which is
> not dependant on HDFS/S3 to avoid confusion.
> - In addition, Some clarity on why and how the "nameNode" parameter is
> enforced as part of the XML schema for java tasks should also be clarified.
> Clearly that is a bug since oozie supports non-HDFS deployments.
> Specifically, it appears that in the
> http://oozie.apache.org/docs/3.2.0-incubating/WorkflowFunctionalSpec.html
> "The java action has to be configured with the job-tracker, name-node, main
> Java class, JVM options and arguments.".....
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)