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-22599) Query results cache: 733 permissions check is not necessary
Date Mon, 09 Dec 2019 08:21:00 GMT

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

Hive QA commented on HIVE-22599:
--------------------------------



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

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 17758 tests executed
*Failed tests:*
{noformat}
TestStatsReplicationScenariosACIDNoAutogather - did not produce a TEST-*.xml file (likely
timed out) (batchId=257)
org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1 (batchId=276)
{noformat}

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

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12988285 - PreCommit-HIVE-Build

> Query results cache: 733 permissions check is not necessary
> -----------------------------------------------------------
>
>                 Key: HIVE-22599
>                 URL: https://issues.apache.org/jira/browse/HIVE-22599
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-22599.1.patch
>
>
> The query results cache initialization makes a call to Utilties.ensurePathIsWritable(),
which checks the results cache directory for 733 permissions (default cache dir is
> {{/tmp/hive/_resultscache_).}}
> The 733 permissions (at least the 033 part) are not actually necessary - we actually
don't really want the results cache directory to be world-writable, and the subdirectories
we create within this one are actually done with 700 perms. So I think the call to Utilties.ensurePathIsWritable()
can be removed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message