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

Analyze will ERROR after register multiple parquet data files to a parquet table while enable debug and cassert in hawq configure

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0.0-incubating
    • Fix Version/s: backlog
    • Component/s: Core
    • Labels:
      None

      Description

      Enable debug and cassert in hawq configure, analyze will report Unexpected internal error after register multiple parquet data files to the table.

      reproduce steps:
      reproduce steps:
      1. ./configure --enable-debug --enable-cassert
      2. make -j8
      3. make install
      4. hawq init cluster -a

      5. hadoop fs -mkdir hdfs://localhost:8020/hawq_register_test
      6. hadoop fs -put $hawq_home/src/test/feature/ManagementTool/test_hawq_register_hawq.paq hdfs://localhost:8020/hawq_register_test/hawq1.paq
      7. create table t (i int) with (appendonly=true, orientation=parquet);
      8. hawq register -d postgres -f hdfs://localhost:8020/hawq_register_test/hawq1.paq t
      9.
      postgres=# select oid from pg_class where relname = 't';
      oid
      ------
      24586
      (1 row)
      postgres=# select * from pg_aoseg.pg_paqseg_24586;
      segno | eof | tupcount | eofuncompressed
      -----------------+----------------
      1 | 657 | -1 | -1
      (1 rows)
      postgres=#analyze t;
      FATAL: Unexpected internal error (analyze.c:1718)
      DETAIL: FailedAssertion("!(relTuples > -1.0)", File: "analyze.c", Line: 1718)
      HINT: Process 43356 will wait for gp_debug_linger=120 seconds before termination.
      Note that its locks and other resources will not be released until then.
      server closed the connection unexpectedly
      This probably means the server terminated abnormally
      before or while processing the request.
      The connection to the server was lost. Attempting reset: Succeeded

        Attachments

          Activity

            People

            • Assignee:
              xsheng Xiang Sheng
              Reporter:
              xsheng Xiang Sheng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: