df = sqlContext.createDataFrame([("test", 1)])df.show()| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| 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" |
| { | |
| "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" |
df = sqlContext.createDataFrame([("test", 1)])df.show()| ```python | |
| df = sqlContext.createDataFrame([("test", 1)]) | |
| ``` | |
| ```python | |
| df.show() | |
| ``` |
| ```python | |
| df = sqlContext.createDataFrame([("test", 1)]) | |
| ``` | |
| ```python | |
| df.show() | |
| ``` |
| 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) |
| 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); |
| // | |
| // 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; |