This is an automated email from the ASF dual-hosted git repository. abukor pushed a commit to branch branch-1.13.x in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 1e688c7ef21bbec9afe295c485e8dec427295716 Author: Attila Bukor <[email protected]> AuthorDate: Thu Sep 3 23:05:05 2020 +0200 Fix RAT errors RowResultIteratorBenchmark didn't have a license and gutil/atomicops-internals-arm64.h has a 3-clause BSD license that has to be excluded. Change-Id: I95fbc790cde0d325b7bef0c2424b04bef3682303 Reviewed-on: http://gerrit.cloudera.org:8080/16413 Tested-by: Kudu Jenkins Reviewed-by: Grant Henke <[email protected]> --- build-support/release/rat_exclude_files.txt | 1 + .../kudu/client/RowResultIteratorBenchmark.java | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/build-support/release/rat_exclude_files.txt b/build-support/release/rat_exclude_files.txt index ca6c4f3..6d33ef3 100644 --- a/build-support/release/rat_exclude_files.txt +++ b/build-support/release/rat_exclude_files.txt @@ -50,6 +50,7 @@ python/version.txt src/kudu/client/symbols.map src/kudu/gutil/arm_instruction_set_select.h src/kudu/gutil/atomic_refcount.h +src/kudu/gutil/atomicops-internals-arm64.h src/kudu/gutil/atomicops-internals-macosx.h src/kudu/gutil/atomicops-internals-tsan.h src/kudu/gutil/atomicops.h diff --git a/java/kudu-client/src/jmh/java/org/apache/kudu/client/RowResultIteratorBenchmark.java b/java/kudu-client/src/jmh/java/org/apache/kudu/client/RowResultIteratorBenchmark.java index 4ede40c..1c37820 100644 --- a/java/kudu-client/src/jmh/java/org/apache/kudu/client/RowResultIteratorBenchmark.java +++ b/java/kudu-client/src/jmh/java/org/apache/kudu/client/RowResultIteratorBenchmark.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.kudu.client; import java.util.ArrayList; @@ -181,4 +198,4 @@ public class RowResultIteratorBenchmark { System.arraycopy(data, 0, b, offset, data.length); return data.length; } -} \ No newline at end of file +}
