Tutorial by Examples: cluster

Clustered column store index can be rebuilt if you have a lot of deleted rows: ALTER INDEX cci ON Products REBUILD PARTITION = ALL Rebuilding CLUSTERED COLUMNSTORE will "reload" data from the current table into new one and apply compression again, remove deleted rows, etc. You can re...
The cluster library contains the ruspini data - a standard set of data for illustrating cluster analysis. library(cluster) ## to get the ruspini data plot(ruspini, asp=1, pch=20) ## take a look at the data hclust expects a distance matrix, not the original data. We ...
Cassandra uses two kinds of keys: the Partition Keys is responsible for data distribution across nodes the Clustering Key is responsible for data sorting within a partition A primary key is a combination of those to types. The vocabulary depends on the combination: simple primary key: only...
Dockerize zookeeper-3.4.6 Create a Dockerfile: ####################################################### # Image: img.reg.3g:15000/zookeeper:3.4.6 ####################################################### FROM img.reg.3g:15000/jdk:1.7.0_67 MAINTAINER [email protected] USER root ENV ZO...
package main import ( "fmt" "k8s.io/client-go/1.5/kubernetes" "k8s.io/client-go/1.5/pkg/api/v1" "k8s.io/client-go/1.5/rest" ) func main() { config, err = rest.InClusterConfig() if err != nil { return nil, err } ...
A single instance of Node.js runs in a single thread. To take advantage of multi-core systems the user will sometimes want to launch a cluster of Node.js processes to handle the load. var cluster = require('cluster'); var numCPUs = require('os').cpus().length; if (cluster...
The command syntax will be of the following type: <REST Verb> /<Index>/<Type>/<ID> Execute the following command to explore elasticsearch cluster through Kibana Console. For checking the cluster health GET /_cat/health?v For listing all the indices GET /_cat...
The cluster module allows one to start the same application multiple times. Clustering is desirable when the different instances have the same flow of execution and don't depend on one another. In this scenario, you have one master that can start forks and the forks (or children). The children work...
Let's try to look at the differences between client and cluster mode of Spark. Client: When running Spark in the client mode, the SparkContext and Driver program run external to the cluster; for example, from your laptop. Local mode is only for the case when you do not want to use a cluster and in...
Handy method to initialise SolrJ client based on configuration properties; private void initSolrClient() { if (conf.kerberos().isEnabled()) { System.setProperty("java.security.auth.login.config", conf.kerberos().confPath()); HttpClientUtil.addConfigurer(new Krb5Http...

Page 2 of 2