Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95E29184F1 for ; Wed, 14 Oct 2015 14:49:06 +0000 (UTC) Received: (qmail 32682 invoked by uid 500); 14 Oct 2015 14:49:05 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 32589 invoked by uid 500); 14 Oct 2015 14:49:05 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 32573 invoked by uid 99); 14 Oct 2015 14:49:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 14:49:05 +0000 Date: Wed, 14 Oct 2015 14:49:05 +0000 (UTC) From: "Steve Loughran (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9241) HDFS clients can't construct HdfsConfiguration instances MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Steve Loughran created HDFS-9241: ------------------------------------ Summary: HDFS clients can't construct HdfsConfiguration instances Key: HDFS-9241 URL: https://issues.apache.org/jira/browse/HDFS-9241 Project: Hadoop HDFS Issue Type: Bug Reporter: Steve Loughran the changes for the hdfs client classpath make instantiating {{HdfsConfiguration}} from the client impossible; it only lives server side. This breaks any app which creates one. I know people will look at the {{@Private}} tag and say "don't do that then", but it's worth considering precisely why I, at least, do this: it's the only way to guarantee that the hdfs-default and hdfs-site resources get on the classpath, including all the security settings. It's precisely the use case which {{HdfsConfigurationLoader.init();}} offers internally to the hdfs code. What am I meant to do now? -- This message was sent by Atlassian JIRA (v6.3.4#6332)