You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jb...@apache.org on 2016/09/15 16:44:01 UTC

[49/51] [abbrv] [partial] incubator-impala git commit: IMPALA-4110: Clean up issues found by Apache RAT.

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/be/src/experiments/hashing/split-benchmarks/partitioning-throughput-test.cc
----------------------------------------------------------------------
diff --git a/be/src/experiments/hashing/split-benchmarks/partitioning-throughput-test.cc b/be/src/experiments/hashing/split-benchmarks/partitioning-throughput-test.cc
index 9da6f27..5592675 100644
--- a/be/src/experiments/hashing/split-benchmarks/partitioning-throughput-test.cc
+++ b/be/src/experiments/hashing/split-benchmarks/partitioning-throughput-test.cc
@@ -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.
+
 #include <emmintrin.h>
 #include <stdlib.h>
 

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/be/src/experiments/hashing/streaming/cache-hash-test.cc
----------------------------------------------------------------------
diff --git a/be/src/experiments/hashing/streaming/cache-hash-test.cc b/be/src/experiments/hashing/streaming/cache-hash-test.cc
index 2b708ac..63b47e8 100644
--- a/be/src/experiments/hashing/streaming/cache-hash-test.cc
+++ b/be/src/experiments/hashing/streaming/cache-hash-test.cc
@@ -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.
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <iostream>

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/be/src/experiments/hashing/streaming/growing-test.cc
----------------------------------------------------------------------
diff --git a/be/src/experiments/hashing/streaming/growing-test.cc b/be/src/experiments/hashing/streaming/growing-test.cc
index 6c77fc1..0062857 100644
--- a/be/src/experiments/hashing/streaming/growing-test.cc
+++ b/be/src/experiments/hashing/streaming/growing-test.cc
@@ -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.
+
 #include <gtest/gtest.h>
 
 #include "hash-store.h"

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/be/src/testutil/certificates-info.txt
----------------------------------------------------------------------
diff --git a/be/src/testutil/certificates-info.txt b/be/src/testutil/certificates-info.txt
index 43647e9..2e290c5 100644
--- a/be/src/testutil/certificates-info.txt
+++ b/be/src/testutil/certificates-info.txt
@@ -1,4 +1,4 @@
-The following SSL certificates are used in our tests. This lists what each certificate is
+The following SSL certificates are used in Impala tests. This lists what each certificate is
 responsible for and how they were created:
 
   1) wildcardCA.pem & wildcardCA.key:

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/be/src/util/asan.h
----------------------------------------------------------------------
diff --git a/be/src/util/asan.h b/be/src/util/asan.h
index 93141cc..d6beb2b 100644
--- a/be/src/util/asan.h
+++ b/be/src/util/asan.h
@@ -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.
+
 #ifndef UTIL_ASAN_H_
 #define UTIL_ASAN_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/bin/README-RUNNING-BENCHMARKS
----------------------------------------------------------------------
diff --git a/bin/README-RUNNING-BENCHMARKS b/bin/README-RUNNING-BENCHMARKS
index 895bbef..944207e 100644
--- a/bin/README-RUNNING-BENCHMARKS
+++ b/bin/README-RUNNING-BENCHMARKS
@@ -1,5 +1,5 @@
-To run the benchmark tests you first need to load the benchmark data. This can be done
-via the 'load-benchmark-data.sh' script. There are currently 3 different classes of
+To run the Impala benchmark tests you first need to load the benchmark data. This can be
+done via the 'load-benchmark-data.sh' script. There are currently 3 different classes of
 benchmark tests and data sets:
 
    core - All data sets, all use text file format, no compression.

http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/d385ac72/bin/check-rat-report.py
----------------------------------------------------------------------
diff --git a/bin/check-rat-report.py b/bin/check-rat-report.py
index 2181015..06c822d 100755
--- a/bin/check-rat-report.py
+++ b/bin/check-rat-report.py
@@ -28,7 +28,7 @@
 #    pushd "${IMPALA_HOME}"
 #    export SANDBOX=$(mktemp -d) # Just a place to put files for testing
 #    echo "${SANDBOX}"
-#    git archive -o "${SANDBOX}/test-impala.tar.gz" HEAD # Make the tarball to check
+#    git --prefix=foo/ archive -o "${SANDBOX}/test-impala.tar.gz" HEAD # Make tarball
 #    java -jar ~/Downloads/apache-rat-0.12/apache-rat-0.12.jar -x \
 #        "${SANDBOX}/test-impala.tar.gz" >"${SANDBOX}/rat.xml"
 #    bin/check-rat-report.py bin/rat_exclude_files.txt "${SANDBOX}/rat.xml"