<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Forum: Apache Cassandra - Recent Posts</title>
		<link>http://www.datastax.com/support-forums/forum/cassandra</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 03:37:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/forum/cassandra" rel="self" type="application/rss+xml" />

		<item>
			<title>Sven on "File  offset bug ?"</title>
			<link>http://www.datastax.com/support-forums/topic/file-offset-bugs#post-11261</link>
			<pubDate>Mon, 20 May 2013 14:50:33 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">11261@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;For Cassandra questions, this forum is no longer the best place to look for help, it's mostly kept around for old references.  I suggest subscribing to the Cassandra users list linked at the bottom of &#60;a href=&#34;http://cassandra.apache.org/&#34; rel=&#34;nofollow&#34;&#62;http://cassandra.apache.org/&#60;/a&#62;, visiting &#60;a href=&#34;http://http://planetcassandra.org/&#34; rel=&#34;nofollow&#34;&#62;http://http://planetcassandra.org/&#60;/a&#62; and using &#60;a href=&#34;http://stackoverflow.com/search?q=cassandra&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/search?q=cassandra&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sven
&#60;/p&#62;</description>
		</item>
		<item>
			<title>yienyien on "File  offset bug ?"</title>
			<link>http://www.datastax.com/support-forums/topic/file-offset-bugs#post-11260</link>
			<pubDate>Mon, 20 May 2013 14:37:33 +0000</pubDate>
			<dc:creator>yienyien</dc:creator>
			<guid isPermaLink="false">11260@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Could I have some feedbacks please ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11153</link>
			<pubDate>Thu, 16 May 2013 18:25:53 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">11153@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Ash,&#60;/p&#62;
&#60;p&#62;That is correct these AMIs are built on instance-stores and will not allow you to stop the instance.&#60;/p&#62;
&#60;p&#62;You can research more on the differences between the two that caused us to choose the instance-store AMIs:&#60;br /&#62;
&#60;a href=&#34;http://www.mail-archive.com/user@cassandra.apache.org/msg11022.html&#34; rel=&#34;nofollow&#34;&#62;http://www.mail-archive.com/user@cassandra.apache.org/msg11022.html&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://blog.scalyr.com/2012/10/16/a-systematic-look-at-ec2-io/&#34; rel=&#34;nofollow&#34;&#62;http://blog.scalyr.com/2012/10/16/a-systematic-look-at-ec2-io/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you would like to purchase DataStax Enterprise, which comes with support, you can submit this form and our sales team will get back to you: &#60;a href=&#34;http://www.datastax.com/what-we-offer/products-services/datastax-enterprise/production&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/what-we-offer/products-services/datastax-enterprise/production&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11097</link>
			<pubDate>Thu, 16 May 2013 00:18:36 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11097@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Joaquin,&#60;/p&#62;
&#60;p&#62;Do you know anyone who could offer me phone support.&#60;br /&#62;
I can pay for the time spent.&#60;br /&#62;
I will greatly appreciate it.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-ash
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11095</link>
			<pubDate>Wed, 15 May 2013 23:49:17 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11095@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Joaquin,&#60;/p&#62;
&#60;p&#62;this seems to be a bigger topic. because this is an instance store ami - I am not able to stop the instance&#60;br /&#62;
I am forced to terminate the instance everytime and lose all the work&#60;br /&#62;
what is the work around?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-ash
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11093</link>
			<pubDate>Wed, 15 May 2013 23:31:27 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11093@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Joaquin,&#60;/p&#62;
&#60;p&#62;This is supposed to be instance store AMI.  I am not able to stop and restart the instance at will.  Having to terminate it.&#60;br /&#62;
Have you guys figured out a way to attach EBS to it?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://aws.amazon.com/amis/datastax-auto-clustering-ami-2-2&#34; rel=&#34;nofollow&#34;&#62;https://aws.amazon.com/amis/datastax-auto-clustering-ami-2-2&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-ash
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11037</link>
			<pubDate>Wed, 15 May 2013 04:30:33 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">11037@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Glad to see you got this sorted out!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video/page/2#post-11033</link>
			<pubDate>Wed, 15 May 2013 02:45:22 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11033@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Dear Joaquin,&#60;/p&#62;
