Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-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 5E56718FEC for ; Thu, 24 Sep 2015 06:34:31 +0000 (UTC) Received: (qmail 79828 invoked by uid 500); 24 Sep 2015 06:34:31 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 79777 invoked by uid 500); 24 Sep 2015 06:34:31 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 79765 invoked by uid 99); 24 Sep 2015 06:34:30 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 06:34:30 +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 7968D1A07FA for ; Thu, 24 Sep 2015 06:34:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ddsyawAVnew7 for ; Thu, 24 Sep 2015 06:34:29 +0000 (UTC) Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 66AFC44189 for ; Thu, 24 Sep 2015 06:34:29 +0000 (UTC) Received: by ykdz138 with SMTP id z138so65483311ykd.2 for ; Wed, 23 Sep 2015 23:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oI0Sfd1nLtxfNBA4fCsTbA1kJWuhuZZCZQwEb+DBZWk=; b=HqOEUTU9Txn4hvy3lHIb+zkaCqIaJsY1Iv25bGUHl6EPftpq4n7HjrM1KO7Yu/QHGy 7fGGVFNg/wL2m8cyxF7NBmNWyR4i5F/BFn9Hj2ppDoDaG2i+hFLE5FN4aMYxvRnK4xn+ 69l9jdiJqRmAD+yBYiinlZ9Azm6saVadupC2VenkGK8XeZEL55pb1K5EjHxtziXTg5rw t+MN/FH0JZrgStc/hPIOmwbh+Gi3XHpJ4yWAZcWseo/pjJYFvO+KyCHOFUM6vqHZ06V2 aP3y6Ci3KQeuR9kUZZFdc6eHaSXnSmDHitiUc/8AfEThtwvEHRkZgxcJpC263OgwAS/j fOOQ== MIME-Version: 1.0 X-Received: by 10.13.209.69 with SMTP id t66mr10443672ywd.95.1443076468970; Wed, 23 Sep 2015 23:34:28 -0700 (PDT) Received: by 10.37.21.196 with HTTP; Wed, 23 Sep 2015 23:34:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Sep 2015 23:34:28 -0700 Message-ID: Subject: Re: mandatory java_home in cluster configuration? From: Yingyi Bu To: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a114e4dec5134ff0520786cec --001a114e4dec5134ff0520786cec Content-Type: text/plain; charset=UTF-8 Ahh, it looks I somehow missed "managix configure":-) Yeah, it works correctly with "managix configure". Thanks! Best, Yingyi On Wed, Sep 23, 2015 at 11:23 PM, abdullah alamoudi wrote: > Hi Yingyi, > On my machine, I never needed to set up java_home and I think, although I > am not 100% sure about this, that "managix configure" takes care of setting > the correct $JAVA_HOME path. > > Cheers, > Abdullah. > > Amoudi, Abdullah. > > On Wed, Sep 23, 2015 at 2:13 AM, Yingyi Bu wrote: > > > I just noticed that in the latest asterixdb master, java_home in a > cluster > > configuration file is mandatory. > > > > It used to be that a trial user can run a local test asterixdb instance > > without changing anything in configuration files. But now it's no longer > > the case -- a user needs to manually set the java_home. > > > > I wonder why the system cannot use $JAVA_HOME environment variable if the > > java_home is not present in the config, since in the beginning of the > > install documentation a user has already been asked to set the > $JAVA_HOME: > > > > > https://asterix-jenkins.ics.uci.edu/job/asterix-test-full/site/asterix-doc/install.html > > > > Best, > > Yingyi > > > --001a114e4dec5134ff0520786cec--