From common-issues-return-207315-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Sep 25 13:29:04 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 8D6F4180636 for ; Fri, 25 Sep 2020 15:29:04 +0200 (CEST) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id BDD95125512 for ; Fri, 25 Sep 2020 13:29:03 +0000 (UTC) Received: (qmail 86790 invoked by uid 500); 25 Sep 2020 13:29:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 86738 invoked by uid 99); 25 Sep 2020 13:29:03 -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; Fri, 25 Sep 2020 13:29:03 +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 1D2544288C for ; Fri, 25 Sep 2020 13:29:02 +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 D9F4A78058D for ; Fri, 25 Sep 2020 13:29:00 +0000 (UTC) Date: Fri, 25 Sep 2020 13:29:00 +0000 (UTC) From: "ASF GitHub Bot (Jira)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work logged] (HADOOP-17255) JavaKeyStoreProvider fails to create a new key if the keystore is HDFS 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/HADOOP-17255?focusedWorklogId=490946&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-490946 ] ASF GitHub Bot logged work on HADOOP-17255: ------------------------------------------- Author: ASF GitHub Bot Created on: 25/Sep/20 13:28 Start Date: 25/Sep/20 13:28 Worklog Time Spent: 10m Work Description: steveloughran commented on pull request #2291: URL: https://github.com/apache/hadoop/pull/2291#issuecomment-698237933 Akira -I'm +1 on this...commit at your leisure ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 490946) Time Spent: 1h 10m (was: 1h) > JavaKeyStoreProvider fails to create a new key if the keystore is HDFS > ---------------------------------------------------------------------- > > Key: HADOOP-17255 > URL: https://issues.apache.org/jira/browse/HADOOP-17255 > Project: Hadoop Common > Issue Type: Bug > Components: kms > Reporter: Akira Ajisaka > Assignee: Akira Ajisaka > Priority: Critical > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > The caller of JavaKeyStoreProvider#renameOrFail assumes that it throws FileNotFoundException if the src does not exist. However, JavaKeyStoreProvider#renameOrFail calls the old rename API. In DistributedFileSystem, the old API returns false if the src does not exist. > That way JavaKeyStoreProvider fails to create a new key if the keystore is HDFS. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org