A lot of bigpetstore files are missing correct lincese. Fixed
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/1d17875c Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/1d17875c Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/1d17875c Branch: refs/heads/master Commit: 1d17875c2ede83adc84400aeea5b447b36c5cdcc Parents: e80bf49 Author: Konstantin Boudnik <[email protected]> Authored: Sat Sep 27 18:32:48 2014 -0700 Committer: Konstantin Boudnik <[email protected]> Committed: Sat Sep 27 18:54:24 2014 -0700 ---------------------------------------------------------------------- NOTICE | 5 +++++ bigtop-bigpetstore/README.md | 15 +++++++++++++++ bigtop-bigpetstore/build.gradle | 17 +++++++++++++++++ bigtop-bigpetstore/pom.xml | 16 ++++++++++++++++ bigtop-bigpetstore/settings.gradle | 17 +++++++++++++++++ .../bigpetstore/generator/CustomerGenerator.scala | 17 +++++++++++++++++ .../bigpetstore/generator/util/Product.java | 17 +++++++++++++++++ .../bigpetstore/generator/util/ProductType.java | 17 +++++++++++++++++ .../bigtop/bigpetstore/generator/util/State.java | 17 +++++++++++++++++ .../bigpetstore/recommend/ItemRecommender.scala | 18 ++++++++++++++++++ .../bigtop/bigpetstore/generator/DataForger.scala | 17 +++++++++++++++++ .../generator/TransactionIteratorFactory.scala | 16 +++++++++------- .../bigtop/bigpetstore/ScalaTestSample.scala | 17 +++++++++++++++++ bigtop-deploy/vm/vagrant/Vagrantfile | 14 ++++++++++++++ bigtop-deploy/vm/vagrant/provision.sh | 14 ++++++++++++++ .../src/common/bigtop-utils/provision.groovy | 18 +++++++++++++++++- bigtop-packages/src/common/hadoop/hdfs.1 | 15 +++++++++++++++ bigtop-packages/src/common/hadoop/mapred.1 | 15 +++++++++++++++ bigtop-packages/src/common/hadoop/yarn.1 | 15 +++++++++++++++ .../src/deb/hive/build-hive-install-file.sh | 15 +++++++++++++++ bigtop-tests/smoke-tests/flume/conf/flume.conf | 15 +++++++++++++++ bigtop-tests/smoke-tests/flume/log4j.properties | 15 +++++++++++++++ bigtop-tests/smoke-tests/hive/log4j.properties | 15 +++++++++++++++ bigtop-tests/smoke-tests/mahout/log4j.properties | 15 +++++++++++++++ bigtop-tests/smoke-tests/pig/build.gradle | 18 ++++++++++++++++++ bigtop-tests/smoke-tests/pig/log4j.properties | 15 +++++++++++++++ bigtop-tests/smoke-tests/pig/wordcount.pig | 18 ++++++++++++++++++ bigtop-tests/smoke-tests/sqoop/log4j.properties | 15 +++++++++++++++ pom.xml | 5 +++++ 29 files changed, 435 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE index 393b6d5..55f97f9 100644 --- a/NOTICE +++ b/NOTICE @@ -4,3 +4,8 @@ Copyright 2014, The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). +In addition, this product includes files licensed under: + +* The FreeBSD Documentation License + https://www.freebsd.org/copyright/freebsd-doc-license.html + http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/README.md ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/README.md b/bigtop-bigpetstore/README.md index e58d8f3..c806d57 100644 --- a/bigtop-bigpetstore/README.md +++ b/bigtop-bigpetstore/README.md @@ -1,3 +1,18 @@ +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. + (See accompanying source code for licensing information) BigPetStore http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/build.gradle ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/build.gradle b/bigtop-bigpetstore/build.gradle index d6ec763..6d42e8d 100644 --- a/bigtop-bigpetstore/build.gradle +++ b/bigtop-bigpetstore/build.gradle @@ -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. + */ apply plugin: "java" apply plugin: "eclipse" // TODO add idea module config. http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/pom.xml b/bigtop-bigpetstore/pom.xml index da8c408..06c70ff 100644 --- a/bigtop-bigpetstore/pom.xml +++ b/bigtop-bigpetstore/pom.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + 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. +--> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/settings.gradle ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/settings.gradle b/bigtop-bigpetstore/settings.gradle index 85ba25d..53d74f2 100644 --- a/bigtop-bigpetstore/settings.gradle +++ b/bigtop-bigpetstore/settings.gradle @@ -1 +1,18 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ rootProject.name = 'BigPetStore' http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/CustomerGenerator.scala ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/CustomerGenerator.scala b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/CustomerGenerator.scala index ef4ffb7..0223c8d 100644 --- a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/CustomerGenerator.scala +++ b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/CustomerGenerator.scala @@ -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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.generator import org.apache.hadoop.conf.Configuration http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/Product.java ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/Product.java b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/Product.java index 9ef3d67..54ae8fe 100644 --- a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/Product.java +++ b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/Product.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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.generator.util; import java.math.BigDecimal; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/ProductType.java ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/ProductType.java b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/ProductType.java index f41b604..af9ea7f 100644 --- a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/ProductType.java +++ b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/ProductType.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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.generator.util; import java.util.ArrayList; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/State.java ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/State.java b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/State.java index f2b845a..2c729a7 100644 --- a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/State.java +++ b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/generator/util/State.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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.generator.util; import java.util.Random; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/recommend/ItemRecommender.scala ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/recommend/ItemRecommender.scala b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/recommend/ItemRecommender.scala index 0ec240e..10acd5a 100644 --- a/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/recommend/ItemRecommender.scala +++ b/bigtop-bigpetstore/src/main/java/org/apache/bigtop/bigpetstore/recommend/ItemRecommender.scala @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.recommend import org.apache.mahout.cf.taste.hadoop.als.RecommenderJob http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/DataForger.scala ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/DataForger.scala b/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/DataForger.scala index de9b29b..c5e6513 100644 --- a/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/DataForger.scala +++ b/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/DataForger.scala @@ -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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore.generator import java.util.Random http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/TransactionIteratorFactory.scala ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/TransactionIteratorFactory.scala b/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/TransactionIteratorFactory.scala index 9e70cca..534c606 100644 --- a/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/TransactionIteratorFactory.scala +++ b/bigtop-bigpetstore/src/main/scala/org/apache/bigtop/bigpetstore/generator/TransactionIteratorFactory.scala @@ -1,12 +1,14 @@ /** - * 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 + * 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 + * <p/> * http://www.apache.org/licenses/LICENSE-2.0 - * + * <p/> * 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. http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-bigpetstore/src/test/scala/org/apache/bigtop/bigpetstore/ScalaTestSample.scala ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/src/test/scala/org/apache/bigtop/bigpetstore/ScalaTestSample.scala b/bigtop-bigpetstore/src/test/scala/org/apache/bigtop/bigpetstore/ScalaTestSample.scala index aae0b48..a393b4b 100644 --- a/bigtop-bigpetstore/src/test/scala/org/apache/bigtop/bigpetstore/ScalaTestSample.scala +++ b/bigtop-bigpetstore/src/test/scala/org/apache/bigtop/bigpetstore/ScalaTestSample.scala @@ -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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.bigpetstore import org.junit.Test http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-deploy/vm/vagrant/Vagrantfile ---------------------------------------------------------------------- diff --git a/bigtop-deploy/vm/vagrant/Vagrantfile b/bigtop-deploy/vm/vagrant/Vagrantfile index 892f079..bc28eed 100644 --- a/bigtop-deploy/vm/vagrant/Vagrantfile +++ b/bigtop-deploy/vm/vagrant/Vagrantfile @@ -1,3 +1,17 @@ +# 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. VAGRANTFILE_API_VERSION = "2" Vagrant.configure("2") do |config| vmbox = "vagrant-fedora19B" http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-deploy/vm/vagrant/provision.sh ---------------------------------------------------------------------- diff --git a/bigtop-deploy/vm/vagrant/provision.sh b/bigtop-deploy/vm/vagrant/provision.sh index a263f15..2aca938 100644 --- a/bigtop-deploy/vm/vagrant/provision.sh +++ b/bigtop-deploy/vm/vagrant/provision.sh @@ -1,3 +1,17 @@ +# 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. #Taken from : https://cwiki.apache.org/confluence/display/BIGTOP/How+to+install+Hadoop+distribution+from+Bigtop+0.6.0 #A Vagrant recipe for setting up a hadoop box. http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-packages/src/common/bigtop-utils/provision.groovy ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/bigtop-utils/provision.groovy b/bigtop-packages/src/common/bigtop-utils/provision.groovy index df4cc1c..6d60492 100644 --- a/bigtop-packages/src/common/bigtop-utils/provision.groovy +++ b/bigtop-packages/src/common/bigtop-utils/provision.groovy @@ -1,5 +1,21 @@ #!/usr/bin/env /usr/lib/bigtop-groovy/bin/groovy - +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ import groovy.json.JsonSlurper; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-packages/src/common/hadoop/hdfs.1 ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hadoop/hdfs.1 b/bigtop-packages/src/common/hadoop/hdfs.1 index 2a185f1..f58c01a 100644 --- a/bigtop-packages/src/common/hadoop/hdfs.1 +++ b/bigtop-packages/src/common/hadoop/hdfs.1 @@ -1 +1,16 @@ +.\" 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. + .so man1/hadoop.1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-packages/src/common/hadoop/mapred.1 ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hadoop/mapred.1 b/bigtop-packages/src/common/hadoop/mapred.1 index 2a185f1..f58c01a 100644 --- a/bigtop-packages/src/common/hadoop/mapred.1 +++ b/bigtop-packages/src/common/hadoop/mapred.1 @@ -1 +1,16 @@ +.\" 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. + .so man1/hadoop.1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-packages/src/common/hadoop/yarn.1 ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/common/hadoop/yarn.1 b/bigtop-packages/src/common/hadoop/yarn.1 index 2a185f1..f58c01a 100644 --- a/bigtop-packages/src/common/hadoop/yarn.1 +++ b/bigtop-packages/src/common/hadoop/yarn.1 @@ -1 +1,16 @@ +.\" 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. + .so man1/hadoop.1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-packages/src/deb/hive/build-hive-install-file.sh ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/deb/hive/build-hive-install-file.sh b/bigtop-packages/src/deb/hive/build-hive-install-file.sh index f82d0e4..f5acf33 100644 --- a/bigtop-packages/src/deb/hive/build-hive-install-file.sh +++ b/bigtop-packages/src/deb/hive/build-hive-install-file.sh @@ -1,4 +1,19 @@ #!/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. + # This script is meant to include only libraries in the main hive package not already included in other hive subpackages. # It does this by listing the contents of hive/lib into a temporary file and then it will # lists all libs in in the .install files for other subpackages, adding those lines to a tmp exclude file http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/flume/conf/flume.conf ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/flume/conf/flume.conf b/bigtop-tests/smoke-tests/flume/conf/flume.conf index c06c1e3..6cea49b 100644 --- a/bigtop-tests/smoke-tests/flume/conf/flume.conf +++ b/bigtop-tests/smoke-tests/flume/conf/flume.conf @@ -1,3 +1,18 @@ +# 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. + agent.channels.memory-channel.type = memory agent.channels.memory-channel.capacity = 2000 agent.channels.memory-channel.transactionCapacity = 100 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/flume/log4j.properties ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/flume/log4j.properties b/bigtop-tests/smoke-tests/flume/log4j.properties index 02d115f..db5aacf 100644 --- a/bigtop-tests/smoke-tests/flume/log4j.properties +++ b/bigtop-tests/smoke-tests/flume/log4j.properties @@ -1,3 +1,18 @@ +# 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 root logger level to DEBUG and its only appender to A1. log4j.rootLogger=TRACE, A1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/hive/log4j.properties ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/hive/log4j.properties b/bigtop-tests/smoke-tests/hive/log4j.properties index 02d115f..db5aacf 100644 --- a/bigtop-tests/smoke-tests/hive/log4j.properties +++ b/bigtop-tests/smoke-tests/hive/log4j.properties @@ -1,3 +1,18 @@ +# 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 root logger level to DEBUG and its only appender to A1. log4j.rootLogger=TRACE, A1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/mahout/log4j.properties ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/mahout/log4j.properties b/bigtop-tests/smoke-tests/mahout/log4j.properties index 02d115f..db5aacf 100644 --- a/bigtop-tests/smoke-tests/mahout/log4j.properties +++ b/bigtop-tests/smoke-tests/mahout/log4j.properties @@ -1,3 +1,18 @@ +# 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 root logger level to DEBUG and its only appender to A1. log4j.rootLogger=TRACE, A1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/pig/build.gradle ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/pig/build.gradle b/bigtop-tests/smoke-tests/pig/build.gradle index 9b3d323..0ca73ba 100644 --- a/bigtop-tests/smoke-tests/pig/build.gradle +++ b/bigtop-tests/smoke-tests/pig/build.gradle @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ + apply plugin: 'groovy' repositories { http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/pig/log4j.properties ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/pig/log4j.properties b/bigtop-tests/smoke-tests/pig/log4j.properties index 02d115f..db5aacf 100644 --- a/bigtop-tests/smoke-tests/pig/log4j.properties +++ b/bigtop-tests/smoke-tests/pig/log4j.properties @@ -1,3 +1,18 @@ +# 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 root logger level to DEBUG and its only appender to A1. log4j.rootLogger=TRACE, A1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/pig/wordcount.pig ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/pig/wordcount.pig b/bigtop-tests/smoke-tests/pig/wordcount.pig index 2b03219..44863f5 100644 --- a/bigtop-tests/smoke-tests/pig/wordcount.pig +++ b/bigtop-tests/smoke-tests/pig/wordcount.pig @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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. + */ + A = load 'pigsmoketest/input'; B = foreach A generate flatten(TOKENIZE((chararray)$0)) as word; C = group B by word; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/bigtop-tests/smoke-tests/sqoop/log4j.properties ---------------------------------------------------------------------- diff --git a/bigtop-tests/smoke-tests/sqoop/log4j.properties b/bigtop-tests/smoke-tests/sqoop/log4j.properties index 02d115f..db5aacf 100644 --- a/bigtop-tests/smoke-tests/sqoop/log4j.properties +++ b/bigtop-tests/smoke-tests/sqoop/log4j.properties @@ -1,3 +1,18 @@ +# 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 root logger level to DEBUG and its only appender to A1. log4j.rootLogger=TRACE, A1 http://git-wip-us.apache.org/repos/asf/bigtop/blob/1d17875c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 7352d45..a40cfbf 100644 --- a/pom.xml +++ b/pom.xml @@ -279,6 +279,7 @@ <configuration> <excludes> <exclude>.git/**</exclude> + <exclude>.idea/**</exclude> <exclude>**/.gitignore</exclude> <!-- Test data with rigid structure and/or binary --> <exclude>bigtop-tests/test-artifacts/**/resources/**</exclude> @@ -286,6 +287,7 @@ <exclude>bigtop-packages/src/deb/*/*.dirs</exclude> <exclude>bigtop-packages/src/deb/*/dirs</exclude> <exclude>bigtop-packages/src/deb/*/*.install</exclude> + <exclude>bigtop-packages/src/deb/*/*.include</exclude> <exclude>bigtop-packages/src/deb/*/*.manpages</exclude> <exclude>bigtop-packages/src/deb/*/*.docs</exclude> <exclude>bigtop-packages/src/deb/*/docs</exclude> @@ -297,6 +299,9 @@ <!-- Miscelaneous individual files --> <exclude>src/site/resources/bigtop.rdf</exclude> <exclude>src/site/resources/images/bigtop-logo.ai</exclude> + <!--Excluding a file with FreeBSD Documentation License--> + <exclude>src/site/resources/css/freebsd_docbook.css</exclude> + <exclude>bigtop-packages/src/common/*/*.json</exclude> <exclude>test/MANIFEST.txt</exclude> <exclude> bigtop-deploy/puppet/modules/hadoop/templates/taskcontroller.cfg
