http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5dcf139e/asterixdb/asterix-app/src/test/resources/cc-multipart.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/cc-multipart.conf b/asterixdb/asterix-app/src/test/resources/cc-multipart.conf new file mode 100644 index 0000000..d9498da --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/cc-multipart.conf @@ -0,0 +1,56 @@ +; 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. + +[nc/asterix_nc1] +txn.log.dir=target/tmp/asterix_nc1/txnlog +core.dump.dir=target/tmp/asterix_nc1/coredump +iodevices=target/tmp/asterix_nc1/iodevice1,../asterix-server/target/tmp/asterix_nc1/iodevice2 +nc.api.port=19004 +#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5006 + +[nc/asterix_nc2] +ncservice.port=9091 +txn.log.dir=target/tmp/asterix_nc2/txnlog +core.dump.dir=target/tmp/asterix_nc2/coredump +iodevices=target/tmp/asterix_nc2/iodevice1,../asterix-server/target/tmp/asterix_nc2/iodevice2 +nc.api.port=19005 +#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5007 + +[nc] +address=127.0.0.1 +command=asterixnc +app.class=org.apache.asterix.hyracks.bootstrap.NCApplication +jvm.args=-Xmx4096m -Dnode.Resolver="org.apache.asterix.external.util.IdentitiyResolverFactory" +storage.subdir=test_storage +storage.buffercache.pagesize=32KB +storage.buffercache.size=48MB +storage.memorycomponent.numpages=32 +storage.memorycomponent.globalbudget=512MB + +[cc] +address = 127.0.0.1 +app.class=org.apache.asterix.hyracks.bootstrap.CCApplication +heartbeat.period=2000 + +[common] +log.level = INFO +compiler.framesize=32KB +compiler.sortmemory=320KB +compiler.groupmemory=160KB +compiler.joinmemory=256KB +messaging.frame.size=4096 +messaging.frame.count=512
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5dcf139e/asterixdb/asterix-app/src/test/resources/cc.conf ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/cc.conf b/asterixdb/asterix-app/src/test/resources/cc.conf new file mode 100644 index 0000000..bdd3e74 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/cc.conf @@ -0,0 +1,56 @@ +; 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. + +[nc/asterix_nc1] +txn.log.dir=target/tmp/asterix_nc1/txnlog +core.dump.dir=target/tmp/asterix_nc1/coredump +iodevices=target/tmp/asterix_nc1/iodevice1,../asterix-server/target/tmp/asterix_nc1/iodevice2 +nc.api.port=19004 +#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5006 + +[nc/asterix_nc2] +ncservice.port=9091 +txn.log.dir=target/tmp/asterix_nc2/txnlog +core.dump.dir=target/tmp/asterix_nc2/coredump +iodevices=target/tmp/asterix_nc2/iodevice1,../asterix-server/target/tmp/asterix_nc2/iodevice2 +nc.api.port=19005 +#jvm.args=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5007 + +[nc] +address=127.0.0.1 +command=asterixnc +app.class=org.apache.asterix.hyracks.bootstrap.NCApplication +jvm.args=-Xmx4096m -Dnode.Resolver="org.apache.asterix.external.util.IdentitiyResolverFactory" +storage.subdir=test_storage +storage.buffercache.pagesize=32KB +storage.buffercache.size=48MB +storage.memorycomponent.numpages=16 +storage.memorycomponent.globalbudget=512MB + +[cc] +address = 127.0.0.1 +app.class=org.apache.asterix.hyracks.bootstrap.CCApplication +heartbeat.period=2000 + +[common] +log.level = INFO +compiler.framesize=32KB +compiler.sortmemory=320KB +compiler.groupmemory=160KB +compiler.joinmemory=256KB +messaging.frame.size=4096 +messaging.frame.count=512 http://git-wip-us.apache.org/repos/asf/asterixdb/blob/5dcf139e/asterixdb/asterix-app/src/test/resources/multi-partition-test-configuration.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/multi-partition-test-configuration.xml b/asterixdb/asterix-app/src/test/resources/multi-partition-test-configuration.xml deleted file mode 100644 index aaeb244..0000000 --- a/asterixdb/asterix-app/src/test/resources/multi-partition-test-configuration.xml +++ /dev/null @@ -1,112 +0,0 @@ -<!-- - ! 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. - !--> -<asterixConfiguration xmlns="asterixconf"> - <metadataNode>asterix_nc1</metadataNode> - <store> - <ncId>asterix_nc1</ncId> - <storeDirs>iodevice0,iodevice1</storeDirs> - </store> - <store> - <ncId>asterix_nc2</ncId> - <storeDirs>iodevice0,iodevice1</storeDirs> - </store> - <transactionLogDir> - <ncId>asterix_nc1</ncId> - <txnLogDirPath>target/txnLogDir/asterix_nc1</txnLogDirPath> - </transactionLogDir> - <transactionLogDir> - <ncId>asterix_nc2</ncId> - <txnLogDirPath>target/txnLogDir/asterix_nc2</txnLogDirPath> - </transactionLogDir> - - <property> - <name>max.wait.active.cluster</name> - <value>60</value> - <description>Maximum wait (in seconds) for a cluster to be ACTIVE (all - nodes are available) - before a submitted query/statement can be - executed. (Default = 60 seconds) - </description> - </property> - - <property> - <name>compiler.framesize</name> - <value>32KB</value> - </property> - <property> - <name>compiler.sortmemory</name> - <value>320KB</value> - </property> - <property> - <name>compiler.groupmemory</name> - <value>160KB</value> - </property> - <property> - <name>compiler.joinmemory</name> - <value>256KB</value> - </property> - <property> - <name>storage.buffercache.pagesize</name> - <value>32KB</value> - <description>The page size in bytes for pages in the buffer cache. - (Default = "128KB") - </description> - </property> - <property> - <name>storage.buffercache.size</name> - <value>48MB</value> - <description>The size of memory allocated to the disk buffer cache. - The value should be a multiple of the buffer cache page size. - </description> - </property> - <property> - <name>storage.memorycomponent.numpages</name> - <value>32</value> - <description>The number of pages to allocate for a memory component. - This budget is shared by all the memory components of the primary - index and all its secondary indexes across all I/O devices on a node. - Note: in-memory components usually has fill factor of 75% since - the pages are 75% full and the remaining 25% is un-utilized. - </description> - </property> - <property> - <name>storage.memorycomponent.globalbudget</name> - <value>512MB</value> - <description>The size of memory allocated to the memory components. - The value should be a multiple of the memory component page size. - </description> - </property> - <property> - <name>messaging.frame.size</name> - <value>4096</value> - <description>The frame size to be used for NC to NC messaging. (Default = 4kb) - </description> - </property> - <property> - <name>messaging.frame.count</name> - <value>512</value> - <description>Number of reusable frames for NC to NC messaging. (Default = 512) - </description> - </property> - <property> - <name>log.level</name> - <value>INFO</value> - <description>foo</description> - </property> -</asterixConfiguration>
