You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2022/10/13 21:25:30 UTC
[accumulo-testing] 02/02: Fix http links and duplicate license headers
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
commit 337db00866b77ab992a9b371ffaf8fc6a2bfd257
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Thu Oct 13 17:23:44 2022 -0400
Fix http links and duplicate license headers
After merging #244, fix remaining plain http links, wherever possible,
fix broken HDFS links, and remove duplicate license headers.
Also, manually update .github/workflows/maven.yaml license header,
because it's normally skipped, because it's in an ignored dotfile
directory
---
.github/workflows/maven.yaml | 2 +-
NOTICE | 2 +-
.../modules/config-files/templates/telegraf.conf.tftpl | 2 +-
.../modules/config-files/templates/zoo.cfg.tftpl | 2 +-
libexec/hdfs-agitator.pl | 4 ++--
src/main/java/org/apache/accumulo/testing/TestEnv.java | 2 +-
.../org/apache/accumulo/testing/merkle/package-info.java | 2 +-
src/main/resources/randomwalk/module.xsd | 16 ----------------
test/scale/agitator.txt | 15 ---------------
test/scale/catastrophic.txt | 15 ---------------
test/scale/deleteLargeTable.txt | 15 ---------------
test/scale/restart.txt | 15 ---------------
test/stress/reader.sh | 2 +-
test/stress/start-readers.sh | 2 +-
test/stress/start-writers.sh | 2 +-
test/stress/stop-readers.sh | 2 +-
test/stress/stop-writers.sh | 2 +-
test/stress/writer.sh | 2 +-
18 files changed, 14 insertions(+), 90 deletions(-)
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 7db021c..978bb74 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -7,7 +7,7 @@
# "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
+# https://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
diff --git a/NOTICE b/NOTICE
index 99111d9..948667e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -2,4 +2,4 @@ Apache Accumulo Testing
Copyright 2011-2022 The Apache Software Foundation
This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
+The Apache Software Foundation (https://www.apache.org/).
diff --git a/contrib/terraform-testing-infrastructure/modules/config-files/templates/telegraf.conf.tftpl b/contrib/terraform-testing-infrastructure/modules/config-files/templates/telegraf.conf.tftpl
index 86da20c..c204ee9 100644
--- a/contrib/terraform-testing-infrastructure/modules/config-files/templates/telegraf.conf.tftpl
+++ b/contrib/terraform-testing-infrastructure/modules/config-files/templates/telegraf.conf.tftpl
@@ -298,7 +298,7 @@
metric_separator = "_"
## Parses tags in the datadog statsd format
- ## http://docs.datadoghq.com/guides/dogstatsd/
+ ## https://docs.datadoghq.com/guides/dogstatsd/
parse_data_dog_tags = true
## Parses datadog extensions to the statsd format
diff --git a/contrib/terraform-testing-infrastructure/modules/config-files/templates/zoo.cfg.tftpl b/contrib/terraform-testing-infrastructure/modules/config-files/templates/zoo.cfg.tftpl
index 6a6e01c..f5366f4 100644
--- a/contrib/terraform-testing-infrastructure/modules/config-files/templates/zoo.cfg.tftpl
+++ b/contrib/terraform-testing-infrastructure/modules/config-files/templates/zoo.cfg.tftpl
@@ -38,7 +38,7 @@ clientPort=2181
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
-# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
+# https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
diff --git a/libexec/hdfs-agitator.pl b/libexec/hdfs-agitator.pl
index 570bb8f..b591d9b 100755
--- a/libexec/hdfs-agitator.pl
+++ b/libexec/hdfs-agitator.pl
@@ -211,10 +211,10 @@ See the Apache Hadoop documentation on configuring HDFS HA
=item B<HA with QJM>
-http://hadoop.apache.org/docs/r2.2.0/hadoop-yarn/hadoop-yarn-site/HDFSHighAvailabilityWithQJM.html#Administrative_commands
+https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html#Administrative_commands
=item B<HA with NFS>
-http://hadoop.apache.org/docs/r2.2.0/hadoop-yarn/hadoop-yarn-site/HDFSHighAvailabilityWithNFS.html#Administrative_commands
+https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithNFS.html#Administrative_commands
=back
diff --git a/src/main/java/org/apache/accumulo/testing/TestEnv.java b/src/main/java/org/apache/accumulo/testing/TestEnv.java
index ca5cfbe..929206c 100644
--- a/src/main/java/org/apache/accumulo/testing/TestEnv.java
+++ b/src/main/java/org/apache/accumulo/testing/TestEnv.java
@@ -138,7 +138,7 @@ public class TestEnv implements AutoCloseable {
hadoopConfig = new Configuration();
hadoopConfig.set("fs.defaultFS", getHdfsRoot());
// Below is required due to bundled jar breaking default config.
- // See http://stackoverflow.com/questions/17265002/hadoop-no-filesystem-for-scheme-file
+ // See https://stackoverflow.com/questions/17265002/hadoop-no-filesystem-for-scheme-file
hadoopConfig.set("fs.hdfs.impl",
org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());
hadoopConfig.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());
diff --git a/src/main/java/org/apache/accumulo/testing/merkle/package-info.java b/src/main/java/org/apache/accumulo/testing/merkle/package-info.java
index 362f82c..d01fa81 100644
--- a/src/main/java/org/apache/accumulo/testing/merkle/package-info.java
+++ b/src/main/java/org/apache/accumulo/testing/merkle/package-info.java
@@ -17,7 +17,7 @@
* under the License.
*/
/**
- * A <a href="http://en.wikipedia.org/wiki/Merkle_tree">Merkle tree</a> is a hash tree and can be
+ * A <a href="https://en.wikipedia.org/wiki/Merkle_tree">Merkle tree</a> is a hash tree and can be
* used to evaluate equality over large files with the ability to ascertain what portions of the
* files differ. Each leaf of the Merkle tree is some hash of a portion of the file, with each leaf
* corresponding to some "range" within the source file. As such, if all leaves are considered as
diff --git a/src/main/resources/randomwalk/module.xsd b/src/main/resources/randomwalk/module.xsd
index 40d36de..983bd50 100644
--- a/src/main/resources/randomwalk/module.xsd
+++ b/src/main/resources/randomwalk/module.xsd
@@ -19,22 +19,6 @@
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-<!--
- 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.
--->
<xsd:element name="module" type="ModuleType"/>
diff --git a/test/scale/agitator.txt b/test/scale/agitator.txt
index 3f92a47..d30488f 100644
--- a/test/scale/agitator.txt
+++ b/test/scale/agitator.txt
@@ -17,21 +17,6 @@
under the License.
====
-# 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.
-
* run continuous ingest, continuous walkers, and agitator for 24 hours
* stop continuous ingest, walkers, and agitator
* run verification map reduce job
diff --git a/test/scale/catastrophic.txt b/test/scale/catastrophic.txt
index f4efa75..99f0c6d 100644
--- a/test/scale/catastrophic.txt
+++ b/test/scale/catastrophic.txt
@@ -17,21 +17,6 @@
under the License.
====
-# 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.
-
* run continuous ingest and continuous walkers for 24 hours
* stop continuous ingest and walkers
* disable idle compactions
diff --git a/test/scale/deleteLargeTable.txt b/test/scale/deleteLargeTable.txt
index 16754a7..595eeb4 100644
--- a/test/scale/deleteLargeTable.txt
+++ b/test/scale/deleteLargeTable.txt
@@ -17,19 +17,4 @@
under the License.
====
-# 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.
-
Create and delete a large table (do this with accumulo.metadata split alot) see #2381
diff --git a/test/scale/restart.txt b/test/scale/restart.txt
index 413f1d1..550c6a3 100644
--- a/test/scale/restart.txt
+++ b/test/scale/restart.txt
@@ -17,21 +17,6 @@
under the License.
====
-# 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.
-
* create a continuous ingest table with 16k tablets
* start continuous ingest
* restart accumulo, but leave the ingesters running
diff --git a/test/stress/reader.sh b/test/stress/reader.sh
index 00a9d9f..e5b79dc 100755
--- a/test/stress/reader.sh
+++ b/test/stress/reader.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=$( cd -P "$( dirname "${SOURCE}" )" && pwd )
diff --git a/test/stress/start-readers.sh b/test/stress/start-readers.sh
index 333c8e5..8405c48 100755
--- a/test/stress/start-readers.sh
+++ b/test/stress/start-readers.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "${SOURCE}" )" && pwd )"
diff --git a/test/stress/start-writers.sh b/test/stress/start-writers.sh
index 6c8c572..d41dd02 100755
--- a/test/stress/start-writers.sh
+++ b/test/stress/start-writers.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=$( cd -P "$( dirname "${SOURCE}" )" && pwd )
diff --git a/test/stress/stop-readers.sh b/test/stress/stop-readers.sh
index f2f9703..fc39cb7 100755
--- a/test/stress/stop-readers.sh
+++ b/test/stress/stop-readers.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=$( cd -P "$( dirname "${SOURCE}" )" && pwd )
diff --git a/test/stress/stop-writers.sh b/test/stress/stop-writers.sh
index 0231050..e7038e4 100755
--- a/test/stress/stop-writers.sh
+++ b/test/stress/stop-writers.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=$( cd -P "$( dirname "${SOURCE}" )" && pwd )
diff --git a/test/stress/writer.sh b/test/stress/writer.sh
index 8db1a4d..8b2f4ce 100755
--- a/test/stress/writer.sh
+++ b/test/stress/writer.sh
@@ -19,7 +19,7 @@
#
# Start: Resolve Script Directory
-# Ref: http://stackoverflow.com/questions/59895/
+# Ref: https://stackoverflow.com/questions/59895/
SOURCE="${BASH_SOURCE[0]}"
while [ -h "${SOURCE}" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=$( cd -P "$( dirname "${SOURCE}" )" && pwd )