[
https://issues.apache.org/jira/browse/HADOOP-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606262#action_12606262
]
Hemanth Yamijala commented on HADOOP-3579:
------------------------------------------
In your example above, queue1 and queue2 are instances of queues, and user1 and
user2 are instances of users, right ? That is, they do not define a new group.
So, I would describe it as:
{code:xml}
<group name="queues">
<instance name="queue1" >
<property><name>timeout<name><value>30000</value></property>
</instance>
<instance name="queue2" >
<property><name>timeout<name><value>30000</value></property>
<group name="users" >
<instance name="stevel" />
<instance name="julio" />
</group>
</instance>
<group>
{code}
Do you see any concern with the above format to represent your example ?
bq. What is the difference between a one-level array of values and a child
group? not much
I don't follow this. By 'array', it is implied they are values of the same
type. So, they are instances. A group on the other hand defines a new
collection of properties. So, they are different, no ? Can you give an example
to clarify ?
> Support property groups in Hadoop configuration
> -----------------------------------------------
>
> Key: HADOOP-3579
> URL: https://issues.apache.org/jira/browse/HADOOP-3579
> Project: Hadoop Core
> Issue Type: Improvement
> Components: conf
> Reporter: Hemanth Yamijala
>
> Hadoop configuration is currently a list of key and value pairs. There are
> some use-cases to support configuring groups of related properties. There
> could also be multiple instances of such groups. The issue is for adding
> support for such configuration.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.