&#60;p&#62;Got past.&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-147-192-93:/usr/bin$ cassandra-cli&#60;br /&#62;
Connected to: &#34;myDSCcluster&#34; on 127.0.0.1/9160&#60;br /&#62;
Welcome to Cassandra CLI version 1.2.4&#60;/p&#62;
&#60;p&#62;Type 'help;' or '?' for help.&#60;br /&#62;
Type 'quit;' or 'exit;' to quit.&#60;/p&#62;
&#60;p&#62;[default@unknown]&#60;/p&#62;
&#60;p&#62;Thanks for you help.&#60;/p&#62;
&#60;p&#62;Hope I dont bother you from here on.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-ash.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-11032</link>
			<pubDate>Wed, 15 May 2013 01:17:56 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11032@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;ubuntu@ip-10-147-192-93:/usr/share/cassandra$ cassandra -cli&#60;br /&#62;
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1862M -Xmx1862M -Xmn200M -XX:+HeapDumpOnOutOfMemoryError -Xss180k&#60;br /&#62;
getopt: invalid option -- 'c'&#60;br /&#62;
getopt: invalid option -- 'l'&#60;br /&#62;
getopt: invalid option -- 'i'&#60;br /&#62;
ubuntu@ip-10-147-192-93:/usr/share/cassandra$ Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 7199; nested exception is:&#60;br /&#62;
        java.net.BindException: Address already in use&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-147-192-93:/usr/share/cassandra$
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-11031</link>
			<pubDate>Wed, 15 May 2013 01:13:39 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11031@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Joaquin,&#60;/p&#62;
&#60;p&#62;back to you.&#60;/p&#62;
&#60;p&#62;How can create a keyspace?&#60;/p&#62;
&#60;p&#62;which folder should I go to.?&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-147-192-93:/usr/share/cassandra$ show cluster name&#60;br /&#62;
The program 'show' is currently not installed.  You can install it by typing:&#60;br /&#62;
sudo apt-get install nmh&#60;br /&#62;
ubuntu@ip-10-147-192-93:/usr/share/cassandra$ create keyspace&#60;br /&#62;
No command 'create' found, did you mean:&#60;br /&#62;
 Command 'mcreate' from package 'lustre-utils' (universe)&#60;br /&#62;
create: command not found&#60;br /&#62;
ubuntu@ip-10-147-192-93:/usr/share/cassandra$&#60;/p&#62;
&#60;p&#62;how do i know if cassandra is running or not?&#60;/p&#62;
&#60;p&#62;could you help PLEASE&#60;/p&#62;
&#60;p&#62;I just want to get started.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
-ash
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-11029</link>
			<pubDate>Wed, 15 May 2013 00:54:10 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">11029@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Glad to hear!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-11028</link>
			<pubDate>Wed, 15 May 2013 00:37:18 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">11028@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Joaquin,&#60;/p&#62;
&#60;p&#62;Thanks that worked.&#60;/p&#62;
&#60;p&#62;-ash
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joaquin on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-11002</link>
			<pubDate>Tue, 14 May 2013 04:11:41 +0000</pubDate>
			<dc:creator>joaquin</dc:creator>
			<guid isPermaLink="false">11002@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I'll work on these cases having a cleaner return, sorry about that. Here's the issue:&#60;/p&#62;
&#60;p&#62;[ERROR] m1.small and m1.medium instances are not supported. At minimum, use an m1.large instance. Aborting installation.&#60;/p&#62;
&#60;p&#62;Could you try the same with an m1.large?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Joaquin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-10993</link>
			<pubDate>Tue, 14 May 2013 02:35:50 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">10993@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;launcher.py&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-80-58-176:~/datastax_ami$ cat ds1_launcher.py&#60;br /&#62;
