Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes
Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test3/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 + Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.classes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.classes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.classes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.classes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,90 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + + +# The first nodepool is the default nodepool which contains defaults for *all* nodepools. +# There need not be any subpools of global or even nodes. Any node not otherwise assigned +# to a nodepool is given to --default-- when it checks in. + +# Specify 'default = true' in a fair-share class for job default +# Specify 'default = true' in a non-fair-share class for reservation default +# Specify the alternative debug class as 'debug = class'. No default debug, use +# inheritance as shown below + +# TEST: Errors: duplicate nodepool A +Nodepool --default-- { } +Nodepool npA { nodefile npA.nodes ; parent --default-- } +Nodepool npB { nodefile npB.nodes ; parent --default-- } +Nodepool npC { nodefile npC.nodes ; parent npA } +Nodepool npD { nodefile npD.nodes ; parent npC } +Nodepool npA { nodefile npE.nodes ; parent npB } + +# Nnodepools may be defined with additional Nodepool statements. For example here we define +# a nodpool as a subpool of the default: +# Nodepool subpool1 { parent = --default-- } +# Here we define a second 'top-level' nodepool with no parent, consisting of the nodes defined +# in the file toplevel1.nodes. +# Nodepool toplevel1 { nodefile = toplevel1.nodes } + + +# --------------------- Fair share definitions --------------- +# The 'fair-base' class is a template for other fair-share classes. Classes derived +# from here inherit all its properties. fair-base is identified as a template because +# it has the property 'abstract = true' +# + +Class fair-base { + policy = FAIR_SHARE + nodepool = --default-- + priority = 10 + weight = 100 + abstract = true +} + +# These classes are derived from fair-base, and override the 'weight' property. As well +# class 'normal' is designated as the default FAIR_SHARE class +Class normal fair-base { weight = 100; default = true } +Class normal-npA fair-base { weight = 100; nodepool = npA } +Class normal-npB fair-base { weight = 100; nodepool = npB } +Class normal-npC fair-base { weight = 100; nodepool = npC } +Class normal-npD fair-base { weight = 100; nodepool = npD } +Class normal-npE fair-base { weight = 100; nodepool = npE } + +# --------------------- Fixed share definitions --------------- +Class fixed-base { + policy = FIXED_SHARE + nodepool = --default-- + priority = 5 + abstract = true + max-processes = 10 +} + +Class fixed fixed-base { default = true} +Class JobDriver fixed-base { priority = 9 } + +# --------------------- Reserve definitions --------------- +Class reserve-base { + policy = RESERVE + nodepool = --default-- + priority = 1 + abstract = true + max-machines = 10 +} + +Class reserve reserve-base { default = true } Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/ducc.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,27 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn +agentn-13 +agentn-14 +agentn-15 +agentn-16 +agentn-17 +import npA.nodes +import npB.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npA.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npA.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npA.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npA.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-1 +agentn-2 +agentn-3 +agentn-4 +agentn-5 +import npC.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npB.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npB.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npB.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npB.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-20 +agentn-21 +agentn-22 +agentn-23 +agentn-24 +import npE.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test4/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 + Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.classes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.classes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.classes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.classes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,90 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + + +# The first nodepool is the default nodepool which contains defaults for *all* nodepools. +# There need not be any subpools of global or even nodes. Any node not otherwise assigned +# to a nodepool is given to --default-- when it checks in. + +# Specify 'default = true' in a fair-share class for job default +# Specify 'default = true' in a non-fair-share class for reservation default +# Specify the alternative debug class as 'debug = class'. No default debug, use +# inheritance as shown below + +# Test: Missing parent, npC +Nodepool --default-- { } +Nodepool npA { nodefile npA.nodes ; parent --default-- } +Nodepool npB { nodefile npB.nodes ; parent --default-- } +Nodepool npC { nodefile npC.nodes ; parent npBob } +Nodepool npD { nodefile npD.nodes ; parent npC } +Nodepool npE { nodefile npE.nodes ; parent npB } + +# Nnodepools may be defined with additional Nodepool statements. For example here we define +# a nodpool as a subpool of the default: +# Nodepool subpool1 { parent = --default-- } +# Here we define a second 'top-level' nodepool with no parent, consisting of the nodes defined +# in the file toplevel1.nodes. +# Nodepool toplevel1 { nodefile = toplevel1.nodes } + + +# --------------------- Fair share definitions --------------- +# The 'fair-base' class is a template for other fair-share classes. Classes derived +# from here inherit all its properties. fair-base is identified as a template because +# it has the property 'abstract = true' +# + +Class fair-base { + policy = FAIR_SHARE + nodepool = --default-- + priority = 10 + weight = 100 + abstract = true +} + +# These classes are derived from fair-base, and override the 'weight' property. As well +# class 'normal' is designated as the default FAIR_SHARE class +Class normal fair-base { weight = 100; default = true } +Class normal-npA fair-base { weight = 100; nodepool = npA } +Class normal-npB fair-base { weight = 100; nodepool = npB } +Class normal-npC fair-base { weight = 100; nodepool = npC } +Class normal-npD fair-base { weight = 100; nodepool = npD } +Class normal-npE fair-base { weight = 100; nodepool = npE } + +# --------------------- Fixed share definitions --------------- +Class fixed-base { + policy = FIXED_SHARE + nodepool = --default-- + priority = 5 + abstract = true + max-processes = 10 +} + +Class fixed fixed-base { default = true} +Class JobDriver fixed-base { priority = 9 } + +# --------------------- Reserve definitions --------------- +Class reserve-base { + policy = RESERVE + nodepool = --default-- + priority = 1 + abstract = true + max-machines = 10 +} + +Class reserve reserve-base { default = true } Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/ducc.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,27 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn +agentn-13 +agentn-14 +agentn-15 +agentn-16 +agentn-17 +import npA.nodes +import npB.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npA.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npA.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npA.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npA.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-1 +agentn-2 +agentn-3 +agentn-4 +agentn-5 +import npC.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npB.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npB.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npB.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npB.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-20 +agentn-21 +agentn-22 +agentn-23 +agentn-24 +import npE.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test5/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 + Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.classes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.classes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.classes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.classes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,90 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + + +# The first nodepool is the default nodepool which contains defaults for *all* nodepools. +# There need not be any subpools of global or even nodes. Any node not otherwise assigned +# to a nodepool is given to --default-- when it checks in. + +# Specify 'default = true' in a fair-share class for job default +# Specify 'default = true' in a non-fair-share class for reservation default +# Specify the alternative debug class as 'debug = class'. No default debug, use +# inheritance as shown below + +# Test: Top level npC that isn't parented by --default-- +Nodepool --default-- { } +Nodepool npA { nodefile npA.nodes ; parent --default-- } +Nodepool npB { nodefile npB.nodes ; parent --default-- } +Nodepool npC { nodefile npC.nodes } +Nodepool npD { nodefile npD.nodes ; parent npC } +Nodepool npE { nodefile npE.nodes ; parent npB } + +# Nnodepools may be defined with additional Nodepool statements. For example here we define +# a nodpool as a subpool of the default: +# Nodepool subpool1 { parent = --default-- } +# Here we define a second 'top-level' nodepool with no parent, consisting of the nodes defined +# in the file toplevel1.nodes. +# Nodepool toplevel1 { nodefile = toplevel1.nodes } + + +# --------------------- Fair share definitions --------------- +# The 'fair-base' class is a template for other fair-share classes. Classes derived +# from here inherit all its properties. fair-base is identified as a template because +# it has the property 'abstract = true' +# + +Class fair-base { + policy = FAIR_SHARE + nodepool = --default-- + priority = 10 + weight = 100 + abstract = true +} + +# These classes are derived from fair-base, and override the 'weight' property. As well +# class 'normal' is designated as the default FAIR_SHARE class +Class normal fair-base { weight = 100; default = true } +Class normal-npA fair-base { weight = 100; nodepool = npA } +Class normal-npB fair-base { weight = 100; nodepool = npB } +Class normal-npC fair-base { weight = 100; nodepool = npC } +Class normal-npD fair-base { weight = 100; nodepool = npD } +Class normal-npE fair-base { weight = 100; nodepool = npE } + +# --------------------- Fixed share definitions --------------- +Class fixed-base { + policy = FIXED_SHARE + nodepool = --default-- + priority = 5 + abstract = true + max-processes = 10 +} + +Class fixed fixed-base { default = true} +Class JobDriver fixed-base { priority = 9 } + +# --------------------- Reserve definitions --------------- +Class reserve-base { + policy = RESERVE + nodepool = --default-- + priority = 1 + abstract = true + max-machines = 10 +} + +Class reserve reserve-base { default = true } Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/ducc.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,27 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn +agentn-13 +agentn-14 +agentn-15 +agentn-16 +agentn-17 +import npA.nodes +import npB.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npA.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npA.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npA.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npA.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-1 +agentn-2 +agentn-3 +agentn-4 +agentn-5 +import npC.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npB.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npB.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npB.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npB.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-20 +agentn-21 +agentn-22 +agentn-23 +agentn-24 +import npE.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test6/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 + Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.classes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.classes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.classes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.classes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,90 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + + +# The first nodepool is the default nodepool which contains defaults for *all* nodepools. +# There need not be any subpools of global or even nodes. Any node not otherwise assigned +# to a nodepool is given to --default-- when it checks in. + +# Specify 'default = true' in a fair-share class for job default +# Specify 'default = true' in a non-fair-share class for reservation default +# Specify the alternative debug class as 'debug = class'. No default debug, use +# inheritance as shown below + +# Test: NPs ok but class references non-existent np +Nodepool --default-- { } +Nodepool npA { nodefile npA.nodes ; parent --default-- } +Nodepool npB { nodefile npB.nodes ; parent --default-- } +Nodepool npC { nodefile npC.nodes ; parent npA } +Nodepool npD { nodefile npD.nodes ; parent npC } +Nodepool npE { nodefile npE.nodes ; parent npB } + +# Nnodepools may be defined with additional Nodepool statements. For example here we define +# a nodpool as a subpool of the default: +# Nodepool subpool1 { parent = --default-- } +# Here we define a second 'top-level' nodepool with no parent, consisting of the nodes defined +# in the file toplevel1.nodes. +# Nodepool toplevel1 { nodefile = toplevel1.nodes } + + +# --------------------- Fair share definitions --------------- +# The 'fair-base' class is a template for other fair-share classes. Classes derived +# from here inherit all its properties. fair-base is identified as a template because +# it has the property 'abstract = true' +# + +Class fair-base { + policy = FAIR_SHARE + nodepool = --default-- + priority = 10 + weight = 100 + abstract = true +} + +# These classes are derived from fair-base, and override the 'weight' property. As well +# class 'normal' is designated as the default FAIR_SHARE class +Class normal fair-base { weight = 100; default = true } +Class normal-npA fair-base { weight = 100; nodepool = npA } +Class normal-npB fair-base { weight = 100; nodepool = npB } +Class normal-npC fair-base { weight = 100; nodepool = npC } +Class normal-npD fair-base { weight = 100; nodepool = npD } +Class normal-npE fair-base { weight = 100; nodepool = npBob } + +# --------------------- Fixed share definitions --------------- +Class fixed-base { + policy = FIXED_SHARE + nodepool = --default-- + priority = 5 + abstract = true + max-processes = 10 +} + +Class fixed fixed-base { default = true} +Class JobDriver fixed-base { priority = 9 } + +# --------------------- Reserve definitions --------------- +Class reserve-base { + policy = RESERVE + nodepool = --default-- + priority = 1 + abstract = true + max-machines = 10 +} + +Class reserve reserve-base { default = true } Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/ducc.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,27 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn +agentn-13 +agentn-14 +agentn-15 +agentn-16 +agentn-17 +import npA.nodes +import npB.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npA.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npA.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npA.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npA.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-1 +agentn-2 +agentn-3 +agentn-4 +agentn-5 +import npC.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npB.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npB.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npB.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npB.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-20 +agentn-21 +agentn-22 +agentn-23 +agentn-24 +import npE.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test7/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 + Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.classes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.classes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.classes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.classes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,90 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + + +# The first nodepool is the default nodepool which contains defaults for *all* nodepools. +# There need not be any subpools of global or even nodes. Any node not otherwise assigned +# to a nodepool is given to --default-- when it checks in. + +# Specify 'default = true' in a fair-share class for job default +# Specify 'default = true' in a non-fair-share class for reservation default +# Specify the alternative debug class as 'debug = class'. No default debug, use +# inheritance as shown below + +# Test: two nodepools with no associated pool file (equivalent to duplicate pool file ducc.nodes) +Nodepool --default-- { } +Nodepool npA { nodefile npA.nodes ; parent --default-- } +Nodepool npB { parent --default-- } +Nodepool npC { nodefile npC.nodes ; parent npA } +Nodepool npD { nodefile npD.nodes ; parent npC } +Nodepool npE { nodefile npE.nodes ; parent npB } + +# Nnodepools may be defined with additional Nodepool statements. For example here we define +# a nodpool as a subpool of the default: +# Nodepool subpool1 { parent = --default-- } +# Here we define a second 'top-level' nodepool with no parent, consisting of the nodes defined +# in the file toplevel1.nodes. +# Nodepool toplevel1 { nodefile = toplevel1.nodes } + + +# --------------------- Fair share definitions --------------- +# The 'fair-base' class is a template for other fair-share classes. Classes derived +# from here inherit all its properties. fair-base is identified as a template because +# it has the property 'abstract = true' +# + +Class fair-base { + policy = FAIR_SHARE + nodepool = --default-- + priority = 10 + weight = 100 + abstract = true +} + +# These classes are derived from fair-base, and override the 'weight' property. As well +# class 'normal' is designated as the default FAIR_SHARE class +Class normal fair-base { weight = 100; default = true } +Class normal-npA fair-base { weight = 100; nodepool = npA } +Class normal-npB fair-base { weight = 100; nodepool = npB } +Class normal-npC fair-base { weight = 100; nodepool = npC } +Class normal-npD fair-base { weight = 100; nodepool = npD } +Class normal-npE fair-base { weight = 100; nodepool = npE } + +# --------------------- Fixed share definitions --------------- +Class fixed-base { + policy = FIXED_SHARE + nodepool = --default-- + priority = 5 + abstract = true + max-processes = 10 +} + +Class fixed fixed-base { default = true} +Class JobDriver fixed-base { priority = 9 } + +# --------------------- Reserve definitions --------------- +Class reserve-base { + policy = RESERVE + nodepool = --default-- + priority = 1 + abstract = true + max-machines = 10 +} + +Class reserve reserve-base { default = true } Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/ducc.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,27 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn +agentn-13 +agentn-14 +agentn-15 +agentn-16 +agentn-17 +import npA.nodes +import npB.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npA.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npA.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npA.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npA.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-1 +agentn-2 +agentn-3 +agentn-4 +agentn-5 +import npC.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npB.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npB.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npB.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npB.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,25 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-20 +agentn-21 +agentn-22 +agentn-23 +agentn-24 +import npE.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npC.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npC.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npC.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npC.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,24 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-6 +agentn-7 +agentn-8 +agentn-9 +import npD.nodes Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npD.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npD.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npD.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npD.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-10 +agentn-11 +agentn-12 Added: uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npE.nodes URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npE.nodes?rev=1634641&view=auto ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npE.nodes (added) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-common/src/test/resources/node_configuration_data/test8/resources/npE.nodes Mon Oct 27 18:51:51 2014 @@ -0,0 +1,22 @@ +# ----------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ----------------------------------------------------------------------- + +agentn-18 +agentn-19 +
