Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E6E110B50 for ; Tue, 18 Feb 2014 00:27:25 +0000 (UTC) Received: (qmail 64459 invoked by uid 500); 18 Feb 2014 00:27:21 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 64382 invoked by uid 500); 18 Feb 2014 00:27:21 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 64369 invoked by uid 500); 18 Feb 2014 00:27:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 64364 invoked by uid 99); 18 Feb 2014 00:27:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 00:27:20 +0000 Date: Tue, 18 Feb 2014 00:27:20 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-860) Persistent distributed cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brock Noland updated HIVE-860: ------------------------------ Attachment: HIVE-860.patch I tested manually on a cluster but I am sure tests will be impacted by this change. Let's see. https://reviews.apache.org/r/18200/ > Persistent distributed cache > ---------------------------- > > Key: HIVE-860 > URL: https://issues.apache.org/jira/browse/HIVE-860 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.12.0 > Reporter: Zheng Shao > Assignee: Brock Noland > Fix For: 0.13.0 > > Attachments: HIVE-860.patch > > > DistributedCache is shared across multiple jobs, if the hdfs file name is the same. > We need to make sure Hive put the same file into the same location every time and do not overwrite if the file content is the same. > We can achieve 2 different results: > A1. Files added with the same name, timestamp, and md5 in the same session will have a single copy in distributed cache. > A2. Filed added with the same name, timestamp, and md5 will have a single copy in distributed cache. > A2 has a bigger benefit in sharing but may raise a question on when Hive should clean it up in hdfs. -- This message was sent by Atlassian JIRA (v6.1.5#6160)