ramkrishna.s.vasudevan created HBASE-21267:
----------------------------------------------
Summary: Spark in java examples throws 'A master URL must be set
in your configuration'
Key: HBASE-21267
URL: https://issues.apache.org/jira/browse/HBASE-21267
Project: HBase
Issue Type: Test
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Trying out some spark on java examples I found this
'A master URL must be set in your configuration'.
It comes from here
bq. SparkConf sparkConf = new
SparkConf().setAppName("JavaHBaseBulkPutExample " + tableName);
Adding the below line solved the problem,
bq. SparkConf sparkConf = new SparkConf().setAppName("JavaHBaseBulkPutExample "
+ tableName).setMaster("local[2]")
But am not sure if there is any better way.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)