MCPcopy Create free account
hub / github.com/apache/impala / detect_using_web_ui

Method detect_using_web_ui

tests/common/environ.py:210–219  ·  view source on GitHub ↗

Determine the build type based on the Impala cluster's web UI by using get_build_flags_from_web_ui.

(cls, impala_url)

Source from the content-addressed store, hash-verified

208
209 @classmethod
210 def detect_using_web_ui(cls, impala_url):
211 """
212 Determine the build type based on the Impala cluster's web UI by using
213 get_build_flags_from_web_ui.
214 """
215 build_flags = ImpalaTestClusterFlagsDetector.get_build_flags_from_web_ui(impala_url)
216 build_type = build_flags['cmake_build_type']
217 library_link_type = build_flags['library_link_type']
218 ImpalaTestClusterFlagsDetector.validate_build_flags(build_type, library_link_type)
219 return build_type, library_link_type
220
221 @classmethod
222 def validate_build_flags(cls, build_type, library_link_type):

Callers 2

create_new_instanceMethod · 0.80

Calls 2

validate_build_flagsMethod · 0.80

Tested by

no test coverage detected