I hereby claim:
- I am andreisavu on github.
- I am andreisavu (https://keybase.io/andreisavu) on keybase.
- I have a public key ASDp1eRGPivSk_s7zaaLxykntqlmIZ8VEybGQmZGpg5_pwo
To claim this, I am signing this object:
/** | |
* Conway's Game of Life | |
* | |
* @author Andrei Savu <[email protected]> | |
*/ | |
case class Cell(row: Int, col: Int) | |
/** | |
* Unlimited universe for storing a set of cells |
Hi :) | |
Here are some quick instruction on running the hbase-ec.properties recipe. | |
1. Download Whirr 0.7.0 RC0 from here. We are going to publish this as an official release soon. | |
http://people.apache.org/~asavu/whirr-0.7.0-candidate-0/whirr-0.7.0.tar.gz | |
2. Extract the archive |
# Cassandra on EC2 using Apache Whirr trunk (18 January 2012) | |
# Clone the repo from the Apache servers | |
git clone git://git.apache.org/whirr.git | |
cd whirr | |
# build binary artefacts on your machine | |
mvn clean install |
# | |
# A quick way to setup a basic development machine with Apache Whirr in Amazon | |
# with jdk1.6, maven 2.2, git, mercurial, subversion & vim | |
# | |
# Get Apache Whirr from here: http://whirr.apache.org/ | |
# Read the Configuration Guide for more info: | |
# http://whirr.apache.org/docs/latest/configuration-guide.html |
{ | |
"name":"web-and-db", | |
"entities":[{ | |
"type":"brooklyn.entity.webapp.ElasticJavaWebAppService", | |
"config":{ | |
"java.options":{ | |
"type":"Map", | |
"operation":"put", | |
"values":{ | |
"brooklyn.example.db.url":{ |
testAScriptExecutionAfterBootWithBasicTemplate | |
testAndExperiment | |
testAssociateDisassociatePublicIPAddress | |
testCanSshInThroughNewLoadBalancerRule | |
testConcurrentUseOfComputeServiceToCreateNodes | |
testCreateAndRunAService | |
testListResourceLimits | |
Bugs in CS3: |
import logging | |
import riak | |
log = logging.getLogger(__name__) | |
class RiakCounter(object): | |
def __init__(self, bucket, key): | |
self.bucket = bucket | |
self.bucket.set_allow_multiples(True) | |
self.key = key |
# First verify the version of Java being used is not SunJSK. | |
java -version | |
# Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html | |
wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm | |
# Rename the file downloaded, just to be nice | |
mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm | |
# Install Java |
#! /usr/bin/env python | |
# Copyright (c) 2015 Cloudera, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
I hereby claim:
To claim this, I am signing this object: