Skip to content

Instantly share code, notes, and snippets.

View polynomial's full-sized avatar

Benjamin Smith polynomial

View GitHub Profile
bsmith130pts/21bens~/src/ddb/deploydb-0.1.0 cat etc/deploydb.yml
database:
driverClass: org.h2.Driver
user: nobody
url: "jdbc:h2:/home/bsmith/src/ddb/deploydb-0.1.0/var/deployDB.db"
# DeployDB base configuration directory (cannonical path)
# YAML configuration files for models - services, environments, pipelines,
# webhooks and promotions - should be stored in respective sub-directories
configDirectory: /home/bsmith/src/ddb/deploydb-0.1.0/etc
root0pts/39bens/home/bsmith ps axwwu | grep -i java
bsmith 58306 20.2 1.2 1466164 196412 21 R+ 11:59AM 0:02.39 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deploydb-0.1.0-all.jar server etc/deploydb.yml
bsmith 58316 16.3 1.2 1466164 196412 21 R+ 11:59AM 0:01.84 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deploydb-0.1.0-all.jar server etc/deploydb.yml
bsmith 58315 16.2 1.2 1466164 196412 21 R+ 11:59AM 0:01.85 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deploydb-0.1.0-all.jar server etc/deploydb.yml
bsmith 58329 11.7 1.2 1466164 196412 21 S+ 11:59AM 0:00.00 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deploydb-0.1.0-all.jar server etc/deploydb.yml
bsmith 58327 11.4 1.2 1466164 196412 21 S+ 11:59AM 0:00.00 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deploydb-0.1.0-all.jar server etc/deploydb.yml
bsmith 58325 11.0 1.2 1466164 196412 21 S+ 11:59AM 0:00.00 java -jar /home/bsmith/src/ddb/deploydb-0.1.0/lib/deplo
bsmith130pts/37bens~/src/ddb/deploydb-0.1.0 ./bin/deploydb server etc/deploydb.yml
INFO [2015-03-16 18:16:16,698] org.eclipse.jetty.util.log: Logging initialized @1222ms
INFO [2015-03-16 18:16:16,740] io.dropwizard.assets.AssetsBundle: Registering AssetBundle with name: assets for path /assets/*
INFO [2015-03-16 18:16:16,842] org.hibernate.annotations.common.Version: HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
INFO [2015-03-16 18:16:16,845] org.hibernate.Version: HHH000412: Hibernate Core {4.3.7.Final}
INFO [2015-03-16 18:16:16,846] org.hibernate.cfg.Environment: HHH000206: hibernate.properties not found
INFO [2015-03-16 18:16:16,849] org.hibernate.cfg.Environment: HHH000021: Bytecode provider name : javassist
INFO [2015-03-16 18:16:16,865] io.dropwizard.hibernate.SessionFactoryFactory: Entity classes: [deploydb.models.Artifact, deploydb.models.Deployment, deploydb.models.Flow, deploydb.models.PromotionResult]
INFO [2015-03-16 18:16:17,275] org.hibernate.dialect.Dialect: HHH000400: Using

Title: EXP-001 HBase Region Server Failure

Problem Statement

  • Timeout values, alerting, and current metrics in the hadoop cluster aren’t good enough to prevent availability impacting outage scenarios.

Hypothesis

  • That recent HBase region server failures are not a result of GC or CMF actions

Title: EXP-001 HBase Region Server Failure

Problem Statement

  • Hadoop HBase Region Server Failures are not Random, nor are they caused by cloudera manager, nor are they a result of GC activity

Hypothesis

  • That there is a root cause of the HBase failure

scala> def curry[A, B, C](f: (A, B) => C): A => (B => C) = (a: A) => f (a) _
<console>:7: error: not enough arguments for method apply: (v1: A, v2: B)C in trait Function2.
Unspecified value parameter v2.
def curry[A, B, C](f: (A, B) => C): A => (B => C) = (a: A) => f (a) _
^
@polynomial
polynomial / io.txt
Created January 14, 2015 21:53
zookeeper IO
$ iostat -x 1
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
xvdap1 0.00 11.36 0.00 79.93 0.02 246.64 6.17 0.02 0.20 0.27 0.20 0.20 1.58
xvdap1 0.00 17.00 0.00 352.00 0.00 852.00 4.84 0.07 0.20 0.00 0.20 0.20 7.20
xvdap1 0.00 152.00 0.00 706.00 0.00 2356.00 6.67 0.11 0.16 0.00 0.16 0.16 11.20
xvdap1 0.00 19.00 0.00 594.00 0.00 1324.00 4.46 0.10 0.16 0.00 0.16 0.16 9.60
xvdap1 0.00 26.00 0.00 591.00 0.00 1388.00 4.70 0.09 0.16 0.00 0.16 0.16 9.20
xvdap1 0.00 23.00 0.00 564.00 0.00 1288.00 4.57 0.09 0.16 0.00 0.16 0.16 9.20
xvdap1 0.00 19.00 0.00 571.00 0.00 1284.00 4.50 0.11 0.19 0.00 0.19 0.19 10.80
xvdap1 0.00 30.00

Keybase proof

I hereby claim:

  • I am polynomial on github.
  • I am polynomial (https://keybase.io/polynomial) on keybase.
  • I have a public key whose fingerprint is 6883 3F35 8148 BCE4 AA81 6CA8 D61B F068 FB8F C8A7

To claim this, I am signing this object:

VMWARE VIX API and SDK

Versions

Currently the installations I use of VMWare vCenter Server are version 5.1.x which is requires we use the following SDK version:

VIX Version Products Path