Hadoop Configuration

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following class provides access to configuration parameters? a) Config b) Configuration c) OutputConfig d) None of the mentioned

b) Configuration Configurations are specified by resources.

________ method adds the deprecated key to the global deprecation map. a) addDeprecits b) addDeprecation c) keyDeprecation d) none of the mentioned

b) addDeprecation addDeprecation does not override any existing entries in the deprecation map.

Point out the wrong statement: a) addDeprecations adds a set of deprecated keys to the global deprecations b) configuration parameters cannot be declared final c) addDeprecations method is lockless d) none of the mentioned

b) configuration parameters cannot be declared final Configuration parameters may be declared final.

Administrators typically define parameters as final in __________ for values that user applications may not alter. a) core-default.xml b) core-site.xml c) coredefault.xml d) all of the mentioned

b) core-site.xml Value strings are first processed for variable expansion.

___________ gives site-specific configuration for a given hadoop installation. a) core-default.xml b) core-site.xml c) coredefault.xml d) all of the mentioned

b) core-site.xml core-default.xml is read-only defaults for hadoop.

_________ is useful for iterating the properties when all deprecated properties for currently set properties need to be present. a) addResource b) setDeprecatedProperties c) addDefaultResource d) none of the mentioned

b) setDeprecatedProperties setDeprecatedProperties sets all deprecated properties that are not currently set but have a corresponding new property that is set.

Which of the following adds a configuration resource? a) addResource b) setDeprecatedProperties c) addDefaultResource d) addResource

d) addResource The properties of this resource will override properties of previously added resources, unless they were marked final.

_________ method clears all keys from the configuration. a) clear b) addResource c) getClass d) none of the mentioned

a) clear getClass is used to get the value of the name property as a Class.

________ checks whether the given key is deprecated. a) isDeprecated b) setDeprecated c) isDeprecatedif d) all of the mentioned

a) isDeprecated Method returns true if the key is deprecated and false otherwise.

Point out the correct statement : a) Configuration parameters may be declared static b) Unless explicitly turned off, Hadoop by default specifies two resources c) Configuration class provides access to configuration parameters d) None of the mentioned

a) Configuration parameters may be declared static Once a resource declares a value final, no subsequently-loaded resource can alter that value.


Ensembles d'études connexes

Psychology Chapter 9 Learn Smart

View Set

Macroeconomics Midterm 1 - Unemployment

View Set

GRADE 10 - Biology / Digestive System

View Set

UH Manoa - PH 203 (T. Lee) - Certification Test : How To Recognize Plagiarism

View Set

15. Commercial General Liability Insurance

View Set