From issues-return-174307-archive-asf-public=cust-asf.ponee.io@hive.apache.org Mon Dec 9 08:21:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C05C518067C for ; Mon, 9 Dec 2019 09:21:03 +0100 (CET) Received: (qmail 12180 invoked by uid 500); 9 Dec 2019 08:21:02 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 12120 invoked by uid 99); 9 Dec 2019 08:21:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Dec 2019 08:21:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C0735E0F04 for ; Mon, 9 Dec 2019 08:21:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 6E1B4780492 for ; Mon, 9 Dec 2019 08:21:00 +0000 (UTC) Date: Mon, 9 Dec 2019 08:21:00 +0000 (UTC) From: "Hive QA (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-22599) Query results cache: 733 permissions check is not necessary MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22599?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1699= 1227#comment-16991227 ]=20 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.patc= h {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 ex= ecuted *Failed tests:* {noformat} TestStatsReplicationScenariosACIDNoAutogather - did not produce a TEST-*.xm= l file (likely timed out) (batchId=3D257) org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1 (batchId=3D276) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19828/test= Report Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19828/co= nsole 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.ensurePat= hIsWritable(), 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-writa= ble, and the subdirectories we create within this one are actually done wit= h 700 perms. So I think the call to=C2=A0Utilties.ensurePathIsWritable() ca= n be removed. -- This message was sent by Atlassian Jira (v8.3.4#803005)