This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new a60b488 [build] Fix RAT license checks
a60b488 is described below
commit a60b4881aac6ba364e2c6f17c55fcbca647796bc
Author: Grant Henke <[email protected]>
AuthorDate: Fri Jan 8 10:51:32 2021 -0600
[build] Fix RAT license checks
This patch fixes all existing RAT license issues.
Change-Id: Ibcb95c7d17f7479d2b35f4dba871a32096576fbe
Reviewed-on: http://gerrit.cloudera.org:8080/16935
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Attila Bukor <[email protected]>
Tested-by: Kudu Jenkins
---
build-support/build_source_release.py | 4 ++--
build-support/release/rat_exclude_files.txt | 4 ++++
.../apache/kudu/client/RowResultIteratorBenchmark.java | 17 +++++++++++++++++
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/build-support/build_source_release.py
b/build-support/build_source_release.py
index cea4104..933e768 100755
--- a/build-support/build_source_release.py
+++ b/build-support/build_source_release.py
@@ -166,11 +166,11 @@ def run_rat(tarball_path):
["./build-support/release/check-rat-report.py",
"./build-support/release/rat_exclude_files.txt",
rat_report_dest],
- stderr=subprocess.STDOUT)
+ stderr=subprocess.STDOUT).decode('utf-8')
print(Colors.GREEN + "RAT: LICENSES APPROVED" + Colors.RESET)
except subprocess.CalledProcessError as e:
print(Colors.RED + "RAT: LICENSES NOT APPROVED" + Colors.RESET)
- print(e.output)
+ print(e.output.decode('utf-8'))
raise e
finally:
shutil.rmtree(tmpdir_path)
diff --git a/build-support/release/rat_exclude_files.txt
b/build-support/release/rat_exclude_files.txt
index ca6c4f3..195c293 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
@@ -177,7 +178,10 @@ src/kudu/util/testdata/char_truncate_ascii.txt
src/kudu/util/testdata/char_truncate_utf8.txt
thirdparty/patches/*.patch
www/bootstrap/css/bootstrap-table.min.css
+www/bootstrap/css/bootstrap-theme.min.css
+www/bootstrap/css/bootstrap-theme.min.css.map
www/bootstrap/css/bootstrap.min.css
+www/bootstrap/css/bootstrap.min.css.map
www/bootstrap/js/bootstrap-table.min.js
www/bootstrap/js/bootstrap.min.js
www/d3.v2.js
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..ceb6820 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;