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
| package spark.example | |
| import org.apache.spark.SparkContext | |
| import org.apache.spark.SparkContext._ | |
| import org.apache.spark.SparkConf | |
| object SparkGrep { | |
| def main(args: Array[String]) { | |
| if (args.length < 3) { | |
| System.err.println("Usage: SparkGrep <host> <input_file> <match_term>") |
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
| commit e1f17a09b6d402e78268753897cbdbd4f8bed169 | |
| Author: Yash Sharma <yash360@gmail.com> | |
| Date: Mon Jul 6 09:51:22 2015 +0530 | |
| DRILL-92 : Cassandra storage plugin - rebased on Drill-1.2.0 | |
| diff --git a/contrib/pom.xml b/contrib/pom.xml | |
| index 8c00e76..0269efb 100644 | |
| --- a/contrib/pom.xml | |
| +++ b/contrib/pom.xml |
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 tensorflow as tf | |
| import numpy as np | |
| import time | |
| N=10000 | |
| K=4 | |
| MAX_ITERS = 1000 | |
| start = time.time() |