You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jr...@apache.org on 2017/11/30 02:22:20 UTC
impala git commit: IMPALA-4539: [DOCS] Add known issue for
uncompressed Parquet correctness
Repository: impala
Updated Branches:
refs/heads/master b3d8a507c -> af8b58a78
IMPALA-4539: [DOCS] Add known issue for uncompressed Parquet correctness
Change-Id: I731eb0e029dc3cc251f4df0c5a8ad281c81595cb
Reviewed-on: http://gerrit.cloudera.org:8080/8418
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins
Project: http://git-wip-us.apache.org/repos/asf/impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/af8b58a7
Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/af8b58a7
Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/af8b58a7
Branch: refs/heads/master
Commit: af8b58a785c5b270e6a342504f309ba4c0394fb3
Parents: b3d8a50
Author: John Russell <jr...@cloudera.com>
Authored: Mon Oct 30 14:16:58 2017 -0700
Committer: Impala Public Jenkins <im...@gerrit.cloudera.org>
Committed: Thu Nov 30 02:15:47 2017 +0000
----------------------------------------------------------------------
docs/topics/impala_known_issues.xml | 45 ++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/impala/blob/af8b58a7/docs/topics/impala_known_issues.xml
----------------------------------------------------------------------
diff --git a/docs/topics/impala_known_issues.xml b/docs/topics/impala_known_issues.xml
index 27e45e7..a40aaff 100644
--- a/docs/topics/impala_known_issues.xml
+++ b/docs/topics/impala_known_issues.xml
@@ -930,6 +930,51 @@ impala hard nproc 262144
</conbody>
+ <concept id="IMPALA-4539">
+ <title>Parquet scanner memory bug: I/O buffer is attached to output batch while scratch batch rows still reference it</title>
+<!-- TSB-225 title: Possibly incorrect results when scanning uncompressed Parquet files with Impala. -->
+ <conbody>
+ <p>
+ Impala queries may return incorrect results when scanning plain-encoded string
+ columns in uncompressed Parquet files. I/O buffers holding the string data are
+ prematurely freed, leading to invalid memory reads and possibly
+ non-deterministic results. This does not affect Parquet files that use a
+ compression codec such as Snappy. Snappy is both strongly recommended generally
+ and the default choice for Impala-written Parquet files.
+ </p>
+ <p>
+ How to determine whether a query might be affected:
+ </p>
+ <ul>
+ <li>
+ The query must reference <codeph>STRING</codeph> columns from a Parquet table.
+ </li>
+ <li>
+ A selective filter on the Parquet table makes this issue more likely.
+ </li>
+ <li>
+ Identify any uncompressed Parquet files processed by the query.
+ Examine the <codeph>HDFS_SCAN_NODE</codeph> portion of a query profile that scans the
+ suspected table. Use a query that performs a full table scan, and materializes the column
+ values. (For example, <codeph>SELECT MIN(<varname>colname</varname>) FROM <varname>tablename</varname></codeph>.)
+ Look for <q>File Formats</q>. A value containing <codeph>PARQUET/NONE</codeph> means uncompressed Parquet.
+ </li>
+ <li>
+ Identify any plain-encoded string columns in the associated table. Pay special attention to tables
+ containing Parquet files generated through Hive, Spark, or other mechanisms outside of Impala,
+ because Impala uses Snappy compression by default for Parquet files. Use <codeph>parquet-tools</codeph>
+ to dump the file metadata. Note that a column could have several encodings within the same file (the column
+ data is stored in several column chunks). Look for <codeph>VLE:PLAIN</codeph> in the output of
+ <codeph>parquet-tools</codeph>, which means the values are plain encoded.
+ </li>
+ </ul>
+ <p><b>Bug:</b> <xref keyref="IMPALA-4539">IMPALA-4539</xref></p>
+ <p><b>Severity:</b> High</p>
+ <p><b>Resolution:</b> Upgrade to a version of Impala containing the fix for <xref keyref="IMPALA-4539">IMPALA-4539</xref>.</p>
+ <p><b>Workaround:</b> Use Snappy or another compression codec for Parquet files.</p>
+ </conbody>
+ </concept>
+
<concept id="IMPALA-4513">
<title>ABS(n) where n is the lowest bound for the int types returns negative values</title>
<conbody>