Member since
09-20-2017
9
Posts
0
Kudos Received
0
Solutions
03-10-2018
05:39 PM
I found https://community.hortonworks.com/articles/16144/write-or-append-failures-in-very-small-clusters-un.html
... View more
03-10-2018
05:05 PM
Did you figure out the issue? I have the same problem @P D
... View more
03-07-2018
06:52 PM
When trying to add an agent I get warning messages:
The command I am trying to execute:
python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users
When looking for the file i notice that ambari_agent doesn't exist under site-packages
[root@HOST usr]# ls /usr/lib/python2.6/site-packages/
resource_management resource_monitoring
Did I install the ambari-agent incorrectly? How do i get HostCleanup.py?
[root@HOST usr]# yum info ambari-server
Loaded plugins: langpacks, ulninfo
Installed Packages
Name : ambari-server
Arch : x86_64
Version : 2.6.1.3
Release : 3
Size : 781 M
Repo : installed
From repo : ambari-2.6.1.3
Summary : Ambari Server
URL : http://www.apache.org
License : (c) Apache Software Foundation
Description : Maven Recipe: RPM Package.
... View more
Labels:
- Labels:
-
Apache Ambari
03-06-2018
10:26 PM
This question is like: https://community.hortonworks.com/questions/78626/unable-to-download-client-config-files-from-ambari.html I am trying to download yarn configs. However ambari-server is being run as a user called hydra without sudo privileges. The key seems to be ExecutionFailed: Execution of 'mkdir -p /var/lib/ambari-server/data/tmp' returned 1 The folder exists and hydra can see and explore the folder. Does ambari-server user need sudo privileges? Ambari response: {status: 500,
message: "org.apache.ambari.server.controller.spi.SystemException: Execution of "ambari-python-wrap /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py generate_configs /var/lib/ambari-server/data/tmp/YARN_CLIENT3641434444363420281-configuration.json /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp" returned 1. java.lang.Throwable: 2018-03-06 15:10:44,629 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-03-06 15:10:44,713 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6 2018-03-06 15:10:44,714 - call['ambari-python-wrap /usr/bin/hdp-select status hadoop-yarn-resourcemanager'] {'timeout': 20} 2018-03-06 15:10:44,800 - call returned (0, 'hadoop-yarn-resourcemanager - 2.6.5.0-141') 2018-03-06 15:10:45,238 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf 2018-03-06 15:10:45,407 - Directory['/var/lib/ambari-server/data/tmp'] {'create_parents': True} 2018-03-06 15:10:45,489 - Creating directory Directory['/var/lib/ambari-server/data/tmp'] since it doesn't exist. Traceback (most recent call last): File "/var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py", line 62, in <module> YarnClient().execute() File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 375, in execute method(env) File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 1048, in generate_configs Directory(self.get_tmp_dir(), create_parents = True) File "/usr/lib/ambari-server/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-server/lib/resource_management/core/providers/system.py", line 185, in action_create sudo.makedirs(path, self.resource.mode or 0755) File "/usr/lib/ambari-server/lib/resource_management/core/sudo.py", line 204, in makedirs shell.checked_call(["mkdir", "-p", path], sudo=True) File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) resource_management.core.exceptions.ExecutionFailed: Execution of 'mkdir -p /var/lib/ambari-server/data/tmp' returned 1. We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. sudo: no tty present and no askpass program specified "
} ambari-server.log output: 06 Mar 2018 15:10:45,917 ERROR [ambari-client-thread-1870] ClientConfigResourceProvider:611 - Execution of "ambari-python-wrap /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py generate_configs /var/lib/ambari-server/data/tmp/YARN_CLIENT3641434444363420281-configuration.json /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp" returned 1.
java.util.concurrent.ExecutionException: Execution of "ambari-python-wrap /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py generate_configs /var/lib/ambari-server/data/tmp/YARN_CLIENT3641434444363420281-configuration.json /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp" returned 1.
at org.apache.ambari.server.controller.internal.ClientConfigResourceProvider.waitForAllThreadsToJoin(ClientConfigResourceProvider.java:604)
at org.apache.ambari.server.controller.internal.ClientConfigResourceProvider.getResources(ClientConfigResourceProvider.java:509)
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.ComponentService.createClientConfigResource(ComponentService.java:252)
at org.apache.ambari.server.api.services.ComponentService.getComponent(ComponentService.java:87)
at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1507)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:287)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.apache.ambari.server.security.authentication.AmbariDelegatingAuthenticationFilter.doFilter(AmbariDelegatingAuthenticationFilter.java:132)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.apache.ambari.server.security.authorization.AmbariUserAuthorizationFilter.doFilter(AmbariUserAuthorizationFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:125)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:427)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:212)
at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.java:201)
at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java:139)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:973)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1035)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:641)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Throwable: 2018-03-06 15:10:44,629 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2018-03-06 15:10:44,713 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6
2018-03-06 15:10:44,714 - call['ambari-python-wrap /usr/bin/hdp-select status hadoop-yarn-resourcemanager'] {'timeout': 20}
2018-03-06 15:10:44,800 - call returned (0, 'hadoop-yarn-resourcemanager - 2.6.5.0-141')
2018-03-06 15:10:45,238 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2018-03-06 15:10:45,407 - Directory['/var/lib/ambari-server/data/tmp'] {'create_parents': True}
2018-03-06 15:10:45,489 - Creating directory Directory['/var/lib/ambari-server/data/tmp'] since it doesn't exist.
Traceback (most recent call last):
File "/var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py", line 62, in <module>
YarnClient().execute()
File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 1048, in generate_configs
Directory(self.get_tmp_dir(), create_parents = True)
File "/usr/lib/ambari-server/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-server/lib/resource_management/core/providers/system.py", line 185, in action_create
sudo.makedirs(path, self.resource.mode or 0755)
File "/usr/lib/ambari-server/lib/resource_management/core/sudo.py", line 204, in makedirs
shell.checked_call(["mkdir", "-p", path], sudo=True)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'mkdir -p /var/lib/ambari-server/data/tmp' returned 1. We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
... 99 more
ambari-audit.log output: 2018-03-06T15:18:15.721-0500, User(hydra), RemoteIp(10.15.15.30), Operation(Client config download), RequestType(GET), url(http://ambari-master:8090/api/v1/clusters/hydra_test/services/YARN/components/YARN_CLIENT?format=client_config_tar), ResultStatus(500 Internal Server Error), Reason(org.apache.ambari.server.controller.spi.SystemException: Execution of "ambari-python-wrap /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py generate_configs /var/lib/ambari-server/data/tmp/YARN_CLIENT5642958756242132420-configuration.json /var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package /var/lib/ambari-server/data/tmp/structured-out.json INFO /var/lib/ambari-server/data/tmp" returned 1. java.lang.Throwable: 2018-03-06 15:18:14,439 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2018-03-06 15:18:14,528 - Stack Feature Version Info: Cluster Stack=2.6, Command Stack=None, Command Version=None -> 2.6
2018-03-06 15:18:14,529 - call['ambari-python-wrap /usr/bin/hdp-select status hadoop-yarn-resourcemanager'] {'timeout': 20}
2018-03-06 15:18:14,616 - call returned (0, 'hadoop-yarn-resourcemanager - 2.6.5.0-141')
2018-03-06 15:18:15,038 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2018-03-06 15:18:15,207 - Directory['/var/lib/ambari-server/data/tmp'] {'create_parents': True}
2018-03-06 15:18:15,287 - Creating directory Directory['/var/lib/ambari-server/data/tmp'] since it doesn't exist.
Traceback (most recent call last):
File "/var/lib/ambari-server/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn_client.py", line 62, in <module>
YarnClient().execute()
File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/usr/lib/ambari-server/lib/resource_management/libraries/script/script.py", line 1048, in generate_configs
Directory(self.get_tmp_dir(), create_parents = True)
File "/usr/lib/ambari-server/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-server/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-server/lib/resource_management/core/providers/system.py", line 185, in action_create
sudo.makedirs(path, self.resource.mode or 0755)
File "/usr/lib/ambari-server/lib/resource_management/core/sudo.py", line 204, in makedirs
shell.checked_call(["mkdir", "-p", path], sudo=True)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-server/lib/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'mkdir -p /var/lib/ambari-server/data/tmp' returned 1. We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
sudo: no tty present and no askpass program specified
), Service(YARN), Component(YARN_CLIENT) hydra can see the output: [hydra@ben000 home]$ ls -al /var/lib/ambari-server/data/tmp/
total 4
drwxrwxrwx 10 hydra root 4096 Mar 6 15:18 .
drwxrwxr-x 4 hydra root 40 Feb 6 07:56 ..
drwxrwxr-x 2 hydra hydra 10 Mar 4 21:17 jetty-0.0.0.0-8090-ADMIN_VIEW.2.6.1.0.-_views_ADMIN_VIEW_2.6.1.0_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-ADMIN_VIEW.2.6.1.3.-_views_ADMIN_VIEW_2.6.1.3_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-CAPACITY-SCHEDULER.1.0.0.-_views_CAPACITY-SCHEDULER_1.0.0_AUTO_CS_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-FILES.0.1.0.-_views_FILES_0.1.0_FILES_1-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-FILES.1.0.0.-_views_FILES_1.0.0_AUTO_FILES_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-HIVE.1.5.0.-_views_HIVE_1.5.0_AUTO_HIVE_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-HIVE.2.0.0.-_views_HIVE_2.0.0_AUTO_HIVE20_INSTANCE-any-
drwxr-xr-x 3 hydra hydra 24 Mar 6 14:53 jetty-0.0.0.0-8090-TEZ.0.7.0.2.6.4.0-91.-_views_TEZ_0.7.0.2.6.4.0-91_TEZ_CLUSTER_INSTANCE-any-
... View more
Labels:
- Labels:
-
Apache Ambari
03-04-2018
07:04 AM
Can an ambari agent be installed alongside ambari server? I have an ambari server running with agents. I want to add the server as another agent. On the ambar-server: sudo yum install ambari-agent Fails with the following output: ambari-2.6.1.0 | 2.9 kB 00:00:00
beats | 2.5 kB 00:00:00
bintray--sbt-rpm | 1.3 kB 00:00:00
chef | 2.9 kB 00:00:00
epel/x86_64/metalink | 16 kB 00:00:00
ius | 2.9 kB 00:00:00
rsyslog_v8 | 2.9 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.6.1.0-143 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================
Installing:
ambari-agent x86_64 2.6.1.0-143 ambari-2.6.1.0 90 M
Transaction Summary
=========================================================================================================================================================================================
Install 1 Package
Total download size: 90 M
Installed size: 125 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/ambari-2.6.1.0/packages/ambari-agent-2.6.1.0-143.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 07513cad: NOKEY 32 MB/s | 80 MB 00:00:00 ETA
Public key for ambari-agent-2.6.1.0-143.x86_64.rpm is not installed
ambari-agent-2.6.1.0-143.x86_64.rpm | 90 MB 00:00:01
Retrieving key from http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
Importing GPG key 0x07513CAD:
Userid : "Jenkins (HDP Builds) <jenkin@hortonworks.com>"
Fingerprint: df52 ed4f 7a3a 5882 c099 4c66 b973 3a7a 0751 3cad
From : http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.1.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction check error:
file /usr/lib/python2.6/site-packages from install of ambari-agent-2.6.1.0-143.x86_64 conflicts with file from package ambari-server-2.6.1.0-0.x86_64
Error Summary
-------------
... View more
Labels:
- Labels:
-
Apache Ambari