Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/16449

to look at the new patch set (#6).

Change subject: IMPALA-10231: Expose db and key properties of HdfsTable in JSON
......................................................................

IMPALA-10231: Expose db and key properties of HdfsTable in JSON

Catalogd has a debug page at '/catalog_object' showing catalog objects
in thrift debug strings. It's inconvenient for tests to parse the thrift
string and get interested infos.

This patch extend this page to support returning JSON results, which
eases tests to extract complex infos from the catalog objects, e.g.
partition ids of a hdfs table.

Currently, not all the thrift fields are exposed since we are writing
the converting codes by ourselves. If there is a tool/library for
converting thrift objects to json objects, we can switch to that
solution in the future.

As the first step, only dbs and key properties of HdfsTable are exposed.

Tests:
 - Add tests to verified json fields existence.

Change-Id: I15f256b4e3f5206c7140746694106e03b0a4ad92
---
M be/src/catalog/CMakeLists.txt
A be/src/catalog/catalog-json.cc
M be/src/catalog/catalog-server.cc
M be/src/catalog/catalog-server.h
M tests/webserver/test_web_pages.py
5 files changed, 412 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/49/16449/6
--
To view, visit http://gerrit.cloudera.org:8080/16449
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I15f256b4e3f5206c7140746694106e03b0a4ad92
Gerrit-Change-Number: 16449
Gerrit-PatchSet: 6
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to