This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Presto failed with error | |
# 82) Error injecting constructor, java.lang.IllegalStateException: INVARIANT: current node not returned from service selector | |
coordinator=true | |
node-scheduler.include-coordinator=true | |
http-server.http.port=8080 | |
query.max-memory=5GB | |
query.max-memory-per-node=1GB | |
query.max-total-memory-per-node=2GB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: StatefulSet | |
spec: | |
template: | |
spec: | |
containers: | |
- name: dremio-master-coordinator | |
image: {{.Values.image}}:{{.Values.imageTag}} | |
imagePullPolicy: IfNotPresent | |
initContainers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
data: | |
config: | | |
address-pools: | |
- name: default | |
protocol: layer2 | |
addresses: | |
- 93.x.y.68-93.x.y.68 | |
- 93.x.y.140-93.x.y.140 | |
- 93.x.y.142-93.x.y.143 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372067] CPU: 0 PID: 9361 Comm: kworker/0:2 Tainted: G W 4.15.0-55-generic #60-Ubuntu | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372070] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/03/2018 | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372162] Workqueue: events_freezable vmballoon_work [vmw_balloon] | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372166] Call Trace: | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372315] dump_stack+0x63/0x8b | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372376] dump_header+0x71/0x285 | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372419] ? security_capable_noaudit+0x4b/0x70 | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372423] oom_kill_process+0x220/0x440 | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372426] out_of_memory+0x2d1/0x4f0 | |
Aug 12 04:59:39 cdw-prod-scylladb-3 kernel: [237297.372431] __alloc_pages_s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Полная версия файла - https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/group_vars/all | |
blueprint_dynamic: # properties for the dynamic blueprint - these are only used by the 'blueprint_dynamic.j2' template to generate the JSON | |
- host_group: "hdp-master" | |
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT'] | |
services: | |
- ZOOKEEPER_SERVER | |
- AMBARI_SERVER | |
- host_group: "hdp-slave" | |
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get -o yaml endpoints | |
apiVersion: v1 | |
items: | |
- apiVersion: v1 | |
kind: Endpoints | |
metadata: | |
creationTimestamp: 2019-03-26T11:32:57Z | |
name: kubernetes | |
namespace: default | |
resourceVersion: "1468795" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#curl http://localhost:8080/api/ | |
{ | |
"kind": "APIVersions", | |
"versions": [ | |
"v1" | |
], | |
"serverAddressByClientCIDRs": [ | |
{ | |
"clientCIDR": "0.0.0.0/0", | |
"serverAddress": "192.168.80.30:6443" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kubectl get secrets -n default | |
NAME TYPE DATA AGE | |
default-token-r7gnk kubernetes.io/service-account-token 3 34d | |
local-storage-admin-token-jz996 kubernetes.io/service-account-token 3 17d | |
local-storage-admin-token-ndz7d kubernetes.io/service-account-token 3 13d | |
local-storage-admin-token-ntbr2 kubernetes.io/service-account-token 3 13d | |
vault-operator-token-tkqjq kubernetes.io/service-account-token 3 7m21s | |
vault-tls Opaque 3 4m30s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.build: &build | |
stage: build | |
script: | |
- docker-compose -f ./docker-compose.yml build | |
.deploy: &deploy | |
stage: deploy | |
script: | |
- docker-compose -f ./docker-compose.yml up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virsh start pgstandby-preprod | |
ifconfig enp2s0f0 txqueuelen 5000 | |
ifconfig enp2s0f1 txqueuelen 5000 | |
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout | |
echo 30 > /proc/sys/net/ipv4/tcp_keepalive_intvl | |
echo 5 > /proc/sys/net/ipv4/tcp_keepalive_probes |
NewerOlder