HADOOP-13220. Follow on fixups after upgraded mini-kdc using Kerby. Contributed by Jiajia Li
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/723432b3 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/723432b3 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/723432b3 Branch: refs/heads/HDFS-7240 Commit: 723432b3387fe69e6bf2b56d2ea1a7b1bda16b97 Parents: 76f0800 Author: Kai Zheng <kai.zh...@intel.com> Authored: Thu Jun 9 15:56:12 2016 +0800 Committer: Kai Zheng <kai.zh...@intel.com> Committed: Thu Jun 9 15:56:12 2016 +0800 ---------------------------------------------------------------------- hadoop-common-project/hadoop-auth/pom.xml | 1 - hadoop-common-project/hadoop-common/pom.xml | 1 - .../dev-support/findbugsExcludeFile.xml | 28 ++++++++++++++++++++ hadoop-common-project/hadoop-minikdc/pom.xml | 14 +++++++++- hadoop-project/pom.xml | 6 +++++ 5 files changed, 47 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/723432b3/hadoop-common-project/hadoop-auth/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-auth/pom.xml b/hadoop-common-project/hadoop-auth/pom.xml index 27e4547..93dceb3 100644 --- a/hadoop-common-project/hadoop-auth/pom.xml +++ b/hadoop-common-project/hadoop-auth/pom.xml @@ -134,7 +134,6 @@ <dependency> <groupId>org.apache.kerby</groupId> <artifactId>kerb-simplekdc</artifactId> - <version>1.0.0-RC2</version> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/hadoop/blob/723432b3/hadoop-common-project/hadoop-common/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index 8bf052c..059986f 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -298,7 +298,6 @@ <dependency> <groupId>org.apache.kerby</groupId> <artifactId>kerb-simplekdc</artifactId> - <version>1.0.0-RC2</version> </dependency> </dependencies> http://git-wip-us.apache.org/repos/asf/hadoop/blob/723432b3/hadoop-common-project/hadoop-minikdc/dev-support/findbugsExcludeFile.xml ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-minikdc/dev-support/findbugsExcludeFile.xml b/hadoop-common-project/hadoop-minikdc/dev-support/findbugsExcludeFile.xml new file mode 100644 index 0000000..9a1c4a7 --- /dev/null +++ b/hadoop-common-project/hadoop-minikdc/dev-support/findbugsExcludeFile.xml @@ -0,0 +1,28 @@ +<!-- + 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. +--> +<FindBugsFilter> + <!-- + Caller is not supposed to modify returned values even though there's nothing + stopping them; we do this for performance reasons. + --> + <Match> + <Class name="org.apache.hadoop.minikdc.MiniKdc" /> + <Method name="stop" /> + <Bug pattern="SWL_SLEEP_WITH_LOCK_HELD" /> + </Match> + +</FindBugsFilter> http://git-wip-us.apache.org/repos/asf/hadoop/blob/723432b3/hadoop-common-project/hadoop-minikdc/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-minikdc/pom.xml b/hadoop-common-project/hadoop-minikdc/pom.xml index 2e22ad0..3075cad 100644 --- a/hadoop-common-project/hadoop-minikdc/pom.xml +++ b/hadoop-common-project/hadoop-minikdc/pom.xml @@ -38,7 +38,6 @@ <dependency> <groupId>org.apache.kerby</groupId> <artifactId>kerb-simplekdc</artifactId> - <version>1.0.0-RC2</version> </dependency> <dependency> <groupId>org.slf4j</groupId> @@ -51,4 +50,17 @@ <scope>compile</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <configuration> + <excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml + </excludeFilterFile> + </configuration> + </plugin> + </plugins> + </build> </project> http://git-wip-us.apache.org/repos/asf/hadoop/blob/723432b3/hadoop-project/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index aa47f6c..2b6b162 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -1011,6 +1011,12 @@ <version>1.3.0</version> </dependency> + <dependency> + <groupId>org.apache.kerby</groupId> + <artifactId>kerb-simplekdc</artifactId> + <version>1.0.0-RC2</version> + </dependency> + </dependencies> </dependencyManagement> --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org