Member since
01-12-2017
15
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2824 | 05-11-2017 05:13 PM | |
1354 | 07-01-2016 06:11 PM |
01-18-2018
11:12 AM
Thanks for the reply. I have tried something similar, but when I run the installer binary (./cloudera-manager-installer.bin), it gives an interactive prompt: Is there any way to get this installer to run without user input?
... View more
01-17-2018
03:07 PM
Context I'm working on setting up a Hadoop cluster consisting of multiple VMs (for testing and development purposes) on a local desktop machine. I have a proof of concept working, where I installed Cloudera Manager manually and then setup the cluster. But now I'd like to automate it. Problem To automate this process, I need to be able to script the installation of Cloudera Manager, so that it works without manual intervention. Using Cloudera Director doesn't seem to be an option for this use case, because we're not running the cluster on any cloud provider (AWS, Azure, etc.). Is there any way to automate the Cloudera Manager installation for a local desktop?
... View more
Labels:
- Labels:
-
Cloudera Manager
05-11-2017
05:13 PM
I've figured out a way to do this. I used peerConfigGenerators in the SDL file. Peer configs create a properties file with key/value pairs--the key/value pairs themselves weren't useful to me, but each line of the file is prepended by hostname that the chose role is running on. I then parsed that file for the hostname in the control script.
... View more
05-09-2017
01:47 PM
Thanks for the reply @csguna. I have seen those links before, and haven't found the answer I'm looking for yet.
... View more
05-08-2017
04:51 PM
I'm creating a CSD for a custom service with multiple roles. Some of the roles need to have knowledge of which host(s) other roles are running on, similar to how a NameNode needs to know which hosts have DataNodes. I think this information should be accessible somehow after a user has chosen the role hosts in the CM UI, but I can't figure out how. So, how can I access a role's hostname from the service.sdl or control.sh files?
... View more
Labels:
- Labels:
-
Cloudera Manager
07-01-2016
06:11 PM
I have figured out the issue. There was a typo; a directory was named ..../packages instead of ..../package
... View more
07-01-2016
04:47 PM
From the UI, I'm accessing as the admin user, but this exception is appearing when I restart ambari-server.
... View more
06-30-2016
10:50 PM
I have created a custom service in Ambari, I tested it in an HDP 2.4 sandbox and found that it worked correctly. Later I tried to install it on a new HDP 2.4 sandbox, and I've found that it is failing immediately because <SERVICE>/packages/archive.zip, and the <SERVICE>/packages/.hash are not being created. I have restarted both the Ambari server and Ambari agent several times with no luck. I have also turned on DEBUG mode in the logging and I'm seeing this message in ambari-server.log: 30 Jun 2016 22:20:50,373 DEBUG [qtp-ambari-client-26 - /api/v1/clusters/Sandbox/requests?to=end&page_size=10&fields=Requests&_=1467325359411] ExceptionTranslationFilter:165 - Access is denied (user is an\
onymous); redirecting to authentication entry point
org.springframework.security.access.AccessDeniedException: Access is denied
at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:83)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:206)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
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.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.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:196)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
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:1467)
at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
I have not enabled any security policies, so I'm not sure why this is happening. Any help would be appreciated!
... View more
Labels:
- Labels:
-
Apache Ambari