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

Method get_queries_json

tests/common/impala_service.py:344–347  ·  view source on GitHub ↗

Return the full JSON from the /queries page.

(self, timeout=30, interval=1)

Source from the content-addressed store, hash-verified

342 return groups
343
344 def get_queries_json(self, timeout=30, interval=1):
345 """Return the full JSON from the /queries page."""
346 return json.loads(
347 self.read_debug_webpage('queries?json', timeout=timeout, interval=interval))
348
349 def get_query_locations(self):
350 # Returns a dictionary of the format <host_address, num_of_queries_running_there>

Callers 5

get_query_locationsMethod · 0.95
get_in_flight_queriesMethod · 0.95
test_sslMethod · 0.95
_fetch_profile_loopMethod · 0.80

Calls 1

read_debug_webpageMethod · 0.80

Tested by 3

test_sslMethod · 0.76
_fetch_profile_loopMethod · 0.64