Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1958 | 06-15-2020 05:23 AM | |
| 15908 | 01-30-2020 08:04 PM | |
| 2100 | 07-07-2019 09:06 PM | |
| 8197 | 01-27-2018 10:17 PM | |
| 4653 | 12-31-2017 10:12 PM |
03-21-2018
04:57 PM
we have ambari version - 2.6.1.0
... View more
03-21-2018
04:57 PM
so in that case can we capture the individual hosts/components that are in MM?
... View more
03-21-2018
04:37 PM
we run the follwing curl in order to check which services/component are in maintenance mode curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://localhost:8080/api/v1/clusters/sys76/services?ServiceInfo/maintenance_state=OFF as we can see all zookeeper are in maintenance mode but the output from API still show - "maintenance_state" : "OFF" why ? - what its wrong here ? example "href" : "http://localhost:8080/api/v1/clusters/sys76/services/ZOOKEEPER",
"ServiceInfo" : {
"cluster_name" : "sys76",
"maintenance_state" : "OFF",
"service_name" : "ZOOKEEPER"
}
}
]
... View more
Labels:
03-21-2018
07:56 AM
@Jay I will open another thread because it is complicate and I will give it more simple
... View more
03-20-2018
10:59 AM
@Jay maybe we need to restart the ambari-agent after ambari upgrade ?
... View more
03-20-2018
10:59 AM
@Jay this is the head of the file <?xml version="1.0"?>
<repository-version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="version_definition.xsd">
<release>
<type>STANDARD</type>
<stack-id>HDP-2.6</stack-id>
<version>2.6.4.0</version>
<build>91</build>
<compatible-with>2\.[3-6]\.\d+\.\d+</compatible-with>
<release-notes>http://example.com</release-notes>
<display>HDP-2.6.4.0</display>
</release>
<manifest>
... View more
03-20-2018
10:53 AM
@Jay I see the fine on ambari server - /var/www/html/HDP/centos7/2.6.4.0-91/HDP-2.6.4.0-91.xml , and file isn't empty , and looks ok , so what we can do else?
... View more
03-20-2018
10:16 AM
@Jay regarding the problem , I see in amnari-server log the following : (invalid VDF) as you know we use API to upgrade the HDP and when we do the API without ambari upgrade then evrything is OK the problem is upgrading by API after ambari upgrade , what is your opinion? <br>20 Mar 2018 09:58:32,393 ERROR [ambari-client-thread-973] CheckHelper:109 - Check COMPONENTS_INSTALLATION failed
org.apache.ambari.server.AmbariException: Unable to run upgrade checks because of an invalid VDF
at org.apache.ambari.server.checks.AbstractCheckDescriptor.getServicesInUpgrade(AbstractCheckDescriptor.java:345)
at org.apache.ambari.server.checks.ComponentsInstallationCheck.perform(ComponentsInstallationCheck.java:69)
at org.apache.ambari.server.state.CheckHelper.performChecks(CheckHelper.java:104)
at org.apache.ambari.server.controller.internal.PreUpgradeCheckResourceProvider.getResources(PreUpgradeCheckResourceProvider.java:236)
at org.apache.ambari.server.controller.internal.ClusterControllerImpl$ExtendedResourceProviderWrapper.queryForResources(ClusterControllerImpl.java:966)
at org.apache.ambari.server.controller.internal.ClusterControllerImpl.getResources(ClusterControllerImpl.java:141)
at org.apache.ambari.server.api.query.QueryImpl.doQuery(QueryImpl.java:529)
at org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:398)
at org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:222)
at org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:77)
at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
at org.apache.ambari.server.api.services.PreUpgradeCheckService.getPreUpgradeChecks(PreUpgradeCheckService.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
20 Mar 2018 09:56:42,162 ERROR [ambari-client-thread-888] CheckHelper:76 - Unable to determine whether the pre-upgrade check SERVICES_RANGER_PASSWORD_VERIFY is applicable to this upgrade
org.apache.ambari.server.AmbariException: Unable to run upgrade checks because of an invalid VDF
... View more