tag:github.com,2008:https://github.com/cloudera/Impala/releasesTags from Impala2020-01-15T15:40:42Ztag:github.com,2008:Repository/6282442/cdh6.3.3-release2020-01-15T15:40:42Zcdh6.3.3-release: IMPALA-8960: Fix test_owner_privileges::test_drop_if_exists on S3<p>IMPALA-8960: Fix test_owner_privileges::test_drop_if_exists on S3</p>
<p>hdfs:// URIs do not work on Impala's S3 tests. The fix is to drop
<br />the hdfs:// part of the URI. Our tests run against the default
<br />filesystem, so dropping the hdfs:// works on both HDFS test setups
<br />and S3 test setups.</p>
<p>Testing:
<br /> - Ran tests on S3
<br /> - Ran test_owner_privileges.py on HDFS locally</p>
<p>Change-Id: Id7be961094f03c5fde3f8b4c340814d26470818a
<br />Reviewed-on: <a href="http://gerrit.cloudera.org:8080/14334">http://gerrit.cloudera.org:8080/14334</a>
<br />Reviewed-by: Michael Ho <kwho@cloudera.com>
<br />Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/c/cdh/impala/+/66469">https://gerrit.sjc.cloudera.com/c/cdh/impala/+/66469</a>
<br />API-Compat: Gabor Solya <gsolya@cloudera.com>
<br />CDH-Build: Gabor Solya <gsolya@cloudera.com>
<br />Reviewed-by: Gabor Solya <gsolya@cloudera.com>
<br />Quasar-L0: Gabor Solya <gsolya@cloudera.com>
<br />Tested-by: Gabor Solya <gsolya@cloudera.com></p>joemcdonnelltag:github.com,2008:Repository/6282442/cdh6.3.2-release2019-11-06T21:14:57Zcdh6.3.2-release: CLOUDERA-BUILD. Preparing for 6.3.2 release.<p>CLOUDERA-BUILD. Preparing for 6.3.2 release.</p>
<p>Commit performed on <a href="https://master-01.jenkins.cloudera.com/">https://master-01.jenkins.cloudera.com/</a></p>
<p>Signed-off-by: cloudera <cauldron-dev@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh6.3.1-release2019-09-18T09:43:30Zcdh6.3.1-release: CLOUDERA-BUILD. Preparing for 6.3.1 release.<p>CLOUDERA-BUILD. Preparing for 6.3.1 release.</p>
<p>Commit performed on <a href="https://master-01.jenkins.cloudera.com/">https://master-01.jenkins.cloudera.com/</a></p>
<p>Signed-off-by: cloudera <cauldron-dev@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh6.2.1-release2019-08-28T06:56:33Zcdh6.2.1-release: CLOUDERA-BUILD. Preparing for 6.2.1 release.<p>CLOUDERA-BUILD. Preparing for 6.2.1 release.</p>
<p>Commit performed on <a href="https://master-01.jenkins.cloudera.com/">https://master-01.jenkins.cloudera.com/</a></p>
<p>Signed-off-by: cloudera <cauldron-dev@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh6.3.0-release2019-06-26T09:14:06Zcdh6.3.0-release: CLOUDERA-BUILD. Preparing for 6.3.0 release.<p>CLOUDERA-BUILD. Preparing for 6.3.0 release.</p>
<p>Commit performed on <a href="https://master-01.jenkins.cloudera.com/">https://master-01.jenkins.cloudera.com/</a></p>
<p>Signed-off-by: cloudera <cauldron-dev@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh5.16.2-release2019-04-24T18:45:08Zcdh5.16.2-release: IMPALA-8270: fix MemTracker teardown in FeSupport<p>IMPALA-8270: fix MemTracker teardown in FeSupport</p>
<p>This patch tries to simplify and standardise the order
<br />in which control structures are torn down. As a
<br />consequence the bug is fixed. I've described the bug
<br />below.</p>
<p>The changes are:
<br />* Make more control structures owned directly by
<br /> QueryState::obj_pool_, so that they are all
<br /> destroyed at the same time via ~QueryState.
<br />* Tear down local_query_state_ explicitly before
<br /> other destructors run.</p>
<p>Either change is sufficient to fix the bug, but
<br />I preferred to do both to reduce the chances
<br />of similar bugs in future.</p>
<p>Description of bug:
<br />===================
<br />In the normal query execution flow:
<br />- RuntimeState is in QueryState::obj_pool_
<br />- RuntimeState owns RuntimeState::instance_mem_tracker_ via scoped_ptr
<br />- QueryState::query_mem_tracker_ is in QueryState::obj_pool_
<br />- QueryState::query_mem_tracker_ has a reference to
<br /> RuntimeState::instance_mem_tracker_
<br />The tear-down works because ~QueryState unregisters query_mem_tracker_
<br />from its parent, making the whole subtree unreachable before destroying
<br />QueryState::obj_pool_. It is thus safe to destroy instance_mem_tracker_
<br />along with the rest of obj_pool_.</p>
<p>FeSupport messes this up by having RuntimeState own the QueryState
<br />RuntimeState::local_query_state_ via a scoped_ptr, and the implied
<br />destructor order means that RuntimeState::instance_mem_tracker_ is
<br />destroyed before RuntimeState::local_query_state_, which breaks the
<br />above flow and the destroyed instance_mem_tracker_ is reachable from
<br />the process MemTracker via QueryState::query_mem_tracker_ for a
<br />small window until it is unregistered.</p>
<p>Testing:
<br />Added a backend test that reproduced the ASAN use-after-free
<br />failure when run against unmodified RuntimeState code. I did
<br />not make it a unified backend test so that it would be easier
<br />to backport this fix to older versions that don't have unified
<br />tests.</p>
<p>Change-Id: If815130cd4db00917746f10b28514f779ee254f0
<br />Reviewed-on: <a href="http://gerrit.cloudera.org:8080/13057">http://gerrit.cloudera.org:8080/13057</a>
<br />Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
<br />Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com>
<br />Reviewed-by: Bikramjeet Vig <bikramjeet.vig@cloudera.com>
<br />Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/c/Impala/+/44586">https://gerrit.sjc.cloudera.com/c/Impala/+/44586</a>
<br />Tested-by: Tim Armstrong <tarmstrong@cloudera.com>
<br />(cherry picked from commit ec0c0050b390c3e78ca0b9c7052e6e25d227509a)
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/c/Impala/+/44664">https://gerrit.sjc.cloudera.com/c/Impala/+/44664</a></p>timarmstrongtag:github.com,2008:Repository/6282442/cdh6.2.0-release2019-03-12T04:56:42Zcdh6.2.0-release: IMPALA-7972 Detect self-events to avoid unnecessary invalidates<p>IMPALA-7972 Detect self-events to avoid unnecessary invalidates</p>
<p>This patch adds support to detect self-generated events from catalog.
<br />This is used to avoid unnecessary invalidates to the tables from such
<br />self-events. Currently, alter_table, alter_partition, add_partition and
<br />drop_partition event types can invalidate the table metadata.</p>
<p>Originally, we planned to have a global version number support from
<br />metastore (see HIVE-21115). But since that is still not complete, we
<br />rely on a combination of other identifiers to determine if a event is
<br />self-generated or not. These self-event identifiers consists of values
<br />from the table/partition parameters. A catalog service uuid
<br />and the catalog version number. The uuid is generated for each
<br />catalogservice when it comes up and it adds it to the table/partition
<br />parameters with the key "impala.CatalogServiceId". The catalog version
<br />number is added with the key "impala.CatalogVersion".</p>
<p>When catalog executes a DDL operation it appends the current catalog
<br />version to the list of version numbers for the in-flight events for the
<br />table. Events processor clears this version when the corresponding
<br />version number identified by serviceId is received in the event. This is
<br />needed since it is possible that a external non-Impala system which
<br />generates the event presents the same serviceId and version number later
<br />on. The algorithm to detect a self-event is as below.</p>
<p>1. Add the service id and expected catalog version to table/partition
<br />parameters when executing the DDL operation. When the HMS operation is
<br />successful, add the version number to the list of version for in-flight
<br />events at table level.
<br />2. When the event is received, the first time you see the combination of
<br />serviceId and version number, event processor clears the version number
<br />from table's list and determines the event as self-generated (and hence
<br />ignored)
<br />3. If the event data presents a unknown serviceId or if the version
<br />number is not present in the list of in-flight versions, event is not a
<br />self-event and needs to be processed.</p>
<p>In order to limit the total memory footprint, only 10 version numbers
<br />are stored at the table. Since the event processor is expected to poll
<br />every few seconds this should be a reasonable bound which satisfies most
<br />use-cases. Otherwise, event processor may wrongly process a self-event
<br />to invalidate the table. In such a case, its a performance penalty not a
<br />correctness issue.</p>
<p>In case of drop_partition event, the partition object is not available
<br />in the event. Hence we cannot determine if its a self-event. In such
<br />cases currently we always issue a invalidate command. This is a known
<br />limitation and will be improved in IMPALA-7973</p>
<p>Patch adds new tests to trigger alter table/partition DDLs from impala
<br />and makes sure that the table is not invalidated.</p>
<p>Change-Id: I29e487b903ba7493f90575c26c44a0019ff0362e
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/42671">https://gerrit.sjc.cloudera.com/42671</a>
<br />Tested-by: Jenkins User <jenkins@cloudera.com>
<br />CDH-Build: Jenkins User <jenkins@cloudera.com>
<br />Quasar-L0: Jenkins User <jenkins@cloudera.com>
<br />Reviewed-by: Vihang Karajgaonkar <vihang@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh6.1.1-release2019-01-29T14:05:55Zcdh6.1.1-release: IMPALA-7943: Bump the default client timeout set on impala-shell<p>IMPALA-7943: Bump the default client timeout set on impala-shell</p>
<p>As part of IMPALA-7555, we added a default socket timeout of 5 seconds
<br />when connecting to an impalad. Under heavy load with kerberos and SSL
<br />enabled, we could hit this default timeout. This change bumps up the
<br />timeout to 60 secs to make the impala-shell more robust.</p>
<p>Change-Id: Ifc40069e86cbf93634320804efba003fb5551afe
<br />Reviewed-on: <a href="http://gerrit.cloudera.org:8080/12051">http://gerrit.cloudera.org:8080/12051</a>
<br />Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
<br />Reviewed-by: Lars Volker <lv@cloudera.com>
<br />Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
<br />(cherry picked from commit <a class="commit-link" href="https://github.com/cloudera/Impala/commit/c2627ba469ccc01d2df40a7c9200839c918f9b0c"><tt>c2627ba</tt></a>)
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/41169">https://gerrit.sjc.cloudera.com/41169</a>
<br />Tested-by: Jenkins User <jenkins@cloudera.com>
<br />CDH-Build: Jenkins User <jenkins@cloudera.com>
<br />Quasar-L0: Laszlo Gaal <laszlo.gaal@cloudera.com>
<br />Reviewed-by: Laszlo Gaal <laszlo.gaal@cloudera.com>
<br />(cherry picked from commit 3794d20f1ef24435b575aba56bda2023cee60fa4)
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/41201">https://gerrit.sjc.cloudera.com/41201</a>
<br />Quasar-L0: Jenkins User <jenkins@cloudera.com></p>tag:github.com,2008:Repository/6282442/cdh5.16.1-release2018-11-20T18:00:39Zcdh5.16.1-release: Updated save-version.sh for CDH5.16.1<p>Updated save-version.sh for CDH5.16.1</p>
<p>Change-Id: Iddcd9cddc6c3529ebb4442fd4cd7ff30ed512a83
<br />Reviewed-on: <a href="https://gerrit.sjc.cloudera.com/39721">https://gerrit.sjc.cloudera.com/39721</a>
<br />Reviewed-by: Bernadett Balogh <bbalogh@cloudera.com>
<br />Tested-by: Bernadett Balogh <bbalogh@cloudera.com></p>bbalogh-cldrtag:github.com,2008:Repository/6282442/cdh5.15.2-release2018-11-13T09:32:41Zcdh5.15.2-releasecloudera-hudson