From 575cbc7108804baff8cc0f6fd0d2d7123a6617e8 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Sun, 23 Oct 2011 23:03:32 +0000 Subject: [PATCH] HBASE-4642 Add Apache License Header git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1187998 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + bin/local-master-backup.sh | 19 ++++++++++++++++ bin/local-regionservers.sh | 19 ++++++++++++++++ bin/set_meta_block_caching.rb | 16 ++++++++++++++ bin/set_meta_memstore_size.rb | 6 +---- pom.xml | 41 +++++++++++++++++++++++++++++++++-- 6 files changed, 95 insertions(+), 7 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 509f5f806c5..ac3b70eb813 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -391,6 +391,7 @@ Release 0.92.0 - Unreleased HBASE-4588 The floating point arithmetic to validate memory allocation configurations need to be done as integers (dhruba) HBASE-4647 RAT finds about 40 files missing licenses + HBASE-4642 Add Apache License Header TESTS HBASE-4450 test for number of blocks read: to serve as baseline for expected diff --git a/bin/local-master-backup.sh b/bin/local-master-backup.sh index f935e56aee0..2c0a4c02c76 100644 --- a/bin/local-master-backup.sh +++ b/bin/local-master-backup.sh @@ -1,4 +1,23 @@ #!/bin/sh +#/** +# * Copyright 2007 The Apache Software Foundation +# * +# * 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 is used for starting multiple masters on the same machine. # run it from hbase-dir/ just like 'bin/hbase' # Supports up to 10 masters (limitation = overlapping ports) diff --git a/bin/local-regionservers.sh b/bin/local-regionservers.sh index 5a497ce3d64..a4d5a1d9321 100644 --- a/bin/local-regionservers.sh +++ b/bin/local-regionservers.sh @@ -1,4 +1,23 @@ #!/bin/sh +#/** +# * Copyright 2007 The Apache Software Foundation +# * +# * 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 is used for starting multiple regionservers on the same machine. # run it from hbase-dir/ just like 'bin/hbase' # Supports up to 100 regionservers (limitation = overlapping ports) diff --git a/bin/set_meta_block_caching.rb b/bin/set_meta_block_caching.rb index 7c96392c271..1ae8a42a2fe 100644 --- a/bin/set_meta_block_caching.rb +++ b/bin/set_meta_block_caching.rb @@ -1,3 +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. + # Set in_memory=true and blockcache=true on catalog tables. # The .META. and -ROOT- tables can be created with caching and # in_memory set to false. You want them set to true so that diff --git a/bin/set_meta_memstore_size.rb b/bin/set_meta_memstore_size.rb index e340a5b46e2..3bb380fbef0 100644 --- a/bin/set_meta_memstore_size.rb +++ b/bin/set_meta_memstore_size.rb @@ -1,6 +1,3 @@ -# -# Copyright 2011 The Apache Software Foundation -# # 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 @@ -16,8 +13,7 @@ # 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 must be used on a live cluster in order to fix .META.'s # MEMSTORE_SIZE back to 64MB instead of the 16KB that was configured # in 0.20 era. This is only required if .META. was created at that time. diff --git a/pom.xml b/pom.xml index bb0ed9c3f82..2df4e9275eb 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,27 @@ + 4.0.0 + src/site/resources/css/freebsd_docbook.css + + maven-surefire-report-plugin @@ -1651,7 +1688,7 @@ org.apache.rat apache-rat-plugin - 0.6 + 0.7 org.apache.maven.plugins