Index: src/test/org/apache/hadoop/hbase/regionserver/TestLruHashMap.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestLruHashMap.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestLruHashMap.java (revision 928075) @@ -1,4 +1,4 @@ -/** +/* * Copyright 2009 The Apache Software Foundation * * Licensed to the Apache Software Foundation (ASF) under one Index: src/test/org/apache/hadoop/hbase/regionserver/TestDeleteCompare.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestDeleteCompare.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestDeleteCompare.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import java.util.ArrayList; Index: src/test/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import java.util.ArrayList; Index: src/test/org/apache/hadoop/hbase/regionserver/TestWildcardColumnTracker.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestWildcardColumnTracker.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestWildcardColumnTracker.java (revision 928075) @@ -1,3 +1,23 @@ +/** + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import java.util.ArrayList; Index: src/test/org/apache/hadoop/hbase/regionserver/TestKeyValueHeap.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestKeyValueHeap.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestKeyValueHeap.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import java.util.ArrayList; Index: src/test/org/apache/hadoop/hbase/regionserver/TestScanWildcardColumnTracker.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestScanWildcardColumnTracker.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestScanWildcardColumnTracker.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import java.util.ArrayList; Index: src/test/org/apache/hadoop/hbase/regionserver/TestStore.java =================================================================== --- src/test/org/apache/hadoop/hbase/regionserver/TestStore.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/regionserver/TestStore.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.regionserver; import junit.framework.TestCase; Index: src/test/org/apache/hadoop/hbase/filter/TestFilter.java =================================================================== --- src/test/org/apache/hadoop/hbase/filter/TestFilter.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/filter/TestFilter.java (revision 928075) @@ -1,3 +1,23 @@ +/** + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.filter; import java.io.IOException; Index: src/test/org/apache/hadoop/hbase/master/TestMinimumServerCount.java =================================================================== --- src/test/org/apache/hadoop/hbase/master/TestMinimumServerCount.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/master/TestMinimumServerCount.java (revision 928075) @@ -1,3 +1,23 @@ +/** + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.master; import java.io.IOException; Index: src/test/org/apache/hadoop/hbase/master/TestRegionManager.java =================================================================== --- src/test/org/apache/hadoop/hbase/master/TestRegionManager.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/master/TestRegionManager.java (revision 928075) @@ -1,3 +1,23 @@ +/** + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.master; import java.io.IOException; Index: src/test/org/apache/hadoop/hbase/io/TestHeapSize.java =================================================================== --- src/test/org/apache/hadoop/hbase/io/TestHeapSize.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/io/TestHeapSize.java (revision 928075) @@ -1,3 +1,22 @@ +/** + * Copyright 2009 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. + */ package org.apache.hadoop.hbase.io; import java.io.IOException; Index: src/test/org/apache/hadoop/hbase/client/TestHBaseAdmin.java =================================================================== --- src/test/org/apache/hadoop/hbase/client/TestHBaseAdmin.java (revision 928074) +++ src/test/org/apache/hadoop/hbase/client/TestHBaseAdmin.java (revision 928075) @@ -1,3 +1,23 @@ +/** + * 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. + */ + package org.apache.hadoop.hbase.client; import java.io.IOException; Index: src/contrib/transactional/src/java/org/apache/hadoop/hbase/ipc/IndexedRegionInterface.java =================================================================== --- src/contrib/transactional/src/java/org/apache/hadoop/hbase/ipc/IndexedRegionInterface.java (revision 928074) +++ src/contrib/transactional/src/java/org/apache/hadoop/hbase/ipc/IndexedRegionInterface.java (revision 928075) @@ -1,8 +1,23 @@ -/* - * $Id$ - * Created on Sep 10, 2008 - * +/** + * Copyright 2009 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. */ + package org.apache.hadoop.hbase.ipc; /** Interface for the indexed region server. */ Index: src/contrib/ec2/bin/functions.sh =================================================================== --- src/contrib/ec2/bin/functions.sh (revision 928074) +++ src/contrib/ec2/bin/functions.sh (revision 928075) @@ -1,3 +1,23 @@ +# +# Copyright 2010 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. +# + function getCredentialSetting { name=$1 eval "val=\$$name" Index: src/contrib/ec2/bin/hbase-ec2-init-remote.sh =================================================================== --- src/contrib/ec2/bin/hbase-ec2-init-remote.sh (revision 928074) +++ src/contrib/ec2/bin/hbase-ec2-init-remote.sh (revision 928075) @@ -1,5 +1,25 @@ #!/usr/bin/env bash +# +# Copyright 2010 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. +# + # Script that is run on each EC2 instance on boot. It is passed in the EC2 user # data, so should not exceed 16K in size. Index: src/contrib/ec2/bin/hbase-ec2-init-zookeeper-remote.sh =================================================================== --- src/contrib/ec2/bin/hbase-ec2-init-zookeeper-remote.sh (revision 928074) +++ src/contrib/ec2/bin/hbase-ec2-init-zookeeper-remote.sh (revision 928075) @@ -1,12 +1,28 @@ #!/usr/bin/env bash -# ZOOKEEPER_QUORUM set in the environment by the caller +# +# Copyright 2010 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. +# + HBASE_HOME=`ls -d /usr/local/hbase-*` -############################################################################### # HBase configuration (Zookeeper) -############################################################################### - cat > $HBASE_HOME/conf/hbase-site.xml < @@ -30,9 +46,7 @@ EOF -############################################################################### # Start services -############################################################################### # up open file descriptor limits echo "root soft nofile 32768" >> /etc/security/limits.conf Index: src/contrib/ec2/build.xml =================================================================== --- src/contrib/ec2/build.xml (revision 928074) +++ src/contrib/ec2/build.xml (revision 928075) @@ -1,3 +1,20 @@ + + Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/User.java =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/User.java (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/User.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.stargate; import java.security.MessageDigest; Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/model/ModelSchema.xsd =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/model/ModelSchema.xsd (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/model/ModelSchema.xsd (revision 928075) @@ -1,3 +1,23 @@ + + Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HBCAuthenticator.java =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HBCAuthenticator.java (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HBCAuthenticator.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.stargate.auth; import org.apache.hadoop.hbase.HBaseConfiguration; Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/Authenticator.java =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/Authenticator.java (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/Authenticator.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.stargate.auth; import java.io.IOException; Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HTableAuthenticator.java =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HTableAuthenticator.java (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/HTableAuthenticator.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.stargate.auth; import java.io.IOException; Index: src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/JDBCAuthenticator.java =================================================================== --- src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/JDBCAuthenticator.java (revision 928074) +++ src/contrib/stargate/src/java/org/apache/hadoop/hbase/stargate/auth/JDBCAuthenticator.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2010 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. + */ + package org.apache.hadoop.hbase.stargate.auth; import java.io.IOException; Index: src/contrib/stargate/build.xml =================================================================== --- src/contrib/stargate/build.xml (revision 928074) +++ src/contrib/stargate/build.xml (revision 928075) @@ -1,3 +1,20 @@ + + Index: src/java/org/apache/hadoop/hbase/migration/nineteen/io/Reference.java =================================================================== --- src/java/org/apache/hadoop/hbase/migration/nineteen/io/Reference.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/migration/nineteen/io/Reference.java (revision 928075) @@ -1,6 +1,23 @@ -/** - * +/* + * Copyright 2009 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. */ + package org.apache.hadoop.hbase.migration.nineteen.io; import java.io.DataInput; Index: src/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java =================================================================== --- src/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.zookeeper; import java.util.Properties; Index: src/java/org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java =================================================================== --- src/java/org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.filter; import java.io.DataInput; Index: src/java/org/apache/hadoop/hbase/io/hfile/Compression.java =================================================================== --- src/java/org/apache/hadoop/hbase/io/hfile/Compression.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/io/hfile/Compression.java (revision 928075) @@ -3,7 +3,8 @@ * 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. + * "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 @@ -11,8 +12,8 @@ * 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. + * License for the specific language governing permissions and limitations + * under the License. */ package org.apache.hadoop.hbase.io.hfile; Index: src/java/org/apache/hadoop/hbase/io/hfile/SimpleBlockCache.java =================================================================== --- src/java/org/apache/hadoop/hbase/io/hfile/SimpleBlockCache.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/io/hfile/SimpleBlockCache.java (revision 928075) @@ -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 + * + * 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.io.hfile; import java.lang.ref.ReferenceQueue; Index: src/java/org/apache/hadoop/hbase/io/Reference.java =================================================================== --- src/java/org/apache/hadoop/hbase/io/Reference.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/io/Reference.java (revision 928075) @@ -1,6 +1,23 @@ -/** - * +/* + * Copyright 2009 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. */ + package org.apache.hadoop.hbase.io; import java.io.DataInput; Index: src/java/org/apache/hadoop/hbase/util/Pair.java =================================================================== --- src/java/org/apache/hadoop/hbase/util/Pair.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/util/Pair.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.util; import java.io.Serializable; Index: src/java/org/apache/hadoop/hbase/client/MetaScanner.java =================================================================== --- src/java/org/apache/hadoop/hbase/client/MetaScanner.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/client/MetaScanner.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.client; import java.io.IOException; Index: src/java/org/apache/hadoop/hbase/client/UnmodifyableHColumnDescriptor.java =================================================================== --- src/java/org/apache/hadoop/hbase/client/UnmodifyableHColumnDescriptor.java (revision 928074) +++ src/java/org/apache/hadoop/hbase/client/UnmodifyableHColumnDescriptor.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.client; import org.apache.hadoop.hbase.HColumnDescriptor; Index: src/examples/mapred/org/apache/hadoop/hbase/mapred/SampleUploader.java =================================================================== --- src/examples/mapred/org/apache/hadoop/hbase/mapred/SampleUploader.java (revision 928074) +++ src/examples/mapred/org/apache/hadoop/hbase/mapred/SampleUploader.java (revision 928075) @@ -1,3 +1,23 @@ +/* + * Copyright 2009 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. + */ + package org.apache.hadoop.hbase.mapred; import java.io.IOException; Index: bin/rename_table.rb =================================================================== --- bin/rename_table.rb (revision 928074) +++ bin/rename_table.rb (revision 928075) @@ -1,3 +1,22 @@ +# +# Copyright 2009 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. +# # Script that renames table in hbase. As written, will not work for rare # case where there is more than one region in .META. table (You'd have to # have a really massive hbase install). Does the update of the hbase Index: bin/add_table.rb =================================================================== --- bin/add_table.rb (revision 928074) +++ bin/add_table.rb (revision 928075) @@ -1,3 +1,22 @@ +# +# Copyright 2009 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. +# # Script adds a table back to a running hbase. # Currently only works on a copied aside table. # You cannot parse arbitrary table name. Index: bin/copy_table.rb =================================================================== --- bin/copy_table.rb (revision 928074) +++ bin/copy_table.rb (revision 928075) @@ -1,3 +1,22 @@ +# +# Copyright 2009 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. +# # Script that copies table in hbase. As written, will not work for rare # case where there is more than one region in .META. table. Does the # update of the hbase .META. and copies the directories in filesystem. Index: bin/HBase.rb =================================================================== --- bin/HBase.rb (revision 928074) +++ bin/HBase.rb (revision 928075) @@ -1,3 +1,23 @@ +# +# Copyright 2009 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. +# + # HBase ruby classes. # Has wrapper classes for org.apache.hadoop.hbase.client.HBaseAdmin # and for org.apache.hadoop.hbase.client.HTable. Classes take Index: bin/Formatter.rb =================================================================== --- bin/Formatter.rb (revision 928074) +++ bin/Formatter.rb (revision 928075) @@ -1,3 +1,23 @@ +# +# Copyright 2009 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. +# + # Results formatter module Formatter # Base abstract class for results formatting. Index: bin/hirb.rb =================================================================== --- bin/hirb.rb (revision 928074) +++ bin/hirb.rb (revision 928075) @@ -1,3 +1,23 @@ +# +# Copyright 2009 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. +# + # File passed to org.jruby.Main by bin/hbase. Pollutes jirb with hbase imports # and hbase commands and then loads jirb. Outputs a banner that tells user # where to find help, shell version, and loads up a custom hirb. Index: bin/loadtable.rb =================================================================== --- bin/loadtable.rb (revision 928074) +++ bin/loadtable.rb (revision 928075) @@ -1,3 +1,22 @@ +# +# Copyright 2009 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. +# # Script that takes over from org.apache.hadoop.hbase.mapreduce.HFileOutputFormat. # Pass it output directory of HFileOutputFormat. It will read the passed files, # move them into place and update the catalog table appropriately. Warning: