YARN-6584. Correct license headers in hadoop-common, hdfs, yarn and mapreduce. Contributed by Yeliang Cang.
This commit is contained in:
parent
c87683d5fd
commit
8ec366b0f8
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.security.authentication.util;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,9 @@ package org.apache.hadoop.security.authentication.util;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.security.authentication.util;
|
||||
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.security.authentication.util;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.security.authentication.util;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.security.authentication.util;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.hadoop.security.authentication.KerberosTestUtils;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
package org.apache.hadoop.fs;
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -16,6 +15,9 @@ package org.apache.hadoop.fs;
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.fs;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.util.bloom;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.util.bloom;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.util.bloom;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.util.bloom;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.util.bloom;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.util.bloom;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Licensed to the Apache Software Foundation (ASF) under one
|
||||
/**
|
||||
* 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
|
||||
|
@ -14,6 +15,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.hdfs.protocol;
|
||||
|
||||
import org.apache.hadoop.classification.InterfaceAudience;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.tools;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -17,6 +15,9 @@ package org.apache.hadoop.tools;
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.tools;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/**
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/**
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Licensed to the Apache Software Foundation (ASF) under one
|
||||
/**
|
||||
* 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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Licensed to the Apache Software Foundation (ASF) under one
|
||||
/**
|
||||
* 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
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.mapreduce.security;
|
||||
|
||||
/** 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
|
||||
|
@ -17,6 +15,7 @@ package org.apache.hadoop.mapreduce.security;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.mapreduce.security;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.fail;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.examples;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.examples;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.examples;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.examples;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.examples;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.examples;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.examples;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.examples;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.examples;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
package org.apache.hadoop.maven.plugin.shade.resource;
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +17,9 @@ package org.apache.hadoop.maven.plugin.shade.resource;
|
|||
* under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.maven.plugin.shade.resource;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import org.apache.maven.plugins.shade.relocation.Relocator;
|
||||
import org.apache.maven.plugins.shade.resource.ResourceTransformer;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.tools;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.tools;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.tools;
|
||||
|
||||
import org.apache.hadoop.fs.Path;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
package org.apache.hadoop.yarn.server.timeline.recovery.records;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
|
@ -18,6 +16,8 @@ package org.apache.hadoop.yarn.server.timeline.recovery.records;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.hadoop.yarn.server.timeline.recovery.records;
|
||||
|
||||
import org.apache.hadoop.yarn.proto.YarnServerTimelineServerRecoveryProtos.TimelineDelegationTokenIdentifierDataProto;
|
||||
import org.apache.hadoop.yarn.security.client.TimelineDelegationTokenIdentifier;
|
||||
|
||||
|
|
Loading…
Reference in New Issue