Skip to content

Instantly share code, notes, and snippets.

@[ "$(echo some text)" ] && cowsay Success!
$ jabba ls
[email protected]
[email protected]
$ jabba use [email protected]
$ which java
~/.jabba/jdk/[email protected]/bin/java
$ jabba ls-remote | grep openjdk | grep 12
[email protected]
[email protected]
$ jabba install [email protected]
# Make OpenJDK 12 your default JVM
$ jabba alias default [email protected]
## Let's check our Java version!
curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh
[hekonsek@konsekranch jx]$ jx install --provider=eks
Using helmBinary helm with feature flag: none
Storing the kubernetes provider eks in the TeamSettings
Updated the team settings in namespace jx
Git configured for user: Henryk Konsek and email [email protected]
Trying to create ClusterRoleBinding henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding for role: cluster-admin for user [email protected]@adorable-hideout-1539079578.us-east-1.eksctl.io
: clusterrolebindings.rbac.authorization.k8s.io "henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding" not foundCreated ClusterRoleBinding henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding
Using helm2
Configuring tiller
Created ServiceAccount tiller in namespace kube-system
[hekonsek@konsekranch jx]$ jx install --provider=eks
Using helmBinary helm with feature flag: none
Storing the kubernetes provider eks in the TeamSettings
Updated the team settings in namespace jx
Git configured for user: Henryk Konsek and email [email protected]
Trying to create ClusterRoleBinding henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding for role: cluster-admin for user [email protected]@adorable-hideout-1539079578.us-east-1.eksctl.io
: clusterrolebindings.rbac.authorization.k8s.io "henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding" not foundCreated ClusterRoleBinding henryk-konsek-capsilon-com-adorable-hideout-1539079578-us-east-1-eksctl-io-cluster-admin-binding
Using helm2
Configuring tiller
Created ServiceAccount tiller in namespace kube-system
$ jx get pipe
Name URL LAST_BUILD STATUS DURATION
hekonsek/environment-ogreprong-production/master http://jenkins.jx.192.168.39.229.nip.io/job/hekonsek/job/environment-ogreprong-production/job/master/ #1 Building -1ns(est.)
hekonsek/environment-ogreprong-staging/master http://jenkins.jx.192.168.39.229.nip.io/job/hekonsek/job/environment-ogreprong-staging/job/master/ #1 Building -1ns(est.)
$ kubectl get pod
NAME READY STATUS RESTARTS AGE
jenkins-69ff5ff5c9-b728r 1/1 Running 0 13m
jenkins-x-chartmuseum-5bfc74798d-vwgs8 1/1 Running 0 13m
jenkins-x-docker-registry-f5f9b7bc9-4xm6d 1/1 Running 0 13m
jenkins-x-heapster-c6d44bc95-52lkx 2/2 Running 0 13m
jenkins-x-mongodb-77c6dc684c-tn58r 1/1 Running 0 13m
jenkins-x-monocular-api-597b5d7575-mb2bd 1/1 Running 1 13m
jenkins-x-monocular-prerender-64f989797b-d5f69 1/1 Running 0 13m
jenkins-x-monocular-ui-7dbf8ddddb-p64wp 1/1 Running 0 13m
import org.apache.spark.ml.Pipeline
import org.apache.spark.ml.PipelineStage
import org.apache.spark.ml.Transformer
import org.apache.spark.ml.classification.LogisticRegression
import org.apache.spark.ml.feature.LabeledPoint
import org.apache.spark.ml.linalg.DenseVector
import org.apache.spark.ml.linalg.Vectors
import org.apache.spark.ml.param.ParamMap
import org.apache.spark.sql.Dataset
import org.apache.spark.sql.Row
@hekonsek
hekonsek / Spark component URI format
Created December 15, 2015 19:17
Spark component URI format
spark:{rdd|dataframe|hive}