Repository: sqoop
Updated Branches:
  refs/heads/trunk 53b490e14 -> c3e868ce9


SQOOP-3044: Add missing ASF license information to .java files

(Anna Szonyi via Attila Szabo)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/c3e868ce
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/c3e868ce
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/c3e868ce

Branch: refs/heads/trunk
Commit: c3e868ce904f54e243e7ef27ffa16f1d1ea559c6
Parents: 53b490e
Author: Attila Szabo <[email protected]>
Authored: Tue Nov 8 18:30:13 2016 +0100
Committer: Attila Szabo <[email protected]>
Committed: Tue Nov 8 18:30:13 2016 +0100

----------------------------------------------------------------------
 .../mapreduce/mainframe/MainframeDatasetPath.java | 17 ++++++++++++++++-
 .../mapreduce/mainframe/MainframeDatasetType.java | 18 ++++++++++++++++++
 .../mainframe/MainframeFTPFileEntryParser.java    | 18 ++++++++++++++++++
 .../org/apache/sqoop/util/CredentialsUtil.java    |  4 +---
 .../sqoop/validation/AbortOnFailureHandler.java   |  4 +---
 src/test/com/cloudera/sqoop/TestExport.java       |  1 -
 ...ataDrivenDBInputFormatConnectionCloseTest.java | 18 ++++++++++++++++++
 .../sqoop/manager/oracle/OraOopTypesTest.java     | 18 ++++++++++++++++++
 .../mainframe/TestMainframeDatasetPath.java       | 18 ++++++++++++++++++
 .../TestMainframeFTPFileEntryParser.java          | 18 ++++++++++++++++++
 .../sqoop/tool/ImportToolValidateOptionsTest.java | 18 ++++++++++++++++++
 .../sqoop/tool/TestExportToolValidateOptions.java | 18 ++++++++++++++++++
 .../org/apache/sqoop/util/TestSqoopJsonUtil.java  | 18 ++++++++++++++++++
 testdata/hcatalog/conf/hive-site.xml              | 17 +++++++++++++++++
 14 files changed, 197 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetPath.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetPath.java 
b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetPath.java
index 56c70d6..2332cd7 100644
--- a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetPath.java
+++ b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetPath.java
@@ -1,6 +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.sqoop.mapreduce.mainframe;
 
 import java.text.ParseException;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetType.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetType.java 
b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetType.java
index bcaa56d..87144aa 100644
--- a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetType.java
+++ b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeDatasetType.java
@@ -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.sqoop.mapreduce.mainframe;
 
 /********

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeFTPFileEntryParser.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeFTPFileEntryParser.java
 
b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeFTPFileEntryParser.java
index 661b1cc..f0b8786 100644
--- 
a/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeFTPFileEntryParser.java
+++ 
b/src/java/org/apache/sqoop/mapreduce/mainframe/MainframeFTPFileEntryParser.java
@@ -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.sqoop.mapreduce.mainframe;
 
 import java.util.regex.Matcher;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/java/org/apache/sqoop/util/CredentialsUtil.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/util/CredentialsUtil.java 
b/src/java/org/apache/sqoop/util/CredentialsUtil.java
index 5b5375e..c627b32 100644
--- a/src/java/org/apache/sqoop/util/CredentialsUtil.java
+++ b/src/java/org/apache/sqoop/util/CredentialsUtil.java
@@ -1,6 +1,4 @@
 /**
- * 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
@@ -9,7 +7,7 @@
  * "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
+ *     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,

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/java/org/apache/sqoop/validation/AbortOnFailureHandler.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/validation/AbortOnFailureHandler.java 
b/src/java/org/apache/sqoop/validation/AbortOnFailureHandler.java
index 32f4fd9..902bce5 100644
--- a/src/java/org/apache/sqoop/validation/AbortOnFailureHandler.java
+++ b/src/java/org/apache/sqoop/validation/AbortOnFailureHandler.java
@@ -1,6 +1,4 @@
 /**
- * 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
@@ -9,7 +7,7 @@
  * "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
+ *     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,

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/com/cloudera/sqoop/TestExport.java
----------------------------------------------------------------------
diff --git a/src/test/com/cloudera/sqoop/TestExport.java 
b/src/test/com/cloudera/sqoop/TestExport.java
index f9bc27e..00d17c2 100644
--- a/src/test/com/cloudera/sqoop/TestExport.java
+++ b/src/test/com/cloudera/sqoop/TestExport.java
@@ -1,5 +1,4 @@
 /**
-/**
  * 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

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
----------------------------------------------------------------------
diff --git 
a/src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
 
b/src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
index 7845160..59b6e3a 100644
--- 
a/src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
+++ 
b/src/test/org/apache/sqoop/manager/oracle/OraOopDataDrivenDBInputFormatConnectionCloseTest.java
@@ -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.sqoop.manager.oracle;
 
 import com.cloudera.sqoop.mapreduce.db.DBConfiguration;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/manager/oracle/OraOopTypesTest.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/manager/oracle/OraOopTypesTest.java 
b/src/test/org/apache/sqoop/manager/oracle/OraOopTypesTest.java
index ad168e2..a8072b9 100644
--- a/src/test/org/apache/sqoop/manager/oracle/OraOopTypesTest.java
+++ b/src/test/org/apache/sqoop/manager/oracle/OraOopTypesTest.java
@@ -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.sqoop.manager.oracle;
 
 import static org.junit.Assert.assertEquals;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetPath.java
----------------------------------------------------------------------
diff --git 
a/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetPath.java 
b/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetPath.java
index 3492fee..9b277b2 100644
--- 
a/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetPath.java
+++ 
b/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeDatasetPath.java
@@ -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.sqoop.mapreduce.mainframe;
 
 import static org.junit.Assert.assertEquals;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeFTPFileEntryParser.java
----------------------------------------------------------------------
diff --git 
a/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeFTPFileEntryParser.java
 
b/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeFTPFileEntryParser.java
index 8926bb9..eb0f8c0 100644
--- 
a/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeFTPFileEntryParser.java
+++ 
b/src/test/org/apache/sqoop/mapreduce/mainframe/TestMainframeFTPFileEntryParser.java
@@ -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.sqoop.mapreduce.mainframe;
 
 import java.util.ArrayList;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java 
b/src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java
index a792151..a85abb8 100644
--- a/src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java
+++ b/src/test/org/apache/sqoop/tool/ImportToolValidateOptionsTest.java
@@ -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.sqoop.tool;
 
 import com.cloudera.sqoop.SqoopOptions;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java 
b/src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java
index 27b4bb2..dfe1952 100644
--- a/src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java
+++ b/src/test/org/apache/sqoop/tool/TestExportToolValidateOptions.java
@@ -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.sqoop.tool;
 
 import com.cloudera.sqoop.SqoopOptions;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/src/test/org/apache/sqoop/util/TestSqoopJsonUtil.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/util/TestSqoopJsonUtil.java 
b/src/test/org/apache/sqoop/util/TestSqoopJsonUtil.java
index 8b516e8..fdf972c 100644
--- a/src/test/org/apache/sqoop/util/TestSqoopJsonUtil.java
+++ b/src/test/org/apache/sqoop/util/TestSqoopJsonUtil.java
@@ -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.sqoop.util;
 
 import static org.junit.Assert.assertEquals;

http://git-wip-us.apache.org/repos/asf/sqoop/blob/c3e868ce/testdata/hcatalog/conf/hive-site.xml
----------------------------------------------------------------------
diff --git a/testdata/hcatalog/conf/hive-site.xml 
b/testdata/hcatalog/conf/hive-site.xml
index 52b2fff..edac7aa 100644
--- a/testdata/hcatalog/conf/hive-site.xml
+++ b/testdata/hcatalog/conf/hive-site.xml
@@ -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.
+-->
 <configuration>
   <property>
     <name>kite.hive.allow-local-metastore</name>

Reply via email to