Skip to content

Instantly share code, notes, and snippets.

View saiprasadmishra's full-sized avatar

saiprasad mishra saiprasadmishra

View GitHub Profile
/**
*
*/
package com.mycompany.context;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
{
"_shards": {
"total": 48,
"successful": 48,
"failed": 0
},
"indices": {
"products_t0_v9": {
"shards": {
"0": [
{
"_shards": {
"total": 24,
"successful": 24,
"failed": 0
},
"indices": {
"products_t0_v9": {
"shards": {
"0": [
@saiprasadmishra
saiprasadmishra / gist:a50c730b67334c05f1e1
Last active August 29, 2015 14:07
Install Storm 0.9.2 Incubating Cluster with single ZK Node running
Assumption
- You have 2 machines, one for zk and nimbus and another for a supervisor
- One Node Zookeeper in the same machine where Nimbus will be
- Supervisor machine setup
- Workers are created(in supervisor machines) when you deploy the topology in nimbus machine
and thats not covered here
- You can also put the below param every machine in storm cluster where storm will create some data
for itself in storm.yaml where you have all the permissions for it to write the data to.
storm.local.dir: "/a/b/storm"