Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Correct way to create a Job instance?


Copy link to this message
-
Correct way to create a Job instance?
Hi guys,

Job API has three deprecated API. So the correct way to create a Job is:

Job job = Job.getInstance(Configuration conf)

is this correct?

second question:
Job API says: Job.getInstance() Creates a new Job with no particular Cluster.
A Cluster will be created with a generic Configuration.

What is generic Configuration?
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB