You need to perform statistical analysis in your MapReduce job and would like to call methods in the Apache Commons Math library, which is distributed as a 1.3 megabyte Java archive (JAR) file. Which is the best way to make this library available to your MapReducer job at runtime?
A) Have your system administrator copy the JAR to all nodes in the cluster and set its location in the HADOOP_CLASSPATH environment variable before you submit your job.
B) Have your system administrator place the JAR file on a Web server accessible to all cluster nodes and then set the HTTP_JAR_URL environment variable to its location.
C) When submitting the job on the command line, specify the -libjars option followed by the JAR file path.
D) Package your code and the Apache Commands Math library into a zip file named JobJar.zip
Correct Answer:
Verified
Q9: Which process describes the lifecycle of a
Q10: The Hadoop framework provides a mechanism for
Q11: What is the disadvantage of using multiple
Q12: To process input key-value pairs, your mapper
Q13: You have the following key-value pairs as
Q15: Identify the MapReduce v2 (MRv2 / YARN)
Q16: You have written a Mapper which invokes
Q17: All keys used for intermediate output from
Q18: A client application creates an HDFS file
Q19: What data does a Reducer reduce method
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents