| Property Name | Default | Description |
|---|---|---|
| spark.cassandra.auth.conf.factory | DefaultAuthConfFactory | name of a Scala module or class implementing AuthConfFactory providing custom authentication configuration |
| spark.cassandra.auth.username | None | Login name for password authentication |
| spark.cassandra.auth.password | None | password for password authentication |
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
| // | |
| // Source code recreated from a .class file by IntelliJ IDEA | |
| // (powered by Fernflower decompiler) | |
| // | |
| package org.apache.hadoop.fs; | |
| import com.google.common.annotations.VisibleForTesting; | |
| import java.io.Closeable; | |
| import java.io.FileNotFoundException; |
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
| if(! (!this.collisionDetection || !this.collisionMap || !this.collisionMap.loaded)) { | |
| if (this.speed < 7) { | |
| this.key.forward = true | |
| } else { | |
| this.key.forward = false | |
| } | |
| var x = Math.round(this.collisionMap.pixels.width / 2 + this.dummy.position.x * this.collisionPixelRatio); | |
| var z = Math.round(this.collisionMap.pixels.height / 2 + this.dummy.position.z * this.collisionPixelRatio); | |
| var pos = new THREE.Vector3(x, 0, z); |
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
| if(! (!this.collisionDetection || !this.collisionMap || !this.collisionMap.loaded)) { | |
| //Breaking is for losers | |
| this.key.forward = true | |
| var x = Math.round(this.collisionMap.pixels.width / 2 + this.dummy.position.x * this.collisionPixelRatio); | |
| var z = Math.round(this.collisionMap.pixels.height / 2 + this.dummy.position.z * this.collisionPixelRatio); | |
| var pos = new THREE.Vector3(x, 0, z); | |
| //console.log(x, z, this.collisionMap.pixels.width, this.collisionMap.pixels.height, this.dummy.position.x, this.dummy.position.z) |
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
| ```python | |
| df = sqlContext.createDataFrame([("test", 1)]) | |
| ``` | |
| ```python | |
| df.show() | |
| ``` |
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
| ```python | |
| df = sqlContext.createDataFrame([("test", 1)]) | |
| ``` | |
| ```python | |
| df.show() | |
| ``` |
df = sqlContext.createDataFrame([("test", 1)])df.show()
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
| { | |
| "cluster_name": "blades", | |
| "private_key_path": "/Users/russellspitzer/.ssh/blade", | |
| "ssh_user": "root", | |
| "hosts": [ | |
| { | |
| "host_name": "blade-8-3a", | |
| "ip_address": "blade-8-3a", | |
| "private_host_name": "blade-8-3a", | |
| "private_ip_address": "blade-8-3a" |
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
| if [ "$JVM_VERSION" \< "1.8.0" ] ; then | |
| ### Start CMS GC Settings | |
| # Used if Java version is not 1.8+, G1GC is used for Java 1.8+. | |
| # some JVMs will fill up their heap when accessed via JMX, see CASSANDRA-6541 | |
| JVM_OPTS="$JVM_OPTS -XX:+CMSClassUnloadingEnabled" | |
| # CMS GC tuning options | |
| JVM_OPTS="$JVM_OPTS -Xmn${HEAP_NEWSIZE}" | |
| JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC" | |
| JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC" |