Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02AD2186AF for ; Mon, 21 Mar 2016 18:38:27 +0000 (UTC) Received: (qmail 35481 invoked by uid 500); 21 Mar 2016 18:38:25 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35401 invoked by uid 500); 21 Mar 2016 18:38:25 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 35019 invoked by uid 99); 21 Mar 2016 18:38:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2016 18:38:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 97B142C1F64 for ; Mon, 21 Mar 2016 18:38:25 +0000 (UTC) Date: Mon, 21 Mar 2016 18:38:25 +0000 (UTC) From: "Andrew Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9405) Warmup NameNode EDEK caches in background thread 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/HDFS-9405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15204847#comment-15204847 ] Andrew Wang commented on HDFS-9405: ----------------------------------- One teensy nit is that I think we could make initialDelay and retryInterval final, but that's not a blocker. Will commit shortly, thanks Xiao! > Warmup NameNode EDEK caches in background thread > ------------------------------------------------ > > Key: HDFS-9405 > URL: https://issues.apache.org/jira/browse/HDFS-9405 > Project: Hadoop HDFS > Issue Type: Improvement > Components: encryption, namenode > Affects Versions: 2.7.1 > Reporter: Zhe Zhang > Assignee: Xiao Chen > Attachments: HDFS-9405.01.patch, HDFS-9405.02.patch, HDFS-9405.03.patch, HDFS-9405.04.patch, HDFS-9405.05.patch, HDFS-9405.06.patch, HDFS-9405.07.patch, HDFS-9405.08.patch, HDFS-9405.09.patch, HDFS-9405.10.patch, HDFS-9405.11.patch, HDFS-9405.12.patch, HDFS-9405.13.patch > > > {{generateEncryptedDataEncryptionKey}} involves a non-trivial I/O operation to the key provider, which could be slow or cause timeout. It should be done as a separate thread so as to return a proper error message to the RPC caller. -- This message was sent by Atlassian JIRA (v6.3.4#6332)