#!/usr/bin/env python&#60;br /&#62;
### Script provided by DataStax.&#60;/p&#62;
&#60;p&#62;import os&#60;br /&#62;
import subprocess&#60;br /&#62;
import shlex&#60;br /&#62;
import time&#60;br /&#62;
import urllib2&#60;/p&#62;
&#60;p&#62;import logger&#60;br /&#62;
import conf&#60;/p&#62;
&#60;p&#62;# Temporary fix until next rebake&#60;br /&#62;
def fix_profile():&#60;br /&#62;
    # Setup a link to the motd script that is provided in the git repository&#60;br /&#62;
    file_to_open = '/home/ubuntu/.profile'&#60;br /&#62;
    logger.exe('sudo chmod 777 ' + file_to_open)&#60;br /&#62;
    with open(file_to_open, 'r+') as f:&#60;br /&#62;
        profile = f.read()&#60;br /&#62;
        f.seek(0)&#60;br /&#62;
        f.write(profile.replace('jdk1.6.0_31', 'jdk1.6.0_38'))&#60;br /&#62;
    logger.exe('sudo chmod 644 ' + file_to_open)&#60;/p&#62;
&#60;p&#62;def initial_configurations():&#60;br /&#62;
    # Begin configuration this is only run once in Public Packages&#60;/p&#62;
