[ 
https://issues.apache.org/jira/browse/AMBARI-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yusaku Sako updated AMBARI-3487:
--------------------------------

    Description: 
For stack 1.x, NameNode StartTime is exposed via the NameNode "service 
component": 
http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/services/HDFS/components/NAMENODE
 , 'serviceComponentInfo', 'StartTime'. 
For stack 2.x, NameNode StartTime is exposed via the NameNode "host component":
http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/hosts/c6404.ambari.apache.org/host_components/NAMENODE
, 'metrics', 'runtime','StartTime'. 

The NameNode StartTime is not available via the NameNode host component for 
HDFS on the 1.x stack.  It should be available via the host component at the 
same path "metrics.runtime.StartTime'.  

  was:
Problem: 
For stack 1.x, we get NameNode StartTime from host-level : 
http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/services/HDFS/components/NAMENODE
 , 'serviceComponentInfo', 'StartTime'. 
For stack 2.x, we get this property from component-level:
http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/hosts/c6404.ambari.apache.org/host_components/NAMENODE
, 'metrics', 'runtime','StartTime'. 
Solution:
We should get this property from the same place as stack 2.x.



> NameNode StartTime attribute path for stack 1.x should be the same as stack 
> 2.x
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-3487
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3487
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.1
>            Reporter: Xi Wang
>            Priority: Critical
>             Fix For: 1.4.1
>
>
> For stack 1.x, NameNode StartTime is exposed via the NameNode "service 
> component": 
> http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/services/HDFS/components/NAMENODE
>  , 'serviceComponentInfo', 'StartTime'. 
> For stack 2.x, NameNode StartTime is exposed via the NameNode "host 
> component":
> http://c6404.ambari.apache.org:8080/api/v1/clusters/testServiceCombo/hosts/c6404.ambari.apache.org/host_components/NAMENODE
> , 'metrics', 'runtime','StartTime'. 
> The NameNode StartTime is not available via the NameNode host component for 
> HDFS on the 1.x stack.  It should be available via the host component at the 
> same path "metrics.runtime.StartTime'.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to