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 A1EF5200AC0 for ; Tue, 10 May 2016 05:58:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A9D7160A0F; Tue, 10 May 2016 03:58:15 +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 D24231609A8 for ; Tue, 10 May 2016 05:58:14 +0200 (CEST) Received: (qmail 56752 invoked by uid 500); 10 May 2016 03:58:14 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 56738 invoked by uid 99); 10 May 2016 03:58:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 03:58:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5891D1805FF for ; Tue, 10 May 2016 03:58:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=weimo-de.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id U6pgQgJlN-VA for ; Tue, 10 May 2016 03:58:11 +0000 (UTC) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com [209.85.213.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 67B7C5F3DA for ; Tue, 10 May 2016 03:58:10 +0000 (UTC) Received: by mail-vk0-f52.google.com with SMTP id o133so1051110vka.0 for ; Mon, 09 May 2016 20:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weimo-de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nIhDPmVtWq6UOB2Pnw37yA9Dkos6j0YlxcapqGC9p0U=; b=MC7/5axBQycagGN14EYWS4ti15IhH2ypIOT0E2SNFh8pA5qBfRAaDc1IqYjRQ1r5ag xjZoavNMZl6LDIkYU50s9nqX1n/fCc8Z0ZONIxt+jF19jObpk1FxbRktuRBDCnRyqNGM yuOlP54NoLYi4Eb0+c9gq00cqaZ8/tl3Q+TsftsRo3XCmmNZIKYrhW2kzBflV1ZUSHCJ 1ZrM9S3aSdCYcV6gq67Dbx6eT8ngUOEmksNFhK7BaLRc7k6lv3HYVd8a3IEPIwZ6vMmG p+/M9RA57p4w6oGPz2BhktQugIMSg9HQTQZ4VDXlWfF6qppqI4BViJt6+2/GCF1eU8OM cjUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=nIhDPmVtWq6UOB2Pnw37yA9Dkos6j0YlxcapqGC9p0U=; b=TPWoeKpbSHGJBTG9TOBMrBf6ZnWjaZ8UH8lMYXBbgHfBj+hPBwQtQSHA/TeJfyOA0n UwoEwYNQfQAup9O94+sy0/mTSG/MsQL//juK3dZn8u/U7kqt19QEVAV9phSD1U6GgZek kxjsUyfJEJG4Gy0Acy2v2wONBby19x4AMqDUkHUAsb8ZdwaZuHIrj2dfQUyA0O1ndrXq Hxk2hpJO7hvkS93/+m5A0snQlu6StOWmu8aaiq4MZQN5O5VhKUwJqJAGygcvvG9Tu6ZZ ykb26oX1p2U64VMgLf8vmMpfTFQNL5LI6VGy3ePTw0nrbAiMbLAQV12vvCnO9d+S7lDz tfJg== X-Gm-Message-State: AOPr4FWxLEek4QGLpqL8L5PAKGlWe+Cfs/UWX6x3eBUjNqZ/jx5qdpIgc9nmNTVQmXKYlRri2b511St3xf3gVg== X-Received: by 10.176.5.226 with SMTP id e89mr22141226uae.50.1462852689528; Mon, 09 May 2016 20:58:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.67.101 with HTTP; Mon, 9 May 2016 20:57:50 -0700 (PDT) X-Originating-IP: [50.46.112.139] In-Reply-To: References: From: Markus Weimer Date: Mon, 9 May 2016 20:57:50 -0700 Message-ID: Subject: Re: HADOOP_CONF_DIR is not configured or does not exist Error To: REEF Developers Mailinglist Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 10 May 2016 03:58:15 -0000 Thanks for confirming! Markus On Mon, May 9, 2016 at 8:57 PM, Dhruv Mahajan wrote: > Turns out, It happened due to cluster update but is not a REEF bug/issue > but issue somewhere else. > > Dhruv > > On Mon, May 9, 2016 at 8:07 PM, Markus Weimer wrote: > >> Hi, >> >> this exception is thrown by the constructor of >> `MultipleRMUrlProvider`, which indeed requires the HADOOP_CONF >> environment variable to be set. Is this on a cluster you haven't used >> before? Or has it recently been upgraded? Hadoop in general is moving >> away from these environment variables, so an update might have caused >> the error to appear. >> >> Markus >> >> On Mon, May 9, 2016 at 2:19 PM, Dhruv Mahajan >> wrote: >> > Hi >> > >> > While running on cluster I got the following error. I am wondering the >> > nature of error: is it an issue with cluster configuration or some >> > possible recent issue in REEF? >> > >> > Thanks >> > Dhruv >> > >> > >> > Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl Error: 0 >> : >> > 2016-05-09T14:15:24.2561144-07:00 0001 >> > ERROR: ExceptionCaught TargetInvocationException encountered error >> > [System.Reflection.TargetInvocationException: Exception has been thrown >> by >> > the target of an invocation. ---> System.ArgumentException: >> HADOOP_CONF_DIR >> > is not configured or does not exist. >> > Parameter name: hadoopConfigDir >> > at >> Org.Apache.REEF.Client.YARN.RestClient.MultipleRMUrlProvider..ctor() >> > --- End of inner exception stack trace --- >> > at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] >> > arguments, Signature sig, Boolean constructor) >> > at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags >> > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) >> > at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) >> > at >> > >> Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl.InjectFromPlan(InjectionPlan >> > plan)] with mesage [Exception has been thrown by the target of an >> > invocation.] and stack trace [ at >> > System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] >> arguments, >> > Signature sig, Boolean constructor) >> > at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags >> > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) >> > at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) >> > at >> > >> Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl.InjectFromPlan(InjectionPlan >> > plan)] >> > Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl Error: 0 >> : >> > 2016-05-09T14:15:24.2631206-07:00 0001 >> > ERROR: ExceptionThrowing InjectionException encountered error >> > [Org.Apache.REEF.Tang.Exceptions.InjectionException: Could not invoke >> > constructor: new >> > Org.Apache.REEF.Client.YARN.RestClient.MultipleRMUrlProvider() ---> >> > System.Reflection.TargetInvocationException: Exception has been thrown by >> > the target of an invocation. ---> System.ArgumentException: >> HADOOP_CONF_DIR >> > is not configured or does not exist. >> > Parameter name: hadoopConfigDir >> > at >> Org.Apache.REEF.Client.YARN.RestClient.MultipleRMUrlProvider..ctor() >> > --- End of inner exception stack trace --- >> > at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] >> > arguments, Signature sig, Boolean constructor) >> > at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags >> > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) >> > at System.Reflection.ConstructorInfo.Invoke(Object[] parameters) >> > at >> > >> Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectorImpl.InjectFromPlan(InjectionPlan >> > plan) >> > --- End of inner exception stack trace ---] with mesage [Could not >> > invoke constructor: new >> > Org.Apache.REEF.Client.YARN.RestClient.MultipleRMUrlProvider()] and stack >> > trace [] >>