hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14498) Freshness period for query rewriting using materialized views
Date Fri, 15 Dec 2017 13:36:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16292544#comment-16292544
] 

Hive QA commented on HIVE-14498:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12902229/HIVE-14498.02.patch

{color:green}SUCCESS:{color} +1 due to 12 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 35 failed/errored test(s), 11506 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[materialized_view_create_rewrite]
(batchId=246)
org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver (batchId=47)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_sortmerge_join_2] (batchId=48)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[fp_literal_arithmetic] (batchId=68)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_join5] (batchId=35)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[llap_smb] (batchId=151)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[bucketsortoptimize_insert_2]
(batchId=152)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[hybridgrace_hashjoin_2]
(batchId=157)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[insert_values_orig_table_use_metadata]
(batchId=165)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid] (batchId=169)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid_fast] (batchId=160)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[quotedid_smb] (batchId=157)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160)
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[authorization_part] (batchId=93)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[auto_sortmerge_join_10] (batchId=138)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[bucketsortoptimize_insert_7] (batchId=128)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[ppd_join5] (batchId=120)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113)
org.apache.hadoop.hive.metastore.TestMetaStoreEventListener.testListener (batchId=218)
org.apache.hadoop.hive.metastore.TestMetaStoreEventListener.testMetaConfDuplicateNotification
(batchId=218)
org.apache.hadoop.hive.metastore.TestMetaStoreEventListener.testMetaConfNotifyListenersClosingClient
(batchId=218)
org.apache.hadoop.hive.metastore.TestMetaStoreEventListener.testMetaConfNotifyListenersNonClosingClient
(batchId=218)
org.apache.hadoop.hive.metastore.TestMetaStoreEventListener.testMetaConfSameHandler (batchId=218)
org.apache.hadoop.hive.metastore.TestMetastoreExpr.testPartitionExpr (batchId=257)
org.apache.hadoop.hive.ql.metadata.TestHive.testTable (batchId=276)
org.apache.hadoop.hive.ql.metadata.TestHive.testThriftTable (batchId=276)
org.apache.hadoop.hive.ql.metadata.TestHiveRemote.testTable (batchId=277)
org.apache.hadoop.hive.ql.metadata.TestHiveRemote.testThriftTable (batchId=277)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=226)
org.apache.hive.beeline.TestSchemaTool.testMetastoreDbPropertiesAfterUpgrade (batchId=229)
org.apache.hive.beeline.TestSchemaTool.testSchemaUpgrade (batchId=229)
org.apache.hive.beeline.TestSchemaTool.testValidateSchemaTables (batchId=229)
org.apache.hive.jdbc.TestSSL.testMetastoreWithSSL (batchId=232)
org.apache.hive.jdbc.TestSSL.testSSLFetchHttp (batchId=232)
org.apache.hive.minikdc.TestSSLWithMiniKdc.testConnection (batchId=247)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/8267/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/8267/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-8267/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 35 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12902229 - PreCommit-HIVE-Build

> Freshness period for query rewriting using materialized views
> -------------------------------------------------------------
>
>                 Key: HIVE-14498
>                 URL: https://issues.apache.org/jira/browse/HIVE-14498
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Materialized views
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-14498.01.patch, HIVE-14498.02.patch, HIVE-14498.patch
>
>
> Once we have query rewriting in place (HIVE-14496), one of the main issues is data freshness
in the materialized views.
> Since we will not support view maintenance at first, we could include a HiveConf property
to configure a max freshness period (_n timeunits_). If a query comes, and the materialized
view has been populated (by create, refresh, etc.) for a longer period than _n_, then we should
not use it for rewriting the query.
> Optionally, we could print a warning for the user indicating that the materialized was
not used because it was not fresh.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message