From common-issues-return-207349-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Sep 25 13:40:06 2020 Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@locus.apache.org Delivered-To: apmail-hadoop-common-issues-archive@locus.apache.org Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by minotaur.apache.org (Postfix) with ESMTP id 7F3F61A0D4 for ; Fri, 25 Sep 2020 13:40:06 +0000 (UTC) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 3A59264F10 for ; Fri, 25 Sep 2020 13:40:05 +0000 (UTC) Received: (qmail 24978 invoked by uid 500); 25 Sep 2020 13:40:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 24921 invoked by uid 500); 25 Sep 2020 13:40: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 24881 invoked by uid 99); 25 Sep 2020 13:40: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:40: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 9691843696 for ; Fri, 25 Sep 2020 13:40: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 E02797823F0 for ; Fri, 25 Sep 2020 13:40:00 +0000 (UTC) Date: Fri, 25 Sep 2020 13:40: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=491064&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-491064 ] ASF GitHub Bot logged work on HADOOP-17255: ------------------------------------------- Author: ASF GitHub Bot Created on: 25/Sep/20 13:39 Start Date: 25/Sep/20 13:39 Worklog Time Spent: 10m Work Description: aajisaka commented on pull request #2291: URL: https://github.com/apache/hadoop/pull/2291#issuecomment-698727414 Thank you @steveloughran for your review. The unit test failure is related. I'll fix this before merging. > we can move the code in distcp etc to using it? Agreed. ---------------------------------------------------------------- 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: 491064) Time Spent: 1h 20m (was: 1h 10m) > 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 20m > 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