From 018789215127cf65bae32a510e0e87c1501aa185 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 9 May 2017 05:37:13 -0500 Subject: [PATCH] HADOOP-14374. License error in GridmixTestUtils.java. Contributed by lixinglong. (cherry picked from commit c60164fb60d3d8afb0fb8410936ccc231c4593f9) (cherry picked from commit 753954f7beb3a1ca4a60cc3f59c809aed3839dd2) --- .../hadoop-common/CHANGES.txt | 3 ++ .../mapred/gridmix/GridmixTestUtils.java | 31 ++++++++++--------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 9157f85bbdc..7929ebdbcec 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -132,6 +132,9 @@ Release 2.7.4 - UNRELEASED HADOOP-14371. License error in TestLoadBalancingKMSClientProvider.java. (hu xiaodong via aajisaka) + HADOOP-14374. License error in GridmixTestUtils.java. + (lixinglong via aajisaka) + Release 2.7.3 - 2016-08-25 INCOMPATIBLE CHANGES diff --git a/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/GridmixTestUtils.java b/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/GridmixTestUtils.java index 50865b53da9..4342120670e 100644 --- a/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/GridmixTestUtils.java +++ b/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/GridmixTestUtils.java @@ -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. + */ package org.apache.hadoop.mapred.gridmix; import org.apache.commons.logging.Log; @@ -15,20 +31,7 @@ import org.apache.hadoop.conf.Configuration; import java.io.IOException; /** - * 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 a test class. */ public class GridmixTestUtils { private static final Log LOG = LogFactory.getLog(GridmixTestUtils.class);