This file contains hidden or 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
| @[ "$(echo some text)" ] && cowsay Success! |
This file contains hidden or 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
| $ jabba ls | |
| openjdk@1.12.0 | |
| openjdk@1.11.0-2 | |
| $ jabba use openjdk@1.11.0-2 | |
| $ which java | |
| ~/.jabba/jdk/openjdk@1.11.0-2/bin/java |
This file contains hidden or 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
| $ jabba ls-remote | grep openjdk | grep 12 | |
| openjdk@1.12.0 | |
| openjdk-shenandoah@1.12.0 | |
| $ jabba install openjdk@1.12.0 | |
| # Make OpenJDK 12 your default JVM | |
| $ jabba alias default openjdk@1.12.0 | |
| ## Let's check our Java version! |
This file contains hidden or 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 -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh |
This file contains hidden or 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
| [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 hekonsek@gmail.com | |
| 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 henryk.konsek@capsilon.com@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 |
This file contains hidden or 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
| [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 hekonsek@gmail.com | |
| 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 henryk.konsek@capsilon.com@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 |
This file contains hidden or 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
| $ 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.) |
This file contains hidden or 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 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 |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| spark:{rdd|dataframe|hive} |