Skip to content Skip to sidebar Skip to footer
Showing posts with the label Scala

Generate Data By Using Existing Dataset As The Base Dataset

I have a dataset consisting of 100k unique data records, to benchmark the code, I need to test on d… Read more Generate Data By Using Existing Dataset As The Base Dataset

How Can A Reduce A Key Value Pair To Key And List Of Values?

Let us Assume, I have a key value pair in Spark, such as the following. [ (Key1, Value1), (Key1, Va… Read more How Can A Reduce A Key Value Pair To Key And List Of Values?

Start Hivethriftserver Programmatically In Python

In the spark-shell (scala), we import, org.apache.spark.sql.hive.thriftserver._ for starting Hive T… Read more Start Hivethriftserver Programmatically In Python

Bootstrapping A Web Server In Scala

The following is possible using Python: $ apt-get install python $ easy_install Flask $ cat > he… Read more Bootstrapping A Web Server In Scala

How To Run Multi Threaded Jobs In Apache Spark Using Scala Or Python?

I am facing a problem related to concurrency in spark which is stopping me from using it in product… Read more How To Run Multi Threaded Jobs In Apache Spark Using Scala Or Python?