ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhuvnesh2...@apache.org
Subject ambari git commit: AMBARI-15522: update pxf-profile template with new fields and description (adenissov via bhuvnesh2703)
Date Wed, 23 Mar 2016 17:17:01 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 7213fda8d -> 360a09ef9


AMBARI-15522: update pxf-profile template with new fields and description (adenissov via bhuvnesh2703)


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

Branch: refs/heads/trunk
Commit: 360a09ef95522182cb0c6e700c307611e9aadb7a
Parents: 7213fda
Author: Bhuvnesh Chaudhary <bchaudhary@pivotal.io>
Authored: Wed Mar 23 10:17:12 2016 -0700
Committer: Bhuvnesh Chaudhary <bchaudhary@pivotal.io>
Committed: Wed Mar 23 10:17:12 2016 -0700

----------------------------------------------------------------------
 .../PXF/3.0.0/configuration/pxf-profiles.xml    | 48 ++++++++------------
 1 file changed, 19 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/360a09ef/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 7ce0f71..9c2963b 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
@@ -63,9 +63,7 @@ under the License.
 <profiles>
     <profile>
         <name>HBase</name>
-        <description>
-          This profile is for HBase tables.
-        </description>
+        <description>This profile is suitable for using when connecting to an HBase
data store engine</description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hbase.HBaseDataFragmenter</fragmenter>
             <accessor>org.apache.hawq.pxf.plugins.hbase.HBaseAccessor</accessor>
@@ -74,45 +72,45 @@ under the License.
     </profile>
     <profile>
         <name>Hive</name>
-        <description>
-          This profile can be used for Hive tables in any Hive-supported file storage format.
-        </description>
+        <description>This profile is suitable for using when connecting to Hive</description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hive.HiveDataFragmenter</fragmenter>
             <accessor>org.apache.hawq.pxf.plugins.hive.HiveAccessor</accessor>
             <resolver>org.apache.hawq.pxf.plugins.hive.HiveResolver</resolver>
+            <metadata>org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher</metadata>
         </plugins>
     </profile>
     <profile>
         <name>HiveRC</name>
-        <description>
-          This profile is for Hive tables in RCFile format, serialized with either
-          ColumnarSerDe or LazyBinaryColumnarSerDe. It is much faster than the Hive profile.
-          The DELIMITER parameter is required.
+        <description>This profile is suitable only for Hive tables stored in RC 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.HiveRCFileAccessor</accessor>
             <resolver>org.apache.hawq.pxf.plugins.hive.HiveColumnarSerdeResolver</resolver>
+            <metadata>org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher</metadata>
         </plugins>
     </profile>
     <profile>
         <name>HiveText</name>
-        <description>
-          This profile is for Hive tables stored in Text files.
-          It is much faster than the Hive profile.
-          The DELIMITER parameter is required.
+        <description>This profile is suitable only for Hive tables stored as Text files.
+            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.HiveLineBreakAccessor</accessor>
             <resolver>org.apache.hawq.pxf.plugins.hive.HiveStringPassResolver</resolver>
+            <metadata>org.apache.hawq.pxf.plugins.hive.HiveMetadataFetcher</metadata>
         </plugins>
     </profile>
     <profile>
         <name>HdfsTextSimple</name>
-        <description>
-          This profile is for reading delimited single-line records from text files in HDFS.
+        <description>This profile is suitable for using when reading delimited single
line records from plain text files
+            on HDFS
         </description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter</fragmenter>
@@ -122,10 +120,8 @@ under the License.
     </profile>
     <profile>
         <name>HdfsTextMulti</name>
-        <description>
-          This profile is for reading delimited single-line records or multi-line records
-          (with quoted linefeeds) from text files in HDFS. It is not splittable
-          (non-parallel) and is slower than the HdfsTextSimple profile.
+        <description>This profile is suitable for using when reading delimited single
or multi line records (with quoted
+            linefeeds) from plain text files on HDFS. It is not splittable (non parallel)
and slower than HdfsTextSimple.
         </description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter</fragmenter>
@@ -135,9 +131,7 @@ under the License.
     </profile>
     <profile>
         <name>Avro</name>
-        <description>
-          This profile is for reading data stored in Avro files.
-        </description>
+        <description>This profile is suitable for using when reading Avro files (i.e
fileName.avro)</description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter</fragmenter>
             <accessor>org.apache.hawq.pxf.plugins.hdfs.AvroFileAccessor</accessor>
@@ -147,9 +141,7 @@ under the License.
     <profile>
         <name>SequenceWritable</name>
         <description>
-          This profile is for Hadoop Sequence files serialized with a custom Writable
-          class. Provide the name of the custom class with the "data-schema" parameter.
-          For example: pxf://nn:51200/path-to-file?Profile=SequenceWritable&amp;data-schema=CustomClass
+            Profile for accessing Sequence files serialized with a custom Writable class
         </description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.hdfs.HdfsDataFragmenter</fragmenter>
@@ -159,9 +151,7 @@ under the License.
     </profile>
     <profile>
         <name>GemFireXD</name>
-        <description>
-          This profile is for tables in GemFireXD.
-        </description>
+        <description>This profile is suitable for using when connecting to GemFireXD</description>
         <plugins>
             <fragmenter>org.apache.hawq.pxf.plugins.gemfirexd.GemFireXDFragmenter</fragmenter>
             <accessor>org.apache.hawq.pxf.plugins.gemfirexd.GemFireXDAccessor</accessor>


Mime
View raw message