This is an automated email from the ASF dual-hosted git repository. jmark99 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
The following commit(s) were added to refs/heads/main by this push: new 6e2495f Missing license headers #122 (#124) 6e2495f is described below commit 6e2495f117449203086bd2d2bfdbfcc66580aa06 Author: Mark Owens <jmar...@apache.org> AuthorDate: Tue Sep 22 16:02:08 2020 -0400 Missing license headers #122 (#124) * Added missing license headers to 20+ files. * Added the apache-rat plugin to the pom file. * Moved the splits data files in test/bench/lib into a data subdirectory. * Modified TableSplitsBenchmark.py to account for the movement of the splits file into the data directory. * Added exclusions for the data directory and the exlude_classes.txt file. * Update .gitignore to ignore .pyc files. --- .gitignore | 1 + README.md | 17 ++++++++++++++++ docs/bulk-test.md | 17 ++++++++++++++++ docs/gcs.md | 17 ++++++++++++++++ docs/ingest-test.md | 17 ++++++++++++++++ pom.xml | 23 ++++++++++++++++++++++ .../java/org/apache/accumulo/testing/TestEnv.java | 17 ++++++++++++++++ .../accumulo/testing/continuous/ContinuousEnv.java | 17 ++++++++++++++++ .../org/apache/accumulo/testing/gcs/GcsEnv.java | 17 ++++++++++++++++ .../org/apache/accumulo/testing/gcs/ItemState.java | 17 ++++++++++++++++ .../org/apache/accumulo/testing/gcs/Verifier.java | 17 ++++++++++++++++ .../performance/tests/ConditionalMutationsPT.java | 17 ++++++++++++++++ .../performance/tests/DurabilityWriteSpeedPT.java | 17 ++++++++++++++++ .../performance/tests/HighSplitCreationPT.java | 17 ++++++++++++++++ .../performance/tests/ProbabilityFilter.java | 17 ++++++++++++++++ .../testing/performance/tests/RollWALPT.java | 17 ++++++++++++++++ .../performance/tests/SplitBalancingPT.java | 17 ++++++++++++++++ .../tests/TableDeletionDuringSplitPT.java | 17 ++++++++++++++++ .../performance/tests/TimedScanDispatcher.java | 17 ++++++++++++++++ .../testing/performance/tests/YieldingFilter.java | 17 ++++++++++++++++ test/automation/README.md | 17 ++++++++++++++++ test/bench/lib/TableSplitsBenchmark.py | 8 ++++---- test/bench/lib/{ => data}/fastsplits | 0 test/bench/lib/{ => data}/mediumsplits | 0 test/bench/lib/{ => data}/slowsplits | 0 test/bench/lib/{ => data}/splits | 0 test/compat/japi-compliance/README.md | 17 ++++++++++++++++ 27 files changed, 368 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7e54b72..e2955f4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /*.iml /.idea /logs/ +*.pyc diff --git a/README.md b/README.md index 150d1cb..b537b7c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Apache Accumulo Testing Suite [![Build Status][ti]][tl] diff --git a/docs/bulk-test.md b/docs/bulk-test.md index 071cce8..01c4449 100644 --- a/docs/bulk-test.md +++ b/docs/bulk-test.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Running a bulk ingest test Continous ingest supports bulk ingest in addition to live ingest. A map reduce diff --git a/docs/gcs.md b/docs/gcs.md index 6c46943..64ce1b5 100644 --- a/docs/gcs.md +++ b/docs/gcs.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Garbage Collection Simulation (GCS) GCS is a test suite that generates random data in a way that is similar to the diff --git a/docs/ingest-test.md b/docs/ingest-test.md index fcec446..bd60e6e 100644 --- a/docs/ingest-test.md +++ b/docs/ingest-test.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Running a long continuous ingest test Running continuous ingest for long periods on a cluster is a good way to diff --git a/pom.xml b/pom.xml index 48261a9..d68023e 100644 --- a/pom.xml +++ b/pom.xml @@ -126,6 +126,11 @@ <pluginManagement> <plugins> <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.13</version> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> @@ -258,6 +263,24 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes combine.children="append"> + <exclude>test/bench/lib/data/*</exclude> + <exclude>test/compat/japi-compliance/*</exclude> + </excludes> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + <phase>verify</phase> + </execution> + </executions> + </plugin> </plugins> </build> <profiles> diff --git a/src/main/java/org/apache/accumulo/testing/TestEnv.java b/src/main/java/org/apache/accumulo/testing/TestEnv.java index 74c0dd3..d395ad4 100644 --- a/src/main/java/org/apache/accumulo/testing/TestEnv.java +++ b/src/main/java/org/apache/accumulo/testing/TestEnv.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing; import java.lang.management.ManagementFactory; diff --git a/src/main/java/org/apache/accumulo/testing/continuous/ContinuousEnv.java b/src/main/java/org/apache/accumulo/testing/continuous/ContinuousEnv.java index 309379a..4896026 100644 --- a/src/main/java/org/apache/accumulo/testing/continuous/ContinuousEnv.java +++ b/src/main/java/org/apache/accumulo/testing/continuous/ContinuousEnv.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.continuous; import java.util.ArrayList; diff --git a/src/main/java/org/apache/accumulo/testing/gcs/GcsEnv.java b/src/main/java/org/apache/accumulo/testing/gcs/GcsEnv.java index b39727b..c913423 100644 --- a/src/main/java/org/apache/accumulo/testing/gcs/GcsEnv.java +++ b/src/main/java/org/apache/accumulo/testing/gcs/GcsEnv.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.gcs; import org.apache.accumulo.testing.TestEnv; diff --git a/src/main/java/org/apache/accumulo/testing/gcs/ItemState.java b/src/main/java/org/apache/accumulo/testing/gcs/ItemState.java index c418556..469eb47 100644 --- a/src/main/java/org/apache/accumulo/testing/gcs/ItemState.java +++ b/src/main/java/org/apache/accumulo/testing/gcs/ItemState.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.gcs; public enum ItemState { diff --git a/src/main/java/org/apache/accumulo/testing/gcs/Verifier.java b/src/main/java/org/apache/accumulo/testing/gcs/Verifier.java index 285fa2c..1cdda76 100644 --- a/src/main/java/org/apache/accumulo/testing/gcs/Verifier.java +++ b/src/main/java/org/apache/accumulo/testing/gcs/Verifier.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.gcs; import static org.apache.accumulo.testing.gcs.Collector.forEachBatch; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/ConditionalMutationsPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/ConditionalMutationsPT.java index bf86a6a..4db109b 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/ConditionalMutationsPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/ConditionalMutationsPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.text.DecimalFormat; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/DurabilityWriteSpeedPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/DurabilityWriteSpeedPT.java index 99e5bb6..4946db8 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/DurabilityWriteSpeedPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/DurabilityWriteSpeedPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.util.Arrays; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/HighSplitCreationPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/HighSplitCreationPT.java index fe15fba..0678c1f 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/HighSplitCreationPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/HighSplitCreationPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/ProbabilityFilter.java b/src/main/java/org/apache/accumulo/testing/performance/tests/ProbabilityFilter.java index 6924f5b..d1b118b 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/ProbabilityFilter.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/ProbabilityFilter.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.util.Map; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/RollWALPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/RollWALPT.java index bae6cf5..327efc0 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/RollWALPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/RollWALPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.security.SecureRandom; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/SplitBalancingPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/SplitBalancingPT.java index 22a3dbd..c88b241 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/SplitBalancingPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/SplitBalancingPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.util.HashMap; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/TableDeletionDuringSplitPT.java b/src/main/java/org/apache/accumulo/testing/performance/tests/TableDeletionDuringSplitPT.java index cfe943e..303f108 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/TableDeletionDuringSplitPT.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/TableDeletionDuringSplitPT.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.util.ArrayList; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/TimedScanDispatcher.java b/src/main/java/org/apache/accumulo/testing/performance/tests/TimedScanDispatcher.java index 7058bf9..1af466d 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/TimedScanDispatcher.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/TimedScanDispatcher.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import org.apache.accumulo.core.spi.scan.ScanDispatcher; diff --git a/src/main/java/org/apache/accumulo/testing/performance/tests/YieldingFilter.java b/src/main/java/org/apache/accumulo/testing/performance/tests/YieldingFilter.java index 2e920cc..bb58a0a 100644 --- a/src/main/java/org/apache/accumulo/testing/performance/tests/YieldingFilter.java +++ b/src/main/java/org/apache/accumulo/testing/performance/tests/YieldingFilter.java @@ -1,3 +1,20 @@ +/* + * 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. + */ + package org.apache.accumulo.testing.performance.tests; import java.io.IOException; diff --git a/test/automation/README.md b/test/automation/README.md index 39ee098..64f48a7 100644 --- a/test/automation/README.md +++ b/test/automation/README.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Automated Cluster Testing Testing a snapshot version of Accumulo on a cluster using this respository requires many repetive steps. Luckily, there is script that automates this using [Muchos]. This script is found in [test/automation/automateEC2.sh](automateEC2.sh). diff --git a/test/bench/lib/TableSplitsBenchmark.py b/test/bench/lib/TableSplitsBenchmark.py index 2a21fe4..45e4ece 100755 --- a/test/bench/lib/TableSplitsBenchmark.py +++ b/test/bench/lib/TableSplitsBenchmark.py @@ -31,7 +31,7 @@ from lib.options import log class TableSplitsBenchmark(Benchmark): "Creating a table with predefined splits and then deletes it" - splitsfile = 'slowsplits' + splitsfile = 'data/slowsplits' tablename = 'test_splits' def setUp(self): @@ -64,11 +64,11 @@ class TableSplitsBenchmark(Benchmark): def setSpeed(self, speed): dir = os.path.dirname(os.path.realpath(__file__)) if speed == "slow": - splitsfile = 'slowsplits' + splitsfile = 'data/slowsplits' elif speed == "medium": - splitsfile = 'mediumsplits' + splitsfile = 'data/mediumsplits' else: # speed == "fast" - splitsfile = 'fastsplits' + splitsfile = 'data/fastsplits' self.splitsfile = os.path.join( dir, splitsfile) def needsAuthentication(self): diff --git a/test/bench/lib/fastsplits b/test/bench/lib/data/fastsplits similarity index 100% rename from test/bench/lib/fastsplits rename to test/bench/lib/data/fastsplits diff --git a/test/bench/lib/mediumsplits b/test/bench/lib/data/mediumsplits similarity index 100% rename from test/bench/lib/mediumsplits rename to test/bench/lib/data/mediumsplits diff --git a/test/bench/lib/slowsplits b/test/bench/lib/data/slowsplits similarity index 100% rename from test/bench/lib/slowsplits rename to test/bench/lib/data/slowsplits diff --git a/test/bench/lib/splits b/test/bench/lib/data/splits similarity index 100% rename from test/bench/lib/splits rename to test/bench/lib/data/splits diff --git a/test/compat/japi-compliance/README.md b/test/compat/japi-compliance/README.md index 79f5f3a..dfd4314 100644 --- a/test/compat/japi-compliance/README.md +++ b/test/compat/japi-compliance/README.md @@ -1,3 +1,20 @@ +<!-- +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. +--> + # Java API Compliance Checker Instructions There is a tool that can analyze the difference between APIs called