Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1437

Hadoop enabled Kerberos,HAWQ occurs errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • None
    • 2.2.0.0-incubating
    • PXF
    • None

    Description

      When kerberos enabled with Hadoop , HAWQ create external table from hdfs need principal information, what should I do can create it success?

      postgres=#
      postgres=#
      postgres=# CREATE EXTERNAL TABLE pxf_hdfs_textsimple(location text, month text, num_orders int, total_sales float8)
      postgres-# LOCATION ('pxf://mycluster/data/pxf_examples/pxf_hdfs_simple.txt?PROFILE=HdfsTextSimple')
      postgres-# FORMAT 'TEXT' (delimiter=E',');
      ERROR: Invalid URI pxf://mycluster/data/pxf_examples/pxf_hdfs_simple.txt?PROFILE=HdfsTextSimple : missing authority section

      postgres=#
      postgres=#
      postgres=# CREATE EXTERNAL TABLE pxf_hdfs_textsimple(location text, month text, num_orders int, total_sales float8)
      postgres-# LOCATION ('pxf:///mycluster/data/pxf_examples/pxf_hdfs_simple.txt?PROFILE=HdfsTextSimple&principal=hdfs-bigdatacenter@BIGDATA')
      postgres-# FORMAT 'TEXT' (delimiter=E',');
      ERROR: Invalid URI pxf:///mycluster/data/pxf_examples/pxf_hdfs_simple.txt?PROFILE=HdfsTextSimple&principal=hdfs-bigdatacenter@BIGDATA : missing authority section

      Attachments

        Activity

          People

            espino Ed Espino
            lynnyuan lynn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: