You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wl...@apache.org on 2015/11/30 03:14:20 UTC
[3/3] incubator-hawq git commit: HAWQ-199. Add license header for PXF
source files
HAWQ-199. Add license header for PXF source files
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/150c8b4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/150c8b4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/150c8b4a
Branch: refs/heads/master
Commit: 150c8b4a715349d537a31f02f11ffb4839244ff1
Parents: f28a25b
Author: Wen Lin <wl...@pivotal.io>
Authored: Mon Nov 30 10:20:23 2015 +0800
Committer: Wen Lin <wl...@pivotal.io>
Committed: Mon Nov 30 10:20:23 2015 +0800
----------------------------------------------------------------------
pxf/gradle.properties | 17 +++++++++++++++
pxf/gradle/wrapper/gradle-wrapper.properties | 17 +++++++++++++++
.../java/org/apache/hawq/pxf/api/Analyzer.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/AnalyzerStats.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/BadRecordException.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/FilterParser.java | 20 ++++++++++++++++++
.../java/org/apache/hawq/pxf/api/Fragment.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/Fragmenter.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/FragmentsStats.java | 20 ++++++++++++++++++
.../java/org/apache/hawq/pxf/api/Metadata.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/MetadataFetcher.java | 20 ++++++++++++++++++
.../java/org/apache/hawq/pxf/api/OneField.java | 20 ++++++++++++++++++
.../java/org/apache/hawq/pxf/api/OneRow.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/OutputFormat.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/ReadAccessor.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/ReadResolver.java | 20 ++++++++++++++++++
.../hawq/pxf/api/UnsupportedTypeException.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/UserDataException.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/WriteAccessor.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/WriteResolver.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/api/io/DataType.java | 22 +++++++++++++++++++-
.../pxf/api/utilities/ColumnDescriptor.java | 20 ++++++++++++++++++
.../hawq/pxf/api/utilities/InputData.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/utilities/Plugin.java | 20 ++++++++++++++++++
.../pxf/api/utilities/ProfileConfException.java | 22 +++++++++++++++++++-
.../hawq/pxf/api/utilities/ProfilesConf.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/FilterParserTest.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/api/FragmentsStatsTest.java | 20 ++++++++++++++++++
.../pxf/api/utilities/ProfilesConfTest.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hbase/HBaseAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hbase/HBaseDataFragmenter.java | 20 ++++++++++++++++++
.../pxf/plugins/hbase/HBaseFilterBuilder.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hbase/HBaseResolver.java | 20 ++++++++++++++++++
.../hbase/utilities/HBaseColumnDescriptor.java | 20 ++++++++++++++++++
.../hbase/utilities/HBaseIntegerComparator.java | 20 ++++++++++++++++++
.../hbase/utilities/HBaseLookupTable.java | 20 ++++++++++++++++++
.../hbase/utilities/HBaseTupleDescription.java | 20 ++++++++++++++++++
.../plugins/hbase/utilities/HBaseUtilities.java | 20 ++++++++++++++++++
.../pxf/plugins/hbase/HBaseAccessorTest.java | 20 ++++++++++++++++++
.../pxf/plugins/hbase/HBaseResolverTest.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/AvroFileAccessor.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/AvroResolver.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/ChunkReader.java | 20 ++++++++++++++++++
.../pxf/plugins/hdfs/ChunkRecordReader.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/ChunkWritable.java | 22 +++++++++++++++++++-
.../hawq/pxf/plugins/hdfs/HdfsAnalyzer.java | 20 ++++++++++++++++++
.../plugins/hdfs/HdfsAtomicDataAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hdfs/HdfsDataFragmenter.java | 20 ++++++++++++++++++
.../hdfs/HdfsSplittableDataAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hdfs/LineBreakAccessor.java | 20 ++++++++++++++++++
.../plugins/hdfs/QuotedLineBreakAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hdfs/SequenceFileAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hdfs/StringPassResolver.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/WritableResolver.java | 20 ++++++++++++++++++
.../hdfs/utilities/DataSchemaException.java | 22 +++++++++++++++++++-
.../plugins/hdfs/utilities/HdfsUtilities.java | 20 ++++++++++++++++++
.../plugins/hdfs/utilities/PxfInputFormat.java | 20 ++++++++++++++++++
.../hdfs/utilities/RecordkeyAdapter.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hdfs/ChunkReaderTest.java | 20 ++++++++++++++++++
.../plugins/hdfs/SequenceFileAccessorTest.java | 20 ++++++++++++++++++
.../plugins/hdfs/StringPassResolverTest.java | 20 ++++++++++++++++++
.../hdfs/utilities/HdfsUtilitiesTest.java | 20 ++++++++++++++++++
.../plugins/hdfs/utilities/NotSoNiceCodec.java | 20 ++++++++++++++++++
.../hdfs/utilities/RecordkeyAdapterTest.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hive/HiveAccessor.java | 20 ++++++++++++++++++
.../plugins/hive/HiveColumnarSerdeResolver.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveDataFragmenter.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveFilterBuilder.java | 20 ++++++++++++++++++
.../plugins/hive/HiveInputFormatFragmenter.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveLineBreakAccessor.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveMetadataFetcher.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveRCFileAccessor.java | 20 ++++++++++++++++++
.../hawq/pxf/plugins/hive/HiveResolver.java | 20 ++++++++++++++++++
.../plugins/hive/HiveStringPassResolver.java | 20 ++++++++++++++++++
.../plugins/hive/utilities/HiveUtilities.java | 20 ++++++++++++++++++
.../plugins/hive/HiveDataFragmenterTest.java | 20 ++++++++++++++++++
.../pxf/plugins/hive/HiveFilterBuilderTest.java | 22 +++++++++++++++++++-
.../plugins/hive/HiveMetadataFetcherTest.java | 20 ++++++++++++++++++
.../hive/utilities/HiveUtilitiesTest.java | 20 ++++++++++++++++++
pxf/pxf-service/src/configs/pxf-site.xml | 20 ++++++++++++++++++
.../src/configs/tomcat/bin/setenv.sh | 16 ++++++++++++++
.../src/configs/tomcat/conf/server.xml | 20 ++++++++++++++++++
pxf/pxf-service/src/configs/tomcat/conf/web.xml | 22 +++++++++++++++++++-
.../hawq/pxf/service/AnalyzerFactory.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/service/Bridge.java | 20 ++++++++++++++++++
.../hawq/pxf/service/BridgeInputBuilder.java | 20 ++++++++++++++++++
.../hawq/pxf/service/BridgeOutputBuilder.java | 20 ++++++++++++++++++
.../hawq/pxf/service/FragmenterFactory.java | 20 ++++++++++++++++++
.../hawq/pxf/service/FragmentsResponse.java | 20 ++++++++++++++++++
.../pxf/service/FragmentsResponseFormatter.java | 20 ++++++++++++++++++
.../hawq/pxf/service/GPDBWritableMapper.java | 20 ++++++++++++++++++
.../pxf/service/MetadataFetcherFactory.java | 20 ++++++++++++++++++
.../pxf/service/MetadataResponseFormatter.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/service/ReadBridge.java | 20 ++++++++++++++++++
.../hawq/pxf/service/ReadSamplingBridge.java | 20 ++++++++++++++++++
.../apache/hawq/pxf/service/WriteBridge.java | 22 +++++++++++++++++++-
.../hawq/pxf/service/io/BufferWritable.java | 20 ++++++++++++++++++
.../hawq/pxf/service/io/GPDBWritable.java | 20 ++++++++++++++++++
.../org/apache/hawq/pxf/service/io/Text.java | 22 +++++++++++++++++++-
.../apache/hawq/pxf/service/io/Writable.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/AnalyzerResource.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/BridgeResource.java | 20 ++++++++++++++++++
.../pxf/service/rest/ClusterNodesResource.java | 20 ++++++++++++++++++
.../pxf/service/rest/FragmenterResource.java | 20 ++++++++++++++++++
.../pxf/service/rest/InvalidPathResource.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/MetadataResource.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/RestResource.java | 20 ++++++++++++++++++
.../service/rest/ServletLifecycleListener.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/WritableResource.java | 20 ++++++++++++++++++
.../pxf/service/utilities/AnalyzeUtils.java | 20 ++++++++++++++++++
.../service/utilities/CustomWebappLoader.java | 20 ++++++++++++++++++
.../pxf/service/utilities/Log4jConfigure.java | 20 ++++++++++++++++++
.../pxf/service/utilities/ProtocolData.java | 20 ++++++++++++++++++
.../hawq/pxf/service/utilities/SecureLogin.java | 20 ++++++++++++++++++
.../hawq/pxf/service/utilities/SecuredHDFS.java | 20 ++++++++++++++++++
.../hawq/pxf/service/utilities/Utilities.java | 20 ++++++++++++++++++
.../src/main/resources/pxf-log4j.properties | 19 ++++++++++++++++-
.../src/main/resources/pxf-profiles-default.xml | 20 ++++++++++++++++++
.../src/main/webapp/META-INF/context.xml | 20 ++++++++++++++++++
pxf/pxf-service/src/main/webapp/WEB-INF/web.xml | 20 ++++++++++++++++++
pxf/pxf-service/src/scripts/post-install.sh | 18 +++++++++++++++-
pxf/pxf-service/src/scripts/pre-install.sh | 18 +++++++++++++++-
pxf/pxf-service/src/scripts/pxf-env.sh | 18 +++++++++++++++-
.../pxf/service/BridgeOutputBuilderTest.java | 20 ++++++++++++++++++
.../service/MetadataResponseFormatterTest.java | 20 ++++++++++++++++++
.../pxf/service/ReadSamplingBridgeTest.java | 20 ++++++++++++++++++
.../hawq/pxf/service/io/BufferWritableTest.java | 20 ++++++++++++++++++
.../hawq/pxf/service/io/GPDBWritableTest.java | 20 ++++++++++++++++++
.../hawq/pxf/service/rest/RestResourceTest.java | 20 ++++++++++++++++++
.../pxf/service/utilities/AnalyzeUtilsTest.java | 20 ++++++++++++++++++
.../pxf/service/utilities/ProtocolDataTest.java | 20 ++++++++++++++++++
.../pxf/service/utilities/SecuredHDFSTest.java | 20 ++++++++++++++++++
.../pxf/service/utilities/UtilitiesTest.java | 20 ++++++++++++++++++
pxf/src/scripts/pxf_manual_failover.py | 18 +++++++++++++++-
pxf/tomcat/src/scripts/pre-install.sh | 16 ++++++++++++++
135 files changed, 2680 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/gradle.properties
----------------------------------------------------------------------
diff --git a/pxf/gradle.properties b/pxf/gradle.properties
index 828ae3f..45ca748 100644
--- a/pxf/gradle.properties
+++ b/pxf/gradle.properties
@@ -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.
+
version=3.1.0
hadoopVersion=2.7.1
hiveVersion=1.2.1
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/gradle/wrapper/gradle-wrapper.properties
----------------------------------------------------------------------
diff --git a/pxf/gradle/wrapper/gradle-wrapper.properties b/pxf/gradle/wrapper/gradle-wrapper.properties
index 230042f..9d89a18 100644
--- a/pxf/gradle/wrapper/gradle-wrapper.properties
+++ b/pxf/gradle/wrapper/gradle-wrapper.properties
@@ -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.
+
#Wed Aug 05 16:07:21 PDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Analyzer.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Analyzer.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Analyzer.java
index dd55ec9..529de30 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Analyzer.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Analyzer.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.utilities.InputData;
import org.apache.hawq.pxf.api.utilities.Plugin;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/AnalyzerStats.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/AnalyzerStats.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/AnalyzerStats.java
index 3d2c665..8101af0 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/AnalyzerStats.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/AnalyzerStats.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import org.codehaus.jackson.map.ObjectMapper;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/BadRecordException.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/BadRecordException.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/BadRecordException.java
index 63a5147..d410c37 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/BadRecordException.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/BadRecordException.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Thrown when a problem occurs while fetching or parsing a record from the user's input data.
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java
index 21cf7d7..ae96d22 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FilterParser.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragment.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragment.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragment.java
index cd3c55a..130a91d 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragment.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragment.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Fragment holds a data fragment' information.
* {@link Fragmenter#getFragments} returns a list of fragments.
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragmenter.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragmenter.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragmenter.java
index cb9cda8..da77b45 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragmenter.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Fragmenter.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.utilities.InputData;
import org.apache.hawq.pxf.api.utilities.Plugin;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FragmentsStats.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FragmentsStats.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FragmentsStats.java
index 004a11c..fad1a2d 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FragmentsStats.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/FragmentsStats.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.codehaus.jackson.map.ObjectMapper;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Metadata.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Metadata.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Metadata.java
index 2171943..c00e08a 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Metadata.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/Metadata.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import java.util.ArrayList;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/MetadataFetcher.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/MetadataFetcher.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/MetadataFetcher.java
index c042884..5f449e6 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/MetadataFetcher.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/MetadataFetcher.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Abstract class that defines getting metadata of a table.
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneField.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneField.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneField.java
index 53144bd..8d0d9f9 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneField.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneField.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Defines a one field in a deserialized record.
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneRow.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneRow.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneRow.java
index 3d36d83..263d360 100755
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneRow.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OneRow.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Represents one row in the external system data store.
* Supports the general case where one row contains both a record and a
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
index 4e96a23..230f9ff 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/OutputFormat.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* PXF supported output formats: {@link #TEXT} and {@link #BINARY}
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadAccessor.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadAccessor.java
index 51634bc..cc4d948 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadAccessor.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Interface that defines access to the source data store (e.g, a file on HDFS, a region of an HBase table, etc).
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadResolver.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadResolver.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadResolver.java
index 63628bb..2589a55 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadResolver.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/ReadResolver.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import java.util.List;
/**
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UnsupportedTypeException.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UnsupportedTypeException.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UnsupportedTypeException.java
index d96e1ab..37901a0 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UnsupportedTypeException.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UnsupportedTypeException.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Thrown when the resolver tries to serializes/deserializes an unsupported type.
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UserDataException.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UserDataException.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UserDataException.java
index 2c6a94f..b1dd2fc 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UserDataException.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/UserDataException.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Thrown when Accessor/Resolver failes to parse {@link org.apache.hawq.pxf.api.utilities.InputData#userData}.
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteAccessor.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteAccessor.java
index cf77c7a..4b47408 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteAccessor.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
/**
* Interface for writing data into a data store (e.g. a sequence file on HDFS).
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteResolver.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteResolver.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteResolver.java
index 0dd06c9..3986cdd 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteResolver.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/WriteResolver.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import java.util.List;
/**
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/io/DataType.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/io/DataType.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/io/DataType.java
index 0e7f65e..9b8b869 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/io/DataType.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/io/DataType.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.io;
+/*
+ * 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.
+ */
+
+
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
@@ -56,4 +76,4 @@ public enum DataType {
public int getOID() {
return OID;
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java
index b378ab2..baaca1d 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
/**
* ColumnDescriptor describes one column in hawq database.
* Currently it means a name, a type id (HAWQ/GPDB OID), a type name and column index.
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/InputData.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/InputData.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/InputData.java
index bc1cbfc..4f95ed9 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/InputData.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/InputData.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/Plugin.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/Plugin.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/Plugin.java
index 13f1daf..18707c0 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/Plugin.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/Plugin.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
/**
* Base class for all plugin types (Accessor, Resolver, Fragmenter, Analyzer, ...).
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfileConfException.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfileConfException.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfileConfException.java
index a5defbc..cb0d6c7 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfileConfException.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfileConfException.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
/**
* Thrown when there is a configuration problem with pxf profiles definitions.
* {@link ProfileConfException.MessageFormat#PROFILES_FILE_NOT_FOUND} when pxf-profiles.xml is missing from the CLASSPATH.
@@ -39,4 +59,4 @@ public class ProfileConfException extends RuntimeException {
public MessageFormat getMsgFormat() {
return msgFormat;
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfilesConf.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfilesConf.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfilesConf.java
index 5c85af6..607f28b 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfilesConf.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ProfilesConf.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.commons.collections.IteratorUtils;
import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.ConfigurationException;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java
index 5e777a7..0308f7f 100644
--- a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java
+++ b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FilterParserTest.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.FilterParser.FilterBuilder;
import org.apache.hawq.pxf.api.FilterParser.Operation;
import org.junit.Before;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FragmentsStatsTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FragmentsStatsTest.java b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FragmentsStatsTest.java
index 4e7eca0..e139ce6 100644
--- a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FragmentsStatsTest.java
+++ b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/FragmentsStatsTest.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api;
+/*
+ * 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.
+ */
+
+
import static org.junit.Assert.*;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/utilities/ProfilesConfTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/utilities/ProfilesConfTest.java b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/utilities/ProfilesConfTest.java
index 8c09ef5..495e48c 100644
--- a/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/utilities/ProfilesConfTest.java
+++ b/pxf/pxf-api/src/test/java/org/apache/hawq/pxf/api/utilities/ProfilesConfTest.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.api.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Before;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessor.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessor.java
index 9d38cae..82d2352 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessor.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.OneRow;
import org.apache.hawq.pxf.api.ReadAccessor;
import org.apache.hawq.pxf.api.utilities.InputData;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseDataFragmenter.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseDataFragmenter.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseDataFragmenter.java
index 1f1afae..433bd2a 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseDataFragmenter.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseDataFragmenter.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.Fragment;
import org.apache.hawq.pxf.api.Fragmenter;
import org.apache.hawq.pxf.api.FragmentsStats;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
index 6c750fa..6dc271e 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.FilterParser;
import org.apache.hawq.pxf.api.io.DataType;
import org.apache.hawq.pxf.plugins.hbase.utilities.HBaseColumnDescriptor;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolver.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolver.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolver.java
index 3ce0d1b..009aa7f 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolver.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolver.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.*;
import org.apache.hawq.pxf.api.io.DataType;
import org.apache.hawq.pxf.api.utilities.InputData;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseColumnDescriptor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseColumnDescriptor.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseColumnDescriptor.java
index 177cfa2..a845e0c 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseColumnDescriptor.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseColumnDescriptor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.utilities.ColumnDescriptor;
import org.apache.hadoop.hbase.util.Bytes;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseIntegerComparator.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseIntegerComparator.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseIntegerComparator.java
index 2da92db..eaf1137 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseIntegerComparator.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseIntegerComparator.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.hadoop.hbase.exceptions.DeserializationException;
import org.apache.hadoop.hbase.filter.ByteArrayComparable;
import org.apache.hadoop.hbase.filter.SubstringComparator;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseLookupTable.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseLookupTable.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseLookupTable.java
index dc2131c..f68c3c2 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseLookupTable.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseLookupTable.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.commons.collections.MapUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseTupleDescription.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseTupleDescription.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseTupleDescription.java
index 9150b8d..30e5bc5 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseTupleDescription.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseTupleDescription.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase.utilities;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.utilities.ColumnDescriptor;
import org.apache.hawq.pxf.api.utilities.InputData;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseUtilities.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseUtilities.java b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseUtilities.java
index 01f40bc..0441124 100644
--- a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseUtilities.java
+++ b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/utilities/HBaseUtilities.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase.utilities;
+/*
+ * 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.
+ */
+
+
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessorTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessorTest.java b/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessorTest.java
index c9119c7..a0ba099 100644
--- a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessorTest.java
+++ b/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseAccessorTest.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.utilities.InputData;
import org.apache.hawq.pxf.plugins.hbase.utilities.HBaseTupleDescription;
import org.apache.hadoop.conf.Configuration;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolverTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolverTest.java b/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolverTest.java
index 82890a8..b8a9f1e 100644
--- a/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolverTest.java
+++ b/pxf/pxf-hbase/src/test/java/org/apache/hawq/pxf/plugins/hbase/HBaseResolverTest.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hbase;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.BadRecordException;
import org.apache.hawq.pxf.api.utilities.InputData;
import org.apache.hawq.pxf.plugins.hbase.utilities.HBaseTupleDescription;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroFileAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroFileAccessor.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroFileAccessor.java
index fab51ca..ea9b71a 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroFileAccessor.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroFileAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.OneRow;
import org.apache.hawq.pxf.api.utilities.InputData;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroResolver.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroResolver.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroResolver.java
index 5586f1c..00ef830 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroResolver.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/AvroResolver.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.OneField;
import org.apache.hawq.pxf.api.OneRow;
import org.apache.hawq.pxf.api.ReadResolver;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkReader.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkReader.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkReader.java
index 6c8d54c..76dfe36 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkReader.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkReader.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkRecordReader.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkRecordReader.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkRecordReader.java
index 590b89c..3b10c3e 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkRecordReader.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkRecordReader.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import static org.apache.hadoop.hdfs.DFSConfigKeys.DFS_CLIENT_READ_SHORTCIRCUIT_SKIP_CHECKSUM_KEY;
import static org.apache.hadoop.mapreduce.lib.input.LineRecordReader.MAX_LINE_LENGTH;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkWritable.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkWritable.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkWritable.java
index 936c3ef..ecfb2e4 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkWritable.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/ChunkWritable.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import java.io.DataOutput;
import java.io.DataInput;
import java.lang.UnsupportedOperationException;
@@ -36,4 +56,4 @@ public class ChunkWritable implements Writable {
public void readFields(DataInput in) {
throw new UnsupportedOperationException("ChunkWritable.readFields() is not implemented");
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAnalyzer.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAnalyzer.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAnalyzer.java
index 49a4d39..08bfa15 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAnalyzer.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAnalyzer.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.Analyzer;
import org.apache.hawq.pxf.api.AnalyzerStats;
import org.apache.hawq.pxf.api.ReadAccessor;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAtomicDataAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAtomicDataAccessor.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAtomicDataAccessor.java
index fb728fa..178b774 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAtomicDataAccessor.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsAtomicDataAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.OneRow;
import org.apache.hawq.pxf.api.ReadAccessor;
import org.apache.hawq.pxf.api.utilities.InputData;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsDataFragmenter.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsDataFragmenter.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsDataFragmenter.java
index cccc75a..081b6db 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsDataFragmenter.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsDataFragmenter.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.Fragment;
import org.apache.hawq.pxf.api.Fragmenter;
import org.apache.hawq.pxf.api.FragmentsStats;
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/150c8b4a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsSplittableDataAccessor.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsSplittableDataAccessor.java b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsSplittableDataAccessor.java
index c1f2442..0174bd8 100644
--- a/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsSplittableDataAccessor.java
+++ b/pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/HdfsSplittableDataAccessor.java
@@ -1,5 +1,25 @@
package org.apache.hawq.pxf.plugins.hdfs;
+/*
+ * 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.
+ */
+
+
import org.apache.hawq.pxf.api.OneRow;
import org.apache.hawq.pxf.api.ReadAccessor;
import org.apache.hawq.pxf.api.utilities.InputData;