ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt" <mithm...@gmail.com>
Subject Re: Review Request 42536: Extend HAWQ service check to include querying external table through PXF
Date Thu, 21 Jan 2016 10:03:10 GMT


> On Jan. 20, 2016, 11:16 p.m., Alexander Denissov wrote:
> > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py,
line 74
> > <https://reviews.apache.org/r/42536/diff/2/?file=1203652#file1203652line74>
> >
> >     there is utils.exec_hawq_operation() function that will source the path file
and run a hawq command

The command **hawq state -d /hawq/master/directory** is supposed to be run on the HAWQ master
host.  
exec_hawq_operation runs the hawq command on the local host. Considering that Ambari picks
any host with a HAWQ component, it is not guaranteed that it picks the HAWQMASTER host. In
case HAWQSEGMENT host is picked (a host with no HAWQMASTER), we will need to ssh into the
HAWQMASTER host and run the command. Hence we are using utils.exec_ssh_cmd for running this
command


- Matt


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42536/#review115582
-----------------------------------------------------------


On Jan. 20, 2016, 10:34 a.m., Matt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42536/
> -----------------------------------------------------------
> 
> (Updated Jan. 20, 2016, 10:34 a.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, bhuvnesh chaudhary, jun aoki, Lav Jain,
and Newton Alex.
> 
> 
> Bugs: AMBARI-14732
>     https://issues.apache.org/jira/browse/AMBARI-14732
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Current HAWQ service check implementation executes tests with HAWQ internal tables. Extend
the service check to include tests with external tables on HDFS, which can be queried through
PXF
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
fe3743b 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/params.py
aa3527c 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
c35fdce 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/utils.py
c1a38bb 
> 
> Diff: https://reviews.apache.org/r/42536/diff/
> 
> 
> Testing
> -------
> 
> Manually Tested
> 
> 
> Thanks,
> 
> Matt
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message