File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/sparkTutorial/pairRdd/create Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
import java .util .Arrays ;
11
11
import java .util .List ;
12
12
13
- public class createPairRDDFromRegularRDD {
13
+ public class PairRddFromRegularRdd {
14
14
15
15
public static void main (String [] args ) throws Exception {
16
16
17
- SparkConf conf = new SparkConf ().setAppName ("create" ).setMaster ("local[* ]" );
17
+ SparkConf conf = new SparkConf ().setAppName ("create" ).setMaster ("local[1 ]" );
18
18
19
19
JavaSparkContext sc = new JavaSparkContext (conf );
20
20
Original file line number Diff line number Diff line change 8
8
import java .util .Arrays ;
9
9
import java .util .List ;
10
10
11
- public class createPairRDDFromTupleList {
11
+ public class PairRddFromTupleList {
12
12
13
13
public static void main (String [] args ) throws Exception {
14
14
15
- SparkConf conf = new SparkConf ().setAppName ("create" ).setMaster ("local[* ]" );
15
+ SparkConf conf = new SparkConf ().setAppName ("create" ).setMaster ("local[1 ]" );
16
16
17
17
JavaSparkContext sc = new JavaSparkContext (conf );
18
18
You can’t perform that action at this time.
0 commit comments