Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CFFB2200CF1 for ; Mon, 28 Aug 2017 10:17:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE60F1609B7; Mon, 28 Aug 2017 08:17:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20CE31609B6 for ; Mon, 28 Aug 2017 10:17:09 +0200 (CEST) Received: (qmail 12658 invoked by uid 500); 28 Aug 2017 08:17:09 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 12566 invoked by uid 99); 28 Aug 2017 08:17:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2017 08:17:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2C3F5C22BA for ; Mon, 28 Aug 2017 08:17:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4R_AbCXOTlhi for ; Mon, 28 Aug 2017 08:17:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6C96A622FC for ; Mon, 28 Aug 2017 08:17:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F15CCE0E7F for ; Mon, 28 Aug 2017 08:17:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3019325385 for ; Mon, 28 Aug 2017 08:17:00 +0000 (UTC) Date: Mon, 28 Aug 2017 08:17:00 +0000 (UTC) From: "Weiwei Yang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-12365) Ozone: ListVolume displays incorrect createdOn time when the volume was created by OzoneRpcClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Aug 2017 08:17:11 -0000 [ https://issues.apache.org/jira/browse/HDFS-12365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Weiwei Yang updated HDFS-12365: ------------------------------- Status: Patch Available (was: Open) > Ozone: ListVolume displays incorrect createdOn time when the volume was created by OzoneRpcClient > ------------------------------------------------------------------------------------------------- > > Key: HDFS-12365 > URL: https://issues.apache.org/jira/browse/HDFS-12365 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Attachments: HDFS-12365-HDFS-7240.001.patch > > > Reproduce steps > 1. Create a key in ozone with corona (this delegates the call to OzoneRpcClient), e.g > {code} > [wwei@ozone1 hadoop-3.0.0-beta1-SNAPSHOT]$ ./bin/hdfs corona -numOfThreads 1 -numOfVolumes 1 -numOfBuckets 1 -numOfKeys 1 > {code} > 2. Run listVolume > {code} > [wwei@ozone1 hadoop-3.0.0-beta1-SNAPSHOT]$ ./bin/hdfs oz -listVolume http://localhost:9864 -user wwei > { > "owner" : { > "name" : "wwei" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "vol-0-31437", > "createdOn" : "Thu, 01 Jan 1970 00:00:00 GMT", > "createdBy" : null > } > { > "owner" : { > "name" : "wwei" > }, > "quota" : { > "unit" : "TB", > "size" : 1048576 > }, > "volumeName" : "vol-0-38900", > "createdOn" : "Thu, 01 Jan 1970 00:00:00 GMT", > "createdBy" : null > } > {code} > Note, the time displayed in {{createdOn}} are both incorrect {{Thu, 01 Jan 1970 00:00:00 GMT}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org