From hdfs-issues-return-286848-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri Oct 4 21:32:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D5321180651 for ; Fri, 4 Oct 2019 23:32:03 +0200 (CEST) Received: (qmail 2647 invoked by uid 500); 4 Oct 2019 21:32:02 -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 2388 invoked by uid 99); 4 Oct 2019 21:32:01 -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, 04 Oct 2019 21:32:01 +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 0BAF3E30FE for ; Fri, 4 Oct 2019 21:32:01 +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 5ED2878077D for ; Fri, 4 Oct 2019 21:32:00 +0000 (UTC) Date: Fri, 4 Oct 2019 21:32:00 +0000 (UTC) From: "Marton Elek (Jira)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDDS-2250) Generated configs missing from ozone-filesystem-lib jars 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/HDDS-2250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marton Elek updated HDDS-2250: ------------------------------ Fix Version/s: 0.5.0 Resolution: Fixed Status: Resolved (was: Patch Available) > Generated configs missing from ozone-filesystem-lib jars > -------------------------------------------------------- > > Key: HDDS-2250 > URL: https://issues.apache.org/jira/browse/HDDS-2250 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: build, Ozone Filesystem > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Critical > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 1h > Remaining Estimate: 0h > > Hadoop 3.1 and 3.2 acceptance tests started failing with HDDS-1720, which added a new, annotated configuration class. > The [change itself|https://github.com/apache/hadoop/pull/1538/files] looks fine. The problem is that the packaging process for {{ozone-filesystem-lib}} jars keeps only 1 or 2 {{ozone-default-generated.xml}} files. With the new config in place, client configs are missing, so Ratis client gets evicted immediately due to {{scm.container.client.idle.threshold}} = 0. This results in NPE: > {code:title=https://elek.github.io/ozone-ci-q4/pr/pr-hdds-1720-trunk-rd9ht/acceptance/summary.html#s1-s5-t1-k2-k2} > Running command 'hdfs dfs -put /opt/hadoop/NOTICE.txt o3fs://bucket1.vol1/ozone-14607 > ... > -put: Fatal internal error > java.lang.NullPointerException: client is null > at java.util.Objects.requireNonNull(Objects.java:228) > at org.apache.hadoop.hdds.scm.XceiverClientRatis.getClient(XceiverClientRatis.java:208) > at org.apache.hadoop.hdds.scm.XceiverClientRatis.sendRequestAsync(XceiverClientRatis.java:234) > at org.apache.hadoop.hdds.scm.XceiverClientRatis.sendCommandAsync(XceiverClientRatis.java:332) > at org.apache.hadoop.hdds.scm.storage.ContainerProtocolCalls.writeChunkAsync(ContainerProtocolCalls.java:310) > ... > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org