You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2013/03/25 10:23:09 UTC
[09/12] TAJO-2: remove all @author tags and update license header
(hyunsik)
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/gson/ClassNameDeserializer.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/gson/ClassNameDeserializer.java b/tajo-common/src/main/java/tajo/gson/ClassNameDeserializer.java
index 0310f04..edf8f48 100644
--- a/tajo-common/src/main/java/tajo/gson/ClassNameDeserializer.java
+++ b/tajo-common/src/main/java/tajo/gson/ClassNameDeserializer.java
@@ -1,4 +1,22 @@
/**
+ * 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 tajo.gson;
@@ -10,10 +28,6 @@ import com.google.gson.JsonParseException;
import java.lang.reflect.Type;
-/**
- * @author jihoon
- *
- */
public class ClassNameDeserializer implements JsonDeserializer<Class> {
@Override
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/gson/ClassNameSerializer.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/gson/ClassNameSerializer.java b/tajo-common/src/main/java/tajo/gson/ClassNameSerializer.java
index 34e415a..672d064 100644
--- a/tajo-common/src/main/java/tajo/gson/ClassNameSerializer.java
+++ b/tajo-common/src/main/java/tajo/gson/ClassNameSerializer.java
@@ -1,4 +1,22 @@
/**
+ * 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 tajo.gson;
@@ -10,10 +28,6 @@ import com.google.gson.JsonSerializer;
import java.lang.reflect.Type;
-/**
- * @author jihoon
- *
- */
public class ClassNameSerializer implements JsonSerializer<Class> {
@Override
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/gson/DatumTypeAdapter.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/gson/DatumTypeAdapter.java b/tajo-common/src/main/java/tajo/gson/DatumTypeAdapter.java
index 2ace09e..96e5064 100644
--- a/tajo-common/src/main/java/tajo/gson/DatumTypeAdapter.java
+++ b/tajo-common/src/main/java/tajo/gson/DatumTypeAdapter.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 tajo.gson;
import com.google.gson.*;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/gson/PathDeserializer.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/gson/PathDeserializer.java b/tajo-common/src/main/java/tajo/gson/PathDeserializer.java
index de28bd5..b03d6a8 100644
--- a/tajo-common/src/main/java/tajo/gson/PathDeserializer.java
+++ b/tajo-common/src/main/java/tajo/gson/PathDeserializer.java
@@ -1,4 +1,22 @@
/**
+ * 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 tajo.gson;
@@ -11,10 +29,6 @@ import org.apache.hadoop.fs.Path;
import java.lang.reflect.Type;
-/**
- * @author jihoon
- *
- */
public class PathDeserializer implements JsonDeserializer<Path> {
@Override
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/gson/PathSerializer.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/gson/PathSerializer.java b/tajo-common/src/main/java/tajo/gson/PathSerializer.java
index b8d85c5..b699cd8 100644
--- a/tajo-common/src/main/java/tajo/gson/PathSerializer.java
+++ b/tajo-common/src/main/java/tajo/gson/PathSerializer.java
@@ -1,4 +1,22 @@
/**
+ * 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 tajo.gson;
@@ -11,10 +29,6 @@ import org.apache.hadoop.fs.Path;
import java.lang.reflect.Type;
-/**
- * @author jihoon
- *
- */
public class PathSerializer implements JsonSerializer<Path> {
@Override
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/storage/Tuple.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/storage/Tuple.java b/tajo-common/src/main/java/tajo/storage/Tuple.java
index ce71cd3..d13d388 100644
--- a/tajo-common/src/main/java/tajo/storage/Tuple.java
+++ b/tajo-common/src/main/java/tajo/storage/Tuple.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/unit/StorageUnit.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/unit/StorageUnit.java b/tajo-common/src/main/java/tajo/unit/StorageUnit.java
index 3c9d070..d44bec2 100644
--- a/tajo-common/src/main/java/tajo/unit/StorageUnit.java
+++ b/tajo-common/src/main/java/tajo/unit/StorageUnit.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/unit/TimeUnit.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/unit/TimeUnit.java b/tajo-common/src/main/java/tajo/unit/TimeUnit.java
index d185c92..7f2101b 100644
--- a/tajo-common/src/main/java/tajo/unit/TimeUnit.java
+++ b/tajo-common/src/main/java/tajo/unit/TimeUnit.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/BitArray.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/BitArray.java b/tajo-common/src/main/java/tajo/util/BitArray.java
index 38b7f43..20b9e55 100644
--- a/tajo-common/src/main/java/tajo/util/BitArray.java
+++ b/tajo-common/src/main/java/tajo/util/BitArray.java
@@ -1,7 +1,11 @@
-/*
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/Bytes.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/Bytes.java b/tajo-common/src/main/java/tajo/util/Bytes.java
index c1e505b..e21cf31 100644
--- a/tajo-common/src/main/java/tajo/util/Bytes.java
+++ b/tajo-common/src/main/java/tajo/util/Bytes.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/CommonTestingUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/CommonTestingUtil.java b/tajo-common/src/main/java/tajo/util/CommonTestingUtil.java
index 0c15626..ab573a5 100644
--- a/tajo-common/src/main/java/tajo/util/CommonTestingUtil.java
+++ b/tajo-common/src/main/java/tajo/util/CommonTestingUtil.java
@@ -1,7 +1,11 @@
-/*
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/FileUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/FileUtil.java b/tajo-common/src/main/java/tajo/util/FileUtil.java
index eb8e1da..199c266 100644
--- a/tajo-common/src/main/java/tajo/util/FileUtil.java
+++ b/tajo-common/src/main/java/tajo/util/FileUtil.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/JarUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/JarUtil.java b/tajo-common/src/main/java/tajo/util/JarUtil.java
index 5d55610..7ae7b2d 100644
--- a/tajo-common/src/main/java/tajo/util/JarUtil.java
+++ b/tajo-common/src/main/java/tajo/util/JarUtil.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 tajo.util;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/NumberUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/NumberUtil.java b/tajo-common/src/main/java/tajo/util/NumberUtil.java
index c987139..600d8bc 100644
--- a/tajo-common/src/main/java/tajo/util/NumberUtil.java
+++ b/tajo-common/src/main/java/tajo/util/NumberUtil.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/ReflectionUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/ReflectionUtil.java b/tajo-common/src/main/java/tajo/util/ReflectionUtil.java
index 9db4c23..563035b 100644
--- a/tajo-common/src/main/java/tajo/util/ReflectionUtil.java
+++ b/tajo-common/src/main/java/tajo/util/ReflectionUtil.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/TUtil.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/TUtil.java b/tajo-common/src/main/java/tajo/util/TUtil.java
index d738bfa..c028244 100644
--- a/tajo-common/src/main/java/tajo/util/TUtil.java
+++ b/tajo-common/src/main/java/tajo/util/TUtil.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
@@ -23,8 +25,6 @@ import java.util.*;
/**
* It provides miscellaneous and useful util methods.
- *
- * @author Hyunsik Choi
*/
public class TUtil {
/**
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/java/tajo/util/TajoIdUtils.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/java/tajo/util/TajoIdUtils.java b/tajo-common/src/main/java/tajo/util/TajoIdUtils.java
index 34f63af..5fd5a18 100644
--- a/tajo-common/src/main/java/tajo/util/TajoIdUtils.java
+++ b/tajo-common/src/main/java/tajo/util/TajoIdUtils.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
@@ -23,9 +25,6 @@ import tajo.QueryId;
import tajo.SubQueryId;
import tajo.TajoIdProtos.SubQueryIdProto;
-/**
- * @author Hyunsik Choi
- */
public class TajoIdUtils {
/** It is mainly for DDL statements which don's have any query id. */
public static final QueryId NullQueryId =
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/proto/TajoIdProtos.proto
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/proto/TajoIdProtos.proto b/tajo-common/src/main/proto/TajoIdProtos.proto
index 6ab0b09..abd47c0 100644
--- a/tajo-common/src/main/proto/TajoIdProtos.proto
+++ b/tajo-common/src/main/proto/TajoIdProtos.proto
@@ -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.
+ */
+
option java_package = "tajo";
option java_outer_classname = "TajoIdProtos";
option java_generic_services = false;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/main/proto/TestProtos.proto
----------------------------------------------------------------------
diff --git a/tajo-common/src/main/proto/TestProtos.proto b/tajo-common/src/main/proto/TestProtos.proto
index c370251..868b6f1 100644
--- a/tajo-common/src/main/proto/TestProtos.proto
+++ b/tajo-common/src/main/proto/TestProtos.proto
@@ -1,4 +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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/log4j.properties
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/log4j.properties b/tajo-common/src/test/java/log4j.properties
index 0941b49..c1ac487 100644
--- a/tajo-common/src/test/java/log4j.properties
+++ b/tajo-common/src/test/java/log4j.properties
@@ -1,6 +1,4 @@
-#
-# Copyright 2012 Database Lab., Korea Univ.
-#
+##
# 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
@@ -18,18 +16,6 @@
# limitations under the License.
#
-# Licensed 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.
-
# log4j configuration used during build and unit tests
log4j.rootLogger=info,stdout
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/common/type/TestIPv4.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/common/type/TestIPv4.java b/tajo-common/src/test/java/tajo/common/type/TestIPv4.java
index 0a733ba..8d4bf68 100644
--- a/tajo-common/src/test/java/tajo/common/type/TestIPv4.java
+++ b/tajo-common/src/test/java/tajo/common/type/TestIPv4.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/common/type/TestTimeRange.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/common/type/TestTimeRange.java b/tajo-common/src/test/java/tajo/common/type/TestTimeRange.java
index e173026..be74f4a 100644
--- a/tajo-common/src/test/java/tajo/common/type/TestTimeRange.java
+++ b/tajo-common/src/test/java/tajo/common/type/TestTimeRange.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestBoolDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestBoolDatum.java b/tajo-common/src/test/java/tajo/datum/TestBoolDatum.java
index 70f5eaf..f73fb98 100644
--- a/tajo-common/src/test/java/tajo/datum/TestBoolDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestBoolDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestByteDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestByteDatum.java b/tajo-common/src/test/java/tajo/datum/TestByteDatum.java
index ad7d921..9c8dd6a 100644
--- a/tajo-common/src/test/java/tajo/datum/TestByteDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestByteDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestBytesDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestBytesDatum.java b/tajo-common/src/test/java/tajo/datum/TestBytesDatum.java
index b26b32c..962a793 100644
--- a/tajo-common/src/test/java/tajo/datum/TestBytesDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestBytesDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestCharDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestCharDatum.java b/tajo-common/src/test/java/tajo/datum/TestCharDatum.java
index 925e5cb..c9272dd 100644
--- a/tajo-common/src/test/java/tajo/datum/TestCharDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestCharDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestDatum.java b/tajo-common/src/test/java/tajo/datum/TestDatum.java
index 2fb87fb..361ab9d 100644
--- a/tajo-common/src/test/java/tajo/datum/TestDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestDatumFactory.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestDatumFactory.java b/tajo-common/src/test/java/tajo/datum/TestDatumFactory.java
index 3a5dcf4..4370bf8 100644
--- a/tajo-common/src/test/java/tajo/datum/TestDatumFactory.java
+++ b/tajo-common/src/test/java/tajo/datum/TestDatumFactory.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestDoubleDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestDoubleDatum.java b/tajo-common/src/test/java/tajo/datum/TestDoubleDatum.java
index c879ae5..178ce01 100644
--- a/tajo-common/src/test/java/tajo/datum/TestDoubleDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestDoubleDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestFloatDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestFloatDatum.java b/tajo-common/src/test/java/tajo/datum/TestFloatDatum.java
index 9d66f1b..bfc45bc 100644
--- a/tajo-common/src/test/java/tajo/datum/TestFloatDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestFloatDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestIPv4Datum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestIPv4Datum.java b/tajo-common/src/test/java/tajo/datum/TestIPv4Datum.java
index eea43e7..e60a33b 100644
--- a/tajo-common/src/test/java/tajo/datum/TestIPv4Datum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestIPv4Datum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestIntDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestIntDatum.java b/tajo-common/src/test/java/tajo/datum/TestIntDatum.java
index f31a5d9..faca9d8 100644
--- a/tajo-common/src/test/java/tajo/datum/TestIntDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestIntDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestLongDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestLongDatum.java b/tajo-common/src/test/java/tajo/datum/TestLongDatum.java
index c842f70..00170f7 100644
--- a/tajo-common/src/test/java/tajo/datum/TestLongDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestLongDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestShortDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestShortDatum.java b/tajo-common/src/test/java/tajo/datum/TestShortDatum.java
index 2ff9f35..83da6a5 100644
--- a/tajo-common/src/test/java/tajo/datum/TestShortDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestShortDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/datum/TestStringDatum.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/datum/TestStringDatum.java b/tajo-common/src/test/java/tajo/datum/TestStringDatum.java
index 367f8e7..a5f975b 100644
--- a/tajo-common/src/test/java/tajo/datum/TestStringDatum.java
+++ b/tajo-common/src/test/java/tajo/datum/TestStringDatum.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/util/TestBitArrayTest.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/util/TestBitArrayTest.java b/tajo-common/src/test/java/tajo/util/TestBitArrayTest.java
index f0abb3f..3839409 100644
--- a/tajo-common/src/test/java/tajo/util/TestBitArrayTest.java
+++ b/tajo-common/src/test/java/tajo/util/TestBitArrayTest.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 tajo.util;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-common/src/test/java/tajo/util/TestFileUtils.java
----------------------------------------------------------------------
diff --git a/tajo-common/src/test/java/tajo/util/TestFileUtils.java b/tajo-common/src/test/java/tajo/util/TestFileUtils.java
index c4bf64e..d0e84b7 100644
--- a/tajo-common/src/test/java/tajo/util/TestFileUtils.java
+++ b/tajo-common/src/test/java/tajo/util/TestFileUtils.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/pom.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/pom.xml b/tajo-core/tajo-core-backend/pom.xml
index 1dd5b7d..071b7d5 100644
--- a/tajo-core/tajo-core-backend/pom.xml
+++ b/tajo-core/tajo-core-backend/pom.xml
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2012 Database Lab., Korea Univ.
-
- Licensed 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
+ 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
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/antlr3/tajo/engine/parser/NQL.g
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/antlr3/tajo/engine/parser/NQL.g b/tajo-core/tajo-core-backend/src/main/antlr3/tajo/engine/parser/NQL.g
index ec3ec95..725941c 100644
--- a/tajo-core/tajo-core-backend/src/main/antlr3/tajo/engine/parser/NQL.g
+++ b/tajo-core/tajo-core-backend/src/main/antlr3/tajo/engine/parser/NQL.g
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/findbugs/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/findbugs/findbugs-exclude.xml b/tajo-core/tajo-core-backend/src/main/findbugs/findbugs-exclude.xml
index e3cf54c..255fb23 100644
--- a/tajo-core/tajo-core-backend/src/main/findbugs/findbugs-exclude.xml
+++ b/tajo-core/tajo-core-backend/src/main/findbugs/findbugs-exclude.xml
@@ -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.
+ -->
+
<FindBugsFilter>
<Match>
<Package name="~nta\.engine\.parser" />
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/log4j.properties
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/log4j.properties b/tajo-core/tajo-core-backend/src/main/java/log4j.properties
index c557d8f..c1ac487 100644
--- a/tajo-core/tajo-core-backend/src/main/java/log4j.properties
+++ b/tajo-core/tajo-core-backend/src/main/java/log4j.properties
@@ -1,14 +1,20 @@
-# Licensed 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
+##
+# 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
+# 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.
#
-# 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.
# log4j configuration used during build and unit tests
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/QueryConf.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/QueryConf.java b/tajo-core/tajo-core-backend/src/main/java/tajo/QueryConf.java
index 1b33eb4..a1e5179 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/QueryConf.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/QueryConf.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/TaskAttemptContext.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/TaskAttemptContext.java b/tajo-core/tajo-core-backend/src/main/java/tajo/TaskAttemptContext.java
index 9918d8e..fa3c24a 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/TaskAttemptContext.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/TaskAttemptContext.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/BenchmarkSet.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/BenchmarkSet.java b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/BenchmarkSet.java
index 68f77b4..9deea32 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/BenchmarkSet.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/BenchmarkSet.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 tajo.benchmark;
import com.google.protobuf.ServiceException;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/Driver.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/Driver.java b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/Driver.java
index c271fe1..69b9a18 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/Driver.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/Driver.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 tajo.benchmark;
import tajo.conf.TajoConf;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/SimpleQuery.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/SimpleQuery.java b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/SimpleQuery.java
index c8cc8db..9feae05 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/SimpleQuery.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/SimpleQuery.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 tajo.benchmark;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/TPCH.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/TPCH.java b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/TPCH.java
index cd7f3a2..c4ce6d4 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/TPCH.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/benchmark/TPCH.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 tajo.benchmark;
import com.google.protobuf.ServiceException;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/cli/TajoCli.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/cli/TajoCli.java b/tajo-core/tajo-core-backend/src/main/java/tajo/cli/TajoCli.java
index 1270449..07742fb 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/cli/TajoCli.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/cli/TajoCli.java
@@ -1,7 +1,11 @@
-/*
- * Licensed 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
+/**
+ * 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
*
@@ -36,9 +40,6 @@ import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.util.List;
-/**
- * @author Hyunsik Choi
- */
public class TajoCli {
private final TajoConf conf;
private static final Options options;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/client/QueryStatus.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/client/QueryStatus.java b/tajo-core/tajo-core-backend/src/main/java/tajo/client/QueryStatus.java
index 8d02b82..27895c5 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/client/QueryStatus.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/client/QueryStatus.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/client/ResultSetUtil.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/client/ResultSetUtil.java b/tajo-core/tajo-core-backend/src/main/java/tajo/client/ResultSetUtil.java
index a61ddcf..d79181f 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/client/ResultSetUtil.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/client/ResultSetUtil.java
@@ -1,12 +1,27 @@
+/**
+ * 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 tajo.client;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
-/**
- * @author Hyunsik Choi
- */
public class ResultSetUtil {
public static String prettyFormat(ResultSet res) throws SQLException {
StringBuilder sb = new StringBuilder();
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/client/TajoClient.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/client/TajoClient.java b/tajo-core/tajo-core-backend/src/main/java/tajo/client/TajoClient.java
index 4acc6c8..32eed96 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/client/TajoClient.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/client/TajoClient.java
@@ -1,9 +1,11 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
- * Licensed 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
+/**
+ * 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
*
@@ -39,9 +41,6 @@ import java.net.InetSocketAddress;
import java.sql.ResultSet;
import java.util.List;
-/**
- * @author Hyunsik Choi
- */
public class TajoClient {
private final Log LOG = LogFactory.getLog(TajoClient.class);
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AggFuncCallEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AggFuncCallEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AggFuncCallEval.java
index 2150430..55237e7 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AggFuncCallEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AggFuncCallEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicException.java
index 0c87dc3..d97afe7 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicException.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicUtil.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicUtil.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicUtil.java
index 6a532c5..b886e2a 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicUtil.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/AlgebraicUtil.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -24,9 +22,6 @@ import tajo.catalog.Column;
import java.util.Map;
-/**
- * @author Hyunsik Choi
- */
public class AlgebraicUtil {
/**
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/BinaryEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/BinaryEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/BinaryEval.java
index 0d79da1..7468eec 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/BinaryEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/BinaryEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import com.google.common.base.Objects;
@@ -35,10 +30,6 @@ import tajo.engine.json.GsonCreator;
import tajo.engine.utils.SchemaUtil;
import tajo.storage.Tuple;
-/**
- * @author Hyunsik Choi
- *
- */
public class BinaryEval extends EvalNode implements Cloneable {
@Expose private DataType [] returnType = null;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/CaseWhenEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/CaseWhenEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/CaseWhenEval.java
index d6488d9..07fec9c 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/CaseWhenEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/CaseWhenEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -32,9 +30,6 @@ import tajo.storage.Tuple;
import java.util.List;
-/**
- * @author Hyunsik Choi
- */
public class CaseWhenEval extends EvalNode {
@Expose private List<WhenEval> whens = Lists.newArrayList();
@Expose private EvalNode elseResult;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/ConstEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/ConstEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/ConstEval.java
index 0db76fe..3e61632 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/ConstEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/ConstEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import com.google.common.base.Objects;
@@ -30,10 +25,6 @@ import tajo.catalog.proto.CatalogProtos.DataType;
import tajo.datum.Datum;
import tajo.engine.json.GsonCreator;
-/**
- * @author Hyunsik Choi
- *
- */
public class ConstEval extends EvalNode implements Comparable<ConstEval>, Cloneable {
@Expose Datum datum = null;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalContext.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalContext.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalContext.java
index 76f242d..541e854 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalContext.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalContext.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -20,8 +18,5 @@
package tajo.engine.eval;
-/**
- * @author Hyunsik Choi
- */
public interface EvalContext {
}
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNode.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNode.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNode.java
index 6a6f06b..8c31add 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNode.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNode.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -28,11 +26,6 @@ import tajo.datum.Datum;
import tajo.engine.json.GsonCreator;
import tajo.storage.Tuple;
-/**
- *
- * @author Hyunsik Choi
- *
- */
public abstract class EvalNode implements Cloneable {
@Expose
protected Type type;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNodeVisitor.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNodeVisitor.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNodeVisitor.java
index 9abbc05..e6f36a6 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNodeVisitor.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalNodeVisitor.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -20,9 +18,6 @@
package tajo.engine.eval;
-/**
- * @author Hyunsik Choi
- */
public interface EvalNodeVisitor {
public void visit(EvalNode node);
}
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeFactory.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeFactory.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeFactory.java
index e21fa35..9face87 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeFactory.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeFactory.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,17 +16,10 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import tajo.datum.Datum;
-/**
- * @author Hyunsik Choi
- *
- */
public class EvalTreeFactory {
public static ConstEval newConst(Datum datum) {
return new ConstEval(datum);
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeUtil.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeUtil.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeUtil.java
index 7ba0dac..e8afb65 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeUtil.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/EvalTreeUtil.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -33,9 +31,6 @@ import tajo.exception.InternalException;
import java.util.*;
-/**
- * @author Hyunsik Choi
- */
public class EvalTreeUtil {
public static void changeColumnRef(EvalNode node, Column oldName,
Column newName) {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FieldEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FieldEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FieldEval.java
index 05a92dc..e258b93 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FieldEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FieldEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -30,9 +28,6 @@ import tajo.engine.json.GsonCreator;
import tajo.engine.utils.SchemaUtil;
import tajo.storage.Tuple;
-/**
- * @author Hyunsik Choi
- */
public class FieldEval extends EvalNode implements Cloneable {
@Expose private Column column;
@Expose private int fieldId = -1;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncCallEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncCallEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncCallEval.java
index 4932d76..2dce9e6 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncCallEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncCallEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -32,9 +30,6 @@ import tajo.storage.Tuple;
import tajo.storage.VTuple;
import tajo.util.TUtil;
-/**
- * @author Hyunsik Choi
- */
public class FuncCallEval extends FuncEval {
@Expose protected GeneralFunction instance;
private Tuple tuple;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncEval.java
index 7ca4b29..da7df36 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/FuncEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import com.google.common.base.Objects;
@@ -34,9 +29,6 @@ import tajo.engine.json.GsonCreator;
import tajo.storage.Tuple;
import tajo.util.TUtil;
-/**
- * @author Hyunsik Choi
- */
public abstract class FuncEval extends EvalNode implements Cloneable {
@Expose protected FunctionDesc funcDesc;
@Expose protected EvalNode [] argEvals;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidCastException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidCastException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidCastException.java
index ba91db0..1ad444e 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidCastException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidCastException.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -23,10 +21,6 @@
*/
package tajo.engine.eval;
-/**
- * @author Hyunsik Choi
- *
- */
public class InvalidCastException extends RuntimeException {
private static final long serialVersionUID = -5090530469575858320L;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidEvalException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidEvalException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidEvalException.java
index 904131f..5ff28cc 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidEvalException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/InvalidEvalException.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -23,10 +21,6 @@
*/
package tajo.engine.eval;
-/**
- * @author Hyunsik Choi
- *
- */
public class InvalidEvalException extends RuntimeException {
private static final long serialVersionUID = -2897003028483298256L;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/IsNullEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/IsNullEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/IsNullEval.java
index 765a49a..a236426 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/IsNullEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/IsNullEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -30,9 +28,6 @@ import tajo.datum.DatumFactory;
import tajo.engine.utils.SchemaUtil;
import tajo.storage.Tuple;
-/**
- * @author Hyunsik Choi
- */
public class IsNullEval extends BinaryEval {
private final static ConstEval NULL_EVAL = new ConstEval(DatumFactory.createNullDatum());
private static final CatalogProtos.DataType[] RES_TYPE = SchemaUtil.newNoNameSchema(CatalogProtos.DataType.BOOLEAN);
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/LikeEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/LikeEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/LikeEval.java
index 0f57349..a963335 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/LikeEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/LikeEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import com.google.gson.annotations.Expose;
@@ -36,9 +31,6 @@ import tajo.storage.Tuple;
import java.util.regex.Pattern;
-/**
- * @author Hyunsik Choi
- */
public class LikeEval extends BinaryEval {
@Expose private boolean not;
@Expose private Column column;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/NotEval.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/NotEval.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/NotEval.java
index 8d3fd0a..aaa1fee 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/NotEval.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/NotEval.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import com.google.common.base.Preconditions;
@@ -32,9 +27,6 @@ import tajo.datum.DatumFactory;
import tajo.engine.utils.SchemaUtil;
import tajo.storage.Tuple;
-/**
- * @author Hyunsik Choi
- */
public class NotEval extends EvalNode implements Cloneable {
@Expose private EvalNode subExpr;
private static final DataType [] RES_TYPE = SchemaUtil
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/PartialBinaryExpr.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/PartialBinaryExpr.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/PartialBinaryExpr.java
index 6acea93..7e92274 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/PartialBinaryExpr.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/eval/PartialBinaryExpr.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2012 Database Lab., Korea Univ.
- *
+/**
* 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
@@ -18,9 +16,6 @@
* limitations under the License.
*/
-/**
- *
- */
package tajo.engine.eval;
import tajo.catalog.Schema;
@@ -28,9 +23,6 @@ import tajo.catalog.proto.CatalogProtos.DataType;
import tajo.datum.Datum;
import tajo.storage.Tuple;
-/**
- * @author Hyunsik Choi
- */
public class PartialBinaryExpr extends EvalNode {
public PartialBinaryExpr(Type type) {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/EmptyClusterException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/EmptyClusterException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/EmptyClusterException.java
index 2af7f02..b6e44ff 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/EmptyClusterException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/EmptyClusterException.java
@@ -1,8 +1,23 @@
-package tajo.engine.exception;
-
/**
- * @author jihoon
+ * 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 tajo.engine.exception;
+
public class EmptyClusterException extends Exception {
public EmptyClusterException() {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/IllegalQueryStatusException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/IllegalQueryStatusException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/IllegalQueryStatusException.java
index 52c3d2d..e462ae0 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/IllegalQueryStatusException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/IllegalQueryStatusException.java
@@ -1,8 +1,23 @@
-package tajo.engine.exception;
-
/**
- * @author jihoon
+ * 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 tajo.engine.exception;
+
public class IllegalQueryStatusException extends Exception {
public IllegalQueryStatusException() {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NTAQueryException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NTAQueryException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NTAQueryException.java
index 22191c4..bad2c57 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NTAQueryException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NTAQueryException.java
@@ -1,14 +1,28 @@
/**
+ * 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 tajo.engine.exception;
import java.io.IOException;
-/**
- * @author Hyunsik Choi
- *
- */
public class NTAQueryException extends IOException {
private static final long serialVersionUID = -5012296598261064705L;
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NoSuchQueryIdException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NoSuchQueryIdException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NoSuchQueryIdException.java
index 6d6cfba..d29992a 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NoSuchQueryIdException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/NoSuchQueryIdException.java
@@ -1,17 +1,28 @@
/**
- *
+ * 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 tajo.engine.exception;
/**
- * @author jihoon
- *
+ *
*/
+package tajo.engine.exception;
+
public class NoSuchQueryIdException extends Exception {
- /**
- *
- */
private static final long serialVersionUID = -4425982532461186746L;
public NoSuchQueryIdException() {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnfinishedTaskException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnfinishedTaskException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnfinishedTaskException.java
index a2b3458..f50b434 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnfinishedTaskException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnfinishedTaskException.java
@@ -1,17 +1,28 @@
/**
- *
+ * 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 tajo.engine.exception;
/**
- * @author jihoon
- *
+ *
*/
+package tajo.engine.exception;
+
public class UnfinishedTaskException extends Exception {
- /**
- *
- */
private static final long serialVersionUID = -3229141373378209229L;
public UnfinishedTaskException() {
http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/457fea18/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnknownWorkerException.java
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnknownWorkerException.java b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnknownWorkerException.java
index eaa21e4..becb589 100644
--- a/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnknownWorkerException.java
+++ b/tajo-core/tajo-core-backend/src/main/java/tajo/engine/exception/UnknownWorkerException.java
@@ -1,12 +1,26 @@
/**
- *
+ * 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 tajo.engine.exception;
/**
- * @author jihoon
- *
+ *
*/
+package tajo.engine.exception;
+
public class UnknownWorkerException extends Exception {
/**