From 8bb23aef171260022f49698ecbe2da89bd18cade Mon Sep 17 00:00:00 2001 From: Jonathan Hsieh Date: Fri, 10 Feb 2012 20:07:36 +0000 Subject: [PATCH] HBASE-5364 Fix source files missing license in 0.92 and trunk (Elliott Clark) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1242906 13f79535-47bb-0310-9956-ffa450edef68 --- bin/hbase-jruby | 18 ++++++++++++++++++ dev-support/findHangingTest.sh | 17 +++++++++++++++++ src/main/python/hbase/merge_conf.py | 15 +++++++++++++++ src/packages/deb/conf-pseudo.control/control | 15 +++++++++++++++ .../hadoop/hbase/TestHTableDescriptor.java | 17 +++++++++++++++++ .../constraint/RuntimeFailConstraint.java | 17 +++++++++++++++++ .../hbase/mapreduce/TestImportExport.java | 17 +++++++++++++++++ 7 files changed, 116 insertions(+) diff --git a/bin/hbase-jruby b/bin/hbase-jruby index e522eb8392c..37bce46f6b3 100644 --- a/bin/hbase-jruby +++ b/bin/hbase-jruby @@ -1,4 +1,22 @@ #!/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. +# */ + `dirname $0`/hbase org.jruby.Main $* diff --git a/dev-support/findHangingTest.sh b/dev-support/findHangingTest.sh index 28c4cd21e57..4518c680ece 100755 --- a/dev-support/findHangingTest.sh +++ b/dev-support/findHangingTest.sh @@ -1,4 +1,21 @@ #!/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. +## # script to find hanging test from Jenkins build output # usage: ./findHangingTest.sh # diff --git a/src/main/python/hbase/merge_conf.py b/src/main/python/hbase/merge_conf.py index c1ae827a878..764d98af288 100755 --- a/src/main/python/hbase/merge_conf.py +++ b/src/main/python/hbase/merge_conf.py @@ -1,4 +1,19 @@ #!/usr/bin/env python +# 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. + ''' Merges Hadoop/HBase configuration files in the given order, so that options specified in later configuration files override those specified in earlier diff --git a/src/packages/deb/conf-pseudo.control/control b/src/packages/deb/conf-pseudo.control/control index 6abe28a3b94..f31c218034d 100644 --- a/src/packages/deb/conf-pseudo.control/control +++ b/src/packages/deb/conf-pseudo.control/control @@ -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. Package: hbase-conf-pseudo Version: @version@ Section: misc diff --git a/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.java b/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.java index d1aeb4aed81..f7c0ccaec0a 100644 --- a/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.java +++ b/src/test/java/org/apache/hadoop/hbase/TestHTableDescriptor.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.hadoop.hbase; import static org.junit.Assert.assertEquals; diff --git a/src/test/java/org/apache/hadoop/hbase/constraint/RuntimeFailConstraint.java b/src/test/java/org/apache/hadoop/hbase/constraint/RuntimeFailConstraint.java index 61643709043..64f6e6d342a 100644 --- a/src/test/java/org/apache/hadoop/hbase/constraint/RuntimeFailConstraint.java +++ b/src/test/java/org/apache/hadoop/hbase/constraint/RuntimeFailConstraint.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.hadoop.hbase.constraint; import org.apache.hadoop.hbase.client.Put; diff --git a/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java b/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java index 3b1d3fc5f28..0029d948461 100644 --- a/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java +++ b/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.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.hadoop.hbase.mapreduce; import static org.junit.Assert.assertTrue;