Repository: phoenix Updated Branches: refs/heads/4.x-cdh5.11.2 a50bf3e5f -> 716a38a94
PHOENIX-4462 Fix license issues with rat plugin (Pedro Boado) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/716a38a9 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/716a38a9 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/716a38a9 Branch: refs/heads/4.x-cdh5.11.2 Commit: 716a38a946d984fce42714d19f3b742cf8639e92 Parents: a50bf3e Author: James Taylor <[email protected]> Authored: Sat Dec 16 16:46:59 2017 -0800 Committer: James Taylor <[email protected]> Committed: Sat Dec 16 16:46:59 2017 -0800 ---------------------------------------------------------------------- .../apache/phoenix/end2end/SystemCatalogIT.java | 17 +++++++++++++++++ phoenix-parcel/pom.xml | 9 +++++++++ .../src/parcel/bin/phoenix-performance.py | 20 ++++++++++++++++++++ phoenix-parcel/src/parcel/bin/phoenix-psql.py | 20 ++++++++++++++++++++ .../src/parcel/bin/phoenix-sqlline.py | 20 ++++++++++++++++++++ phoenix-parcel/src/parcel/bin/phoenix-utils.py | 20 ++++++++++++++++++++ .../src/parcel/cloudera/cdh_version.properties | 19 +++++++++++++++++++ phoenix-parcel/src/parcel/meta/phoenix_env.sh | 20 ++++++++++++++++++++ .../org/apache/phoenix/end2end/KdcUtil.java | 17 +++++++++++++++++ 9 files changed, 162 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogIT.java index 8a9bca2..a754cb6 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogIT.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.phoenix.end2end; import static org.junit.Assert.assertEquals; http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-parcel/pom.xml b/phoenix-parcel/pom.xml index 26f3cee..5498c0e 100644 --- a/phoenix-parcel/pom.xml +++ b/phoenix-parcel/pom.xml @@ -108,6 +108,15 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>**/*.json</exclude> + </excludes> + </configuration> + </plugin> </plugins> </build> http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/bin/phoenix-performance.py ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/bin/phoenix-performance.py b/phoenix-parcel/src/parcel/bin/phoenix-performance.py index e51a298..6916d17 100755 --- a/phoenix-parcel/src/parcel/bin/phoenix-performance.py +++ b/phoenix-parcel/src/parcel/bin/phoenix-performance.py @@ -1,4 +1,24 @@ #!/bin/bash +############################################################################ +# +# 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. +# +############################################################################ + # Reference: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in SOURCE="${BASH_SOURCE[0]}" BIN_DIR="$( dirname "$SOURCE" )" http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/bin/phoenix-psql.py ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/bin/phoenix-psql.py b/phoenix-parcel/src/parcel/bin/phoenix-psql.py index 5eed4f4..41b920a 100755 --- a/phoenix-parcel/src/parcel/bin/phoenix-psql.py +++ b/phoenix-parcel/src/parcel/bin/phoenix-psql.py @@ -1,4 +1,24 @@ #!/bin/bash +############################################################################ +# +# 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. +# +############################################################################ + # Reference: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in SOURCE="${BASH_SOURCE[0]}" BIN_DIR="$( dirname "$SOURCE" )" http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/bin/phoenix-sqlline.py ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/bin/phoenix-sqlline.py b/phoenix-parcel/src/parcel/bin/phoenix-sqlline.py index 0c29a4f..db3c32d 100755 --- a/phoenix-parcel/src/parcel/bin/phoenix-sqlline.py +++ b/phoenix-parcel/src/parcel/bin/phoenix-sqlline.py @@ -1,4 +1,24 @@ #!/bin/bash +############################################################################ +# +# 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. +# +############################################################################ + # Reference: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in SOURCE="${BASH_SOURCE[0]}" BIN_DIR="$( dirname "$SOURCE" )" http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/bin/phoenix-utils.py ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/bin/phoenix-utils.py b/phoenix-parcel/src/parcel/bin/phoenix-utils.py index 8b83a87..d9bb692 100755 --- a/phoenix-parcel/src/parcel/bin/phoenix-utils.py +++ b/phoenix-parcel/src/parcel/bin/phoenix-utils.py @@ -1,4 +1,24 @@ #!/bin/bash +############################################################################ +# +# 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. +# +############################################################################ + # Reference: http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in SOURCE="${BASH_SOURCE[0]}" BIN_DIR="$( dirname "$SOURCE" )" http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/cloudera/cdh_version.properties ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/cloudera/cdh_version.properties b/phoenix-parcel/src/parcel/cloudera/cdh_version.properties index e69de29..148bd0f 100644 --- a/phoenix-parcel/src/parcel/cloudera/cdh_version.properties +++ b/phoenix-parcel/src/parcel/cloudera/cdh_version.properties @@ -0,0 +1,19 @@ +############################################################################ +# +# 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. +# +############################################################################ http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-parcel/src/parcel/meta/phoenix_env.sh ---------------------------------------------------------------------- diff --git a/phoenix-parcel/src/parcel/meta/phoenix_env.sh b/phoenix-parcel/src/parcel/meta/phoenix_env.sh index 757e7ff..9287fc9 100755 --- a/phoenix-parcel/src/parcel/meta/phoenix_env.sh +++ b/phoenix-parcel/src/parcel/meta/phoenix_env.sh @@ -1,4 +1,24 @@ #!/bin/bash +############################################################################ +# +# 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. +# +############################################################################ + set -ex http://git-wip-us.apache.org/repos/asf/phoenix/blob/716a38a9/phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/KdcUtil.java ---------------------------------------------------------------------- diff --git a/phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/KdcUtil.java b/phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/KdcUtil.java index 00a457a..e35d1af 100644 --- a/phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/KdcUtil.java +++ b/phoenix-queryserver/src/it/java/org/apache/phoenix/end2end/KdcUtil.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.phoenix.end2end; import org.apache.commons.io.FileUtils;