&#60;p&#62;    if conf.get_config(&#34;AMI&#34;, &#34;CurrentStatus&#34;) != &#34;Complete!&#34;:&#60;br /&#62;
        # Configure DataStax variables&#60;br /&#62;
        try:&#60;br /&#62;
            import ds2_configure&#60;br /&#62;
            ds2_configure.run()&#60;br /&#62;
        except:&#60;br /&#62;
            conf.set_config(&#34;AMI&#34;, &#34;Error&#34;, &#34;Exception seen in %s. Please check ~/datastax_ami/ami.log for more info.&#34; % 'ds1_launcher.py')&#60;/p&#62;
&#60;p&#62;            logger.exception('ds1_launcher.py')&#60;/p&#62;
&#60;p&#62;        # Set ulimit hard limits&#60;br /&#62;
        logger.pipe('echo &#34;* soft nofile 32768&#34;', 'sudo tee -a /etc/security/limits.conf')&#60;br /&#62;
        logger.pipe('echo &#34;* hard nofile 32768&#34;', 'sudo tee -a /etc/security/limits.conf')&#60;br /&#62;
        logger.pipe('echo &#34;root soft nofile 32768&#34;', 'sudo tee -a /etc/security/limits.conf')&#60;br /&#62;
        logger.pipe('echo &#34;root hard nofile 32768&#34;', 'sudo tee -a /etc/security/limits.conf')&#60;/p&#62;
&#60;p&#62;        # Change permission back to being ubuntu's and cassandra's&#60;br /&#62;
        logger.exe('sudo chown -hR ubuntu:ubuntu /home/ubuntu')&#60;br /&#62;
        logger.exe('sudo chown -hR cassandra:cassandra /raid0/cassandra', False)&#60;br /&#62;
        logger.exe('sudo chown -hR cassandra:cassandra /mnt/cassandra', False)&#60;br /&#62;
    else:&#60;br /&#62;
        logger.info('Skipping initial configurations.')&#60;/p&#62;
&#60;p&#62;def write_bin_tools():&#60;br /&#62;
    with open('/usr/bin/datastax_support', 'w') as f:&#60;br /&#62;
        f.write(&#34;&#34;&#34;#!/usr/bin/env python\nprint '''DataStax Support Links:&#60;/p&#62;
&#60;p&#62;        Cassandra Cluster Launcher:&#60;br /&#62;
            &#60;a href=&#34;https://github.com/joaquincasares/cassandralauncher&#34; rel=&#34;nofollow&#34;&#62;https://github.com/joaquincasares/cassandralauncher&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;        Documentation:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/docs&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;        AMI:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/ami&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/ami&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;        Cassandra client libraries:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/download/clientdrivers&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/download/clientdrivers&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;        Support Forums:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/support-forums&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/support-forums&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;        For quick support, visit:&#60;br /&#62;
            IRC: #cassandra channel on irc.freenode.net&#60;br /&#62;
        '''&#60;br /&#62;
        &#34;&#34;&#34;)&#60;/p&#62;
&#60;p&#62;    with open('/usr/bin/datastax_demos', 'w') as f:&#60;br /&#62;
        f.write(&#34;&#34;&#34;#!/usr/bin/env python\nprint '''DataStax Demo Links:&#60;/p&#62;
&#60;p&#62;        Portfolio (Hive) Demo:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/demos/portfolio&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/demos/portfolio&#60;/a&#62;&#60;br /&#62;
        Pig Demo:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/demos/pig&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/demos/pig&#60;/a&#62;&#60;br /&#62;
        Wikipedia (Solr) Demo:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/demos/wikipedia&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/demos/wikipedia&#60;/a&#62;&#60;br /&#62;
        Logging (Solr) Demo:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/demos/logging&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/demos/logging&#60;/a&#62;&#60;br /&#62;
        Sqoop Demo:&#60;br /&#62;
            &#60;a href=&#34;http://www.datastax.com/demos/sqoop&#34; rel=&#34;nofollow&#34;&#62;http://www.datastax.com/demos/sqoop&#60;/a&#62;&#60;br /&#62;
        '''&#60;br /&#62;
        &#34;&#34;&#34;)&#60;/p&#62;
&#60;p&#62;    with open('/usr/bin/datastax_tools', 'w') as f:&#60;br /&#62;
        f.write(&#34;&#34;&#34;#!/usr/bin/env python\nprint '''Installed DSE/C Tools:&#60;/p&#62;
&#60;p&#62;        Nodetool:&#60;br /&#62;
            nodetool --help&#60;br /&#62;
        DSEtool:&#60;br /&#62;
            dsetool --help&#60;br /&#62;
        Cli:&#60;br /&#62;
            cassandra-cli -h &#60;code&#62;hostname&#60;/code&#62;&#60;br /&#62;
        CQL Shell:&#60;br /&#62;
            cqlsh&#60;br /&#62;
        Hive:&#60;br /&#62;
            dse hive (on Analytic nodes)&#60;br /&#62;
        Pig:&#60;br /&#62;
            dse pig (on Analytic nodes)&#60;br /&#62;
        '''&#60;br /&#62;
        &#34;&#34;&#34;)&#60;/p&#62;
&#60;p&#62;    os.chmod('/usr/bin/datastax_support', 0755)&#60;br /&#62;
    os.chmod('/usr/bin/datastax_demos', 0755)&#60;br /&#62;
    os.chmod('/usr/bin/datastax_tools', 0755)&#60;/p&#62;
&#60;p&#62;def restart_tasks():&#60;br /&#62;
    logger.info(&#34;AMI Type: &#34; + str(conf.get_config(&#34;AMI&#34;, &#34;Type&#34;)))&#60;/p&#62;
&#60;p&#62;    # Create /raid0&#60;br /&#62;
    logger.exe('sudo mount -a')&#60;/p&#62;
&#60;p&#62;    # Disable swap&#60;br /&#62;
    logger.exe('sudo swapoff --all')&#60;/p&#62;
&#60;p&#62;    # Ensure the correct blockdev readahead since this sometimes resets after restarts&#60;br /&#62;
    if conf.get_config('AMI', 'raid_readahead'):&#60;br /&#62;
        logger.exe('sudo blockdev --setra %s /dev/md0' % (conf.get_config('AMI', 'raid_readahead')), expectError=True)&#60;/p&#62;
&#60;p&#62;def wait_for_seed():&#60;br /&#62;
    # Wait for the seed node to come online&#60;br /&#62;
    req = urllib2.Request('http://instance-data/latest/meta-data/local-ipv4')&#60;br /&#62;
    internalip = urllib2.urlopen(req).read()&#60;/p&#62;
&#60;p&#62;    if internalip != conf.get_config(&#34;AMI&#34;, &#34;LeadingSeed&#34;):&#60;br /&#62;
        logger.info(&#34;Waiting for seed node to come online...&#34;)&#60;br /&#62;
        nodetoolStatement = &#34;nodetool -h &#34; + conf.get_config(&#34;AMI&#34;, &#34;LeadingSeed&#34;) + &#34; ring&#34;&#60;br /&#62;
        logger.info(nodetoolStatement)&#60;/p&#62;
&#60;p&#62;        while True:&#60;br /&#62;
            nodetool_out = subprocess.Popen(shlex.split(nodetoolStatement), stderr=subprocess.PIPE, stdout=subprocess.PIPE).stdout.read()&#60;br /&#62;
            if (nodetool_out.lower().find(&#34;error&#34;) == -1 and nodetool_out.lower().find(&#34;up&#34;) and len(nodetool_out) &#38;gt; 0):&#60;br /&#62;
                logger.info(&#34;Seed node now online!&#34;)&#60;br /&#62;
                time.sleep(5)&#60;br /&#62;
                break&#60;br /&#62;
            time.sleep(5)&#60;br /&#62;
            logger.info(&#34;Retrying seed node...&#34;)&#60;/p&#62;
&#60;p&#62;def launch_opscenter():&#60;br /&#62;
    logger.info('Starting a background process to start OpsCenter after a given delay...')&#60;br /&#62;
    subprocess.Popen(shlex.split('sudo -u ubuntu python /home/ubuntu/datastax_ami/ds3_after_init.py &#38;amp;'))&#60;/p&#62;
&#60;p&#62;def start_services():&#60;br /&#62;
    # Wait for system setup changes to settle&#60;br /&#62;
    time.sleep(5)&#60;/p&#62;
&#60;p&#62;    # Actually start the application&#60;br /&#62;
    if conf.get_config(&#34;AMI&#34;, &#34;Type&#34;) == &#34;Community&#34; or conf.get_config(&#34;AMI&#34;, &#34;Type&#34;) == &#34;False&#34;:&#60;br /&#62;
        logger.info('Starting DataStax Community...')&#60;br /&#62;
        logger.exe('sudo service cassandra restart')&#60;/p&#62;
&#60;p&#62;    elif conf.get_config(&#34;AMI&#34;, &#34;Type&#34;) == &#34;Enterprise&#34;:&#60;br /&#62;
        logger.info('Starting DataStax Enterprise...')&#60;br /&#62;
        logger.exe('sudo service dse restart')&#60;/p&#62;
&#60;p&#62;def run():&#60;br /&#62;
    fix_profile()&#60;br /&#62;
    initial_configurations()&#60;br /&#62;
    write_bin_tools()&#60;br /&#62;
    restart_tasks()&#60;br /&#62;
    if conf.get_config(&#34;AMI&#34;, &#34;LeadingSeed&#34;):&#60;br /&#62;
        wait_for_seed()&#60;br /&#62;
        launch_opscenter()&#60;br /&#62;
        start_services()&#60;br /&#62;
ubuntu@ip-10-80-58-176:~/datastax_ami$
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blueash on "Amazon AMI Setup Video"</title>
			<link>http://www.datastax.com/support-forums/topic/amazon-ami-setup-video#post-10992</link>
			<pubDate>Tue, 14 May 2013 02:31:05 +0000</pubDate>
			<dc:creator>blueash</dc:creator>
			<guid isPermaLink="false">10992@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;log contents&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-80-58-176:~/datastax_ami$ cat ami.log&#60;br /&#62;
[EXEC] 05/14/13-01:42:04 git pull:&#60;br /&#62;
Updating b9eca2b..f4a706a&#60;br /&#62;
Fast-forward&#60;br /&#62;
 ds1_launcher.py      &#124;   26 ++++++-&#60;br /&#62;
 ds2_configure.py     &#124;  211 ++++++++++++++++++++++++++++++++++++++++++--------&#60;br /&#62;
 ds4_motd.py          &#124;   50 ++++++++++--&#60;br /&#62;
 presetup/launch_amis &#124;  166 +++++++++++++++++++++++++++++++++++++++&#60;br /&#62;
 presetup/pre_2.py    &#124;    7 +-&#60;br /&#62;
 presetup/setup.md    &#124;   97 +++++++++++++++++++++++&#60;br /&#62;
 6 files changed, 513 insertions(+), 44 deletions(-)&#60;br /&#62;
 create mode 100755 presetup/launch_amis&#60;br /&#62;
 create mode 100644 presetup/setup.md&#60;/p&#62;
&#60;p&#62;[EXEC] 05/14/13-01:42:04 sudo chmod 777 /home/ubuntu/.profile&#60;br /&#62;
[EXEC] 05/14/13-01:42:04 sudo chmod 644 /home/ubuntu/.profile&#60;br /&#62;
[EXEC] 05/14/13-01:42:04 sudo rm ds2_configure.py&#60;br /&#62;
[INFO] Deleting ds2_configure.py now. This AMI will never change any configs after this first run.&#60;br /&#62;
[EXEC:E] 05/14/13-01:42:05 gpg --keyserver pgp.mit.edu --recv-keys 40976EAF437D05B5:&#60;br /&#62;
gpg: directory `/root/.gnupg' created&#60;br /&#62;
gpg: new configuration file `/root/.gnupg/gpg.conf' created&#60;br /&#62;
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run&#60;br /&#62;
gpg: keyring `/root/.gnupg/secring.gpg' created&#60;br /&#62;
gpg: keyring `/root/.gnupg/pubring.gpg' created&#60;br /&#62;
gpg: requesting key 437D05B5 from hkp server pgp.mit.edu&#60;br /&#62;
gpg: /root/.gnupg/trustdb.gpg: trustdb created&#60;br /&#62;
gpg: key 437D05B5: public key &#34;Ubuntu Archive Automatic Signing Key &#38;lt;ftpmaster@ubuntu.com&#38;gt;&#34; imported&#60;br /&#62;
gpg: no ultimately trusted keys found&#60;br /&#62;
gpg: Total number processed: 1&#60;br /&#62;
gpg:               imported: 1&#60;/p&#62;
&#60;p&#62;[PIPE] 05/14/13-01:42:05 gpg --export --armor 40976EAF437D05B5 &#124; sudo apt-key add -:&#60;br /&#62;
OK&#60;/p&#62;
&#60;p&#62;[PIPE] 05/14/13-01:42:05 gpg --export --armor 40976EAF437D05B5 &#124; sudo apt-key add -:&#60;br /&#62;
OK&#60;/p&#62;
&#60;p&#62;[EXEC] 05/14/13-01:42:05 sudo rm -rf /etc/motd&#60;br /&#62;
[EXEC] 05/14/13-01:42:05 sudo touch /etc/motd&#60;br /&#62;
[INFO] Started with user data set to:&#60;br /&#62;
[INFO]  --clustername myDSCcluster --totalnodes 6 --version community&#60;br /&#62;
[INFO] Using instance type: m1.small&#60;br /&#62;
[ERROR] m1.small and m1.medium instances are not supported. At minimum, use an m1.large instance. Aborting installation.&#60;/p&#62;
&#60;p&#62;Please verify your settings:&#60;br /&#62;
 --clustername myDSCcluster --totalnodes 6 --version community&#60;br /&#62;
[ERROR] Exception seen in ds1_launcher.py:&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;/home/ubuntu/datastax_ami/ds1_launcher.py&#34;, line 31, in initial_configurations&#60;br /&#62;
    ds2_configure.run()&#60;br /&#62;
  File &#34;/home/ubuntu/datastax_ami/ds2_configure.py&#34;, line 932, in run&#60;br /&#62;
  File &#34;/home/ubuntu/datastax_ami/ds2_configure.py&#34;, line 117, in get_ec2_data&#60;br /&#62;
  File &#34;/home/ubuntu/datastax_ami/ds2_configure.py&#34;, line 55, in exit_path&#60;br /&#62;
AttributeError&#60;/p&#62;
&#60;p&#62;ubuntu@ip-10-80-58-176:~/datastax_ami$
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
