Skip to content
Latest Posts:
Creating test data using Python
How to replace multiple strings with their corresponding replacement strings in Scala
How to make the first character uppercase of each word of a List in Scala

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Projects
    • Python
      • Simple ETL Pipeline
  • Home
  • 2018
  • September

Month: September 2018

Sep 27

Program to load a text file into a Dataset in Spark using Java 8

Sai Gowtham BadvityLeave a commentApache Spark, Java2.3.0, Apache Spark, Dataset, Java 8

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a program to load a text file into a Dataset in Spark(2.3.0) using Java 8. Check out the below classes/concepts before going through the program: static org.apache.spark.sql.functions.col org.apache.spark.sql.Dataset org.apache.spark.sql.Row Read more

Sep 26

Word Count program using Spark and Java 8

Sai Gowtham BadvityLeave a commentApache Spark, JavaJava 8, Spark Word Count

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at the WordCount program in Spark using Java 8. Before going through the below program, it’s better to look into below concepts for a better understanding of the program: org.apache.spark.api.java.JavaRDD org.apache.spark.api.java.JavaPairRDD Read more

Sep 23

How to read a CSV file in spark-shell using Spark SQL

Sai Gowtham BadvityLeave a commentApache SparkApache Spark, CSV, Scala, spark-shell

Hey there! Welcome to ClearUrDoubt.com. In this post, we will go through the steps to read a CSV file in Spark SQL using spark-shell.   Step 1: In Spark 1.6.0, to read a CSV file, we need to use a Read more

Recent Posts

  • Creating test data using Python
  • How to replace multiple strings with their corresponding replacement strings in Scala
  • How to make the first character uppercase of each word of a List in Scala

Recent Comments

  • Sai Gowtham Badvity on Calculator program in Scala
  • Sai Aditya on Calculator program in Scala
  • pragadeeshwaran on How to add a new column and update its value based on the other column in the Dataframe in Spark
September 2018
S M T W T F S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Aug   Oct »
Copyright © All rights reserved.
University Hub by WEN Themes
Scroll Up