Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE15611E28 for ; Wed, 16 Jul 2014 08:04:04 +0000 (UTC) Received: (qmail 31394 invoked by uid 500); 16 Jul 2014 08:04:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 31354 invoked by uid 500); 16 Jul 2014 08:04:04 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 31342 invoked by uid 99); 16 Jul 2014 08:04:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 08:04:04 +0000 Date: Wed, 16 Jul 2014 08:04:04 +0000 (UTC) From: "Pekka Enberg (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7547) EC2 seed provider using DataStax Reflector 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/CASSANDRA-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063267#comment-14063267 ] Pekka Enberg commented on CASSANDRA-7547: ----------------------------------------- Yes, I am aware of how it works. Primary motivation for using it is compatibility with DataStax Community AMI. The reason I am interested in implemeting this as a Cassandra SeedProvider is because I'm building the AMI using OSv (http://osv.io/) which has no userspace to run boostrap scripts during cloud-init. A custom SeedProvider seems like a nice fit and I thought it would make sense as a generic feature in Cassandra as it is actually being used on EC2. In any case, if you don't think this is appropriate in the tree, are you able to suggest a way to do this in a way that makes sense for Cassandra? I could probably build this as a standalone Jar and just add it to the Cassandra classpath, right? This only requires me to import SeedProvider interface as source because there's no "Cassandra plugin" API Jar to build against, right? > EC2 seed provider using DataStax Reflector > ------------------------------------------ > > Key: CASSANDRA-7547 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7547 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Pekka Enberg > Priority: Minor > Attachments: 0001-EC2-seed-provider.patch > > > This is a request for comments. I am using this to build our EC2 AMIs but I thought I'd ask if this makes sense as a generic feature for Cassandra. > Cassandra cluster auto-configuration on EC2 uses the Datastax reflector service for discovering seed nodes. Instead of relying on external scripts, this patch implements EC2 seed provider that uses the Datastax reflector service. > This is particularly useful for EC2 AMIs that don't include a complete userspace (such as those built with OSv) where we ideally want to push as much configuration to the application itself. -- This message was sent by Atlassian JIRA (v6.2#6252)