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 8BE79200B33 for ; Wed, 29 Jun 2016 20:01:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8A610160A57; Wed, 29 Jun 2016 18:01:47 +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 D24CF160A3C for ; Wed, 29 Jun 2016 20:01:46 +0200 (CEST) Received: (qmail 66275 invoked by uid 500); 29 Jun 2016 18:01:46 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 66263 invoked by uid 99); 29 Jun 2016 18:01:45 -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; Wed, 29 Jun 2016 18:01:45 +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 53588C0373 for ; Wed, 29 Jun 2016 18:01:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-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 9n6ffbv2qgik for ; Wed, 29 Jun 2016 18:01:41 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 6D2075FE5E for ; Wed, 29 Jun 2016 18:01:41 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id mu6so36882599obc.3 for ; Wed, 29 Jun 2016 11:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XJXTqla4LOuBCdrVPt4eyWuPlPYIg2SraAgRN/L24/4=; b=glcnWB33KBBnYq7jStbdomoNadAyfauyfHKrCpC9xbm2yvDTYPzVKwZRZeptMVlQjL wHXAoMu9wffRpGKawRvEw5WgBxuQNkpxjzwcQEcwQxohrfSKiXYi0NAysBpEDAZmAPp0 AeusWwhOKYpnq/YsZgGJMiV9wPrWwZ/qmbdh7o0MdrMq00m2yi4j/2AlDs1w9070t09c T+sYZb2X35p/r16wtM30Skn3fy8ST1Drq8v54x3G2TbGGCaRp8q3xmbPrgfCTuhvB3Rp jAjbYFTIXFvkeXR4oJbqIa3pYWbpFaGd8QDKfXYM4qsMFIsp4/KHuYtJgnpQMG1+vZHF nOGA== 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=XJXTqla4LOuBCdrVPt4eyWuPlPYIg2SraAgRN/L24/4=; b=JnVM4D+XXmh+g71Y6wG/pdZZ6LR2AKTtbKKTsTKu1myym+0JUwEG2I9OZ/pQHx7Qb5 Ste+bHiaNba4tS22HFvYpqk0WUEdnukPORH25brb2nNQGDP2VaePu+TCNEwopvgD5o6O K3MdPRxvotApqs7FPeWc5EBrJMB1zyXjhkLEfBQdkH6sJfAxgciEmmaIt1HjiOLB1qHU NZxJeuviJw/NtJJnrqgM2oPaErRHsAMTdQ+1ywmS5KIvwDefpXa6sDuRGigwskQZKKk8 ZTUXID4ScvgMBfrPQKJA0XekF2hdB/5+Eb19HV3AhQZpXh7K4fJS4c6PSF0obL7t0ktx qCJw== X-Gm-Message-State: ALyK8tJCLSyexngkr8LXp85kAs8qNKFhIuqSiX78SSgEB8o07XD7SBskJ4MbnEUs1ELPSRAKBVYfSINpGgN9oA== X-Received: by 10.202.45.74 with SMTP id t71mr5965996oit.103.1467223300184; Wed, 29 Jun 2016 11:01:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.244.196 with HTTP; Wed, 29 Jun 2016 11:01:39 -0700 (PDT) In-Reply-To: References: From: Pouria Pirzadeh Date: Wed, 29 Jun 2016 11:01:39 -0700 Message-ID: Subject: Re: Cluster XML files To: dev@asterixdb.apache.org Content-Type: multipart/alternative; boundary=001a1137a4a09d20db05366e8b48 archived-at: Wed, 29 Jun 2016 18:01:47 -0000 --001a1137a4a09d20db05366e8b48 Content-Type: text/plain; charset=UTF-8 One quick point to add is that somehow I've always found the 'alter' command being hidden from the typical end-users. It was never part of the installation documentation (with managix): https://ci.apache.org/projects/asterixdb/install.html#Section4ManagingTheLifecycleOfAnAsterixDBInstance So basically if one goal of separation is letting end users modify a portion of config at least they need to be aware of that. Pouria On Wed, Jun 29, 2016 at 10:53 AM, Ian Maxon wrote: > You can modify some things in the asterix-configuration.xml that you really > shouldn't once you've created a cluster (page size for one), so its not > total, but in general yes the cluster.xml contains most of the "immutable" > stuff. > > On Wed, Jun 29, 2016 at 8:36 AM, Till Westmann wrote: > > > Is there a conceptual or lifecycle reason to put a parameter in one or > the > > other file? I really would like to understand why we have 2 files and > what > > the difference is. I think that one hint might be what Ian just > mentioned, > > that the parameters in asterix-configuration.xml can be modified (with a > > restart?) and the other ones cannot. Is that right? > > > > On 29 Jun 2016, at 7:56, Ian Maxon wrote: > > > > > Managix sort of splices the cluster.xml with the existing > > > asterix-configuration.xml to produce a new asterix-configuration.xml > that > > > then gets put into the asterix-app jar inside of asterix-server. The > user > > > has to know about the base asterix-configuration.xml because that is > > where > > > you change some important memory parameters. You can also edit it > without > > > deleting the cluster itself (managix alter). > > > > > > On Wed, Jun 29, 2016 at 1:05 AM, Chris Hillery > > > wrote: > > > > > >> My understanding of how Managix-based deployment currently works is as > > >> follows: > > >> > > >> - User composes a cluster.xml > > >> > > >> - Managix consumes this and produces an asterix-configuration.xml, > > which > > >> contains some of the same data as cluster.xml as well as some things > > >> derived from that data (such as composing the directories > > with > > >> the subdirectory name to produce ) > > >> > > >> - Managix places both the original cluster.xml and the generated > > >> asterix-configuration.xml onto the CLASSPATH of the NCs and CCs > > >> > > >> - The user is never directly aware of asterix-configuration.xml, and > > >> certainly does not edit it in the normal course of operation > > >> > > >> Is this an accurate summary? > > >> > > >> Ceej > > >> aka Chris Hillery > > >> > > > --001a1137a4a09d20db05366e8b48--