You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Yi Jin (JIRA)" <ji...@apache.org> on 2017/08/10 09:25:00 UTC
[jira] [Updated] (HAWQ-1147) Analyze will ERROR after register
multiple parquet data files to a parquet table while enable debug and
cassert in hawq configure
[ https://issues.apache.org/jira/browse/HAWQ-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Jin updated HAWQ-1147:
-------------------------
Fix Version/s: (was: 2.3.0.0-incubating)
backlog
> Analyze will ERROR after register multiple parquet data files to a parquet table while enable debug and cassert in hawq configure
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: HAWQ-1147
> URL: https://issues.apache.org/jira/browse/HAWQ-1147
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.1.0.0-incubating
> Reporter: Xiang Sheng
> Assignee: Xiang Sheng
> Fix For: backlog
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)