You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/10/27 15:20:33 UTC

[05/16] ambari git commit: AMBARI-18695: Add PXF Hive ORC Profile (mithmatt)

AMBARI-18695: Add PXF Hive ORC Profile (mithmatt)


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

Branch: refs/heads/branch-feature-AMBARI-18634
Commit: 93a3fe1e88b7e7d7361ed7c5399ab41b985ea694
Parents: 03f61bd
Author: Matt <mm...@pivotal.io>
Authored: Wed Oct 26 11:29:17 2016 -0700
Committer: Matt <mm...@pivotal.io>
Committed: Wed Oct 26 11:29:17 2016 -0700

----------------------------------------------------------------------
 .../PXF/3.0.0/configuration/pxf-profiles.xml          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/93a3fe1e/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml b/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml
index 3c2aac0..77aa4fc 100644
--- a/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml
+++ b/ambari-server/src/main/resources/common-services/PXF/3.0.0/configuration/pxf-profiles.xml
@@ -107,6 +107,20 @@ under the License.
         </plugins>
     </profile>
     <profile>
+        <name>HiveORC</name>
+        <description>This profile is suitable only for Hive tables stored in ORC files
+            and serialized with either the ColumnarSerDe or the LazyBinaryColumnarSerDe.
+            It is much faster than the general purpose Hive profile.
+            DELIMITER parameter is mandatory.
+        </description>
+        <plugins>
+            <fragmenter>org.apache.hawq.pxf.plugins.hive.HiveInputFormatFragmenter</fragmenter>
+            <accessor>org.apache.hawq.pxf.plugins.hive.HiveORCAccessor</accessor>
+            <resolver>org.apache.hawq.pxf.plugins.hive.HiveORCSerdeResolver</resolver>
+            <metadata>org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher</metadata>
+        </plugins>
+    </profile>
+    <profile>
         <name>HdfsTextSimple</name>
         <description>This profile is suitable for using when reading delimited single line records from plain text files
             on HDFS