You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2019/02/28 19:34:27 UTC

[hbase-operator-tools] branch master updated: HBASE-21433 Add Apache Yetus integration for hbase-operator-tools repository

This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase-operator-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new a7ea07b  HBASE-21433 Add Apache Yetus integration for hbase-operator-tools repository
a7ea07b is described below

commit a7ea07be4d0d0227bdee3a5267298a81a15946ff
Author: Peter Somogyi <pe...@users.noreply.github.com>
AuthorDate: Thu Feb 28 20:34:23 2019 +0100

    HBASE-21433 Add Apache Yetus integration for hbase-operator-tools repository
---
 .gitignore                                | 23 ++++++++++++++++
 README.md                                 | 18 ++++++++++++
 dev-support/Dockerfile                    | 46 +++++++++++++++++++++++++++++++
 hbase-hbck2/README.md                     | 18 ++++++++++++
 hbase-hbck2/src/main/resources/log4j2.xml | 19 +++++++++++++
 pom.xml                                   | 15 ----------
 6 files changed, 124 insertions(+), 15 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cf0df74
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,23 @@
+/.externalToolBuilders
+.project
+*.settings/
+.DS_Store
+.classpath
+/build
+/.idea/
+/logs
+*target/
+*.orig
+*~
+hbase-*/test
+*.iws
+*.iml
+*.ipr
+patchprocess/
+dependency-reduced-pom.xml
+.flattened-pom.xml
+link_report/
+linklint-*.zip
+linklint/
+.checkstyle
+**/.checkstyle
diff --git a/README.md b/README.md
index 78cdb59..bf593ea 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
+
 # hbase-operator-tools
 
 Host for [Apache HBase&trade;](https://hbase.apache.org)
diff --git a/dev-support/Dockerfile b/dev-support/Dockerfile
new file mode 100644
index 0000000..b62e63d
--- /dev/null
+++ b/dev-support/Dockerfile
@@ -0,0 +1,46 @@
+# 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.
+
+# Dockerfile for hbase-operator-tools pre-commit build.
+# https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build
+
+FROM maven:3.6-jdk-8
+
+# hadolint ignore=DL3008
+RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
+       git \
+       bats \
+       findbugs \
+       rsync \
+       shellcheck \
+       wget && \
+    apt-get clean && \
+    rm -rf /var/lib/apt/lists/*
+
+ENV FINDBUGS_HOME /usr
+
+###
+# Avoid out of memory errors in builds
+###
+ENV MAVEN_OPTS -Xmx3g
+
+CMD ["/bin/bash"]
+
+###
+# Everything past this point is either not needed for testing or breaks Yetus.
+# So tell Yetus not to read the rest of the file:
+# YETUS CUT HERE
+###
diff --git a/hbase-hbck2/README.md b/hbase-hbck2/README.md
index 344bfa2..83f3830 100644
--- a/hbase-hbck2/README.md
+++ b/hbase-hbck2/README.md
@@ -1,3 +1,21 @@
+<!--
+ 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 HBase HBCK2 Tool
 
 HBCK2 is the successor to [hbck](https://hbase.apache.org/book.html#hbck.in.depth), the hbase-1.x fixup tool (A.K.A _hbck1_). Use it in place of _hbck1_ making repairs against hbase-2.x installs.
diff --git a/hbase-hbck2/src/main/resources/log4j2.xml b/hbase-hbck2/src/main/resources/log4j2.xml
index fd44001..5084c97 100644
--- a/hbase-hbck2/src/main/resources/log4j2.xml
+++ b/hbase-hbck2/src/main/resources/log4j2.xml
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+/**
+ * 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.
+ */
+-->
 <Configuration status="INFO">
   <Appenders>
     <Console name="Console" target="SYSTEM_OUT">
diff --git a/pom.xml b/pom.xml
index e975217..9c80b76 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,12 +144,10 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-dependency-plugin</artifactId>
-          <version>${maven.dependency.version}</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
-           <version>${maven.javadoc.version}</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -260,25 +258,12 @@
               <exclude>**/*.svg</exclude>
               <!-- vector graphics -->
               <exclude>**/*.vm</exclude>
-              <!-- apache doxia generated -->
-              <exclude>**/control</exclude>
-              <exclude>**/conffile</exclude>
-              <!-- auto-gen docs -->
-              <exclude>docs/*</exclude>
-              <exclude>logs/*</exclude>
               <!--  exclude source control files -->
               <exclude>.git/**</exclude>
-              <exclude>.svn/**</exclude>
               <exclude>**/.settings/**</exclude>
               <exclude>**/patchprocess/**</exclude>
               <exclude>**/dependency-reduced-pom.xml</exclude>
               <exclude>**/rat.txt</exclude>
-              <!-- exclude the shaded protobuf files -->
-              <exclude>**/src/main/patches/**</exclude>
-              <!--Exclude the unpacked google src-->
-              <exclude>**/src/main/java/com/google/protobuf/**</exclude>
-              <exclude>**/src/main/java/google/**</exclude>
-              <exclude>**/src/main/java/META-INF/**</exclude>
             </excludes>
           </configuration>
         </plugin>