Member since
12-23-2016
59
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1026 | 01-26-2017 08:16 PM |
03-12-2017
03:00 AM
I am also facing the same issue for "YARN Queue Manager". Is it okay to delete the default instance and recreate a new one? Please advise. Thank you, Sachin A
... View more
03-12-2017
01:50 AM
I see only " Files View" instance under Views --> Files. I have uploaded the screenshot for the same. Where exactly the suggested changes needs to be done. Please advise. Thank you, Sachin A ambari-view-error-screenshots.pdf
... View more
03-11-2017
10:08 PM
Hi all, When i open my file view i got this error: Service 'hdfs' check failed: Failed to get cluster information associated with this view instance Service 'hdfs' check failed:
org.apache.ambari.server.view.IllegalClusterException: Failed to get cluster information associated with this view instance
at org.apache.ambari.server.view.ViewRegistry.getCluster(ViewRegistry.java:960)
at org.apache.ambari.server.view.ViewContextImpl.getCluster(ViewContextImpl.java:370)
at org.apache.ambari.server.view.ViewContextImpl.getPropertyValues(ViewContextImpl.java:437)
at org.apache.ambari.server.view.ViewContextImpl.getProperties(ViewContextImpl.java:171)
at org.apache.ambari.view.utils.hdfs.AuthConfigurationBuilder.parseProperties(AuthConfigurationBuilder.java:54)
at org.apache.ambari.view.utils.hdfs.AuthConfigurationBuilder.build(AuthConfigurationBuilder.java:101)
at org.apache.ambari.view.utils.hdfs.HdfsUtil.connectToHDFSApi(HdfsUtil.java:123)
at org.apache.ambari.view.commons.hdfs.HdfsService.hdfsSmokeTest(HdfsService.java:136)
at org.apache.ambari.view.filebrowser.HelpService.hdfsStatus(HelpService.java:86)
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)
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.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.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:790)
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:257)
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.jwt.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:96)
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.apache.ambari.server.security.authentication.AmbariAuthenticationFilter.doFilter(AmbariAuthenticationFilter.java:88)
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.view.AmbariViewsMDCLoggingFilter.doFilter(AmbariViewsMDCLoggingFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.view.ViewThrottleFilter.doFilter(ViewThrottleFilter.java:161)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:109)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1478)
at org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilter(AbstractSecurityHeaderFilter.java:109)
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:150)
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: org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterId=2
at org.apache.ambari.server.state.cluster.ClustersImpl.getCluster(ClustersImpl.java:312)
at org.apache.ambari.server.view.ViewRegistry.getCluster(ViewRegistry.java:957)
... 110 more Please advise. Thank you, Sachin A
... View more
Labels:
- Labels:
-
Apache Ambari
03-11-2017
08:59 PM
While working on practice exam for HDPCA task 2 : Commission a New Node
Add node1 to the horton cluster, given the following details:
The required SSH private key is located in the file id_rsa found in the /home/horton/Desktop folder
Install the DataNode, NodeManager, and Client services on node1 Host check has 2 warning, Firewall is running and ntp service is not running on node1. I am getting below erroe when I tried to fix the issue manually. [root@node1 ~]# service iptables stop
iptables: Setting chains to policy ACCEPT: nat filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: iptable_nat iptable_filter iptable_nat iptable_filter ip_tables [FAILED] root@node1 ~]# chkconfig iptables off [root@node1 ~]# service ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libm.so.6: cannot open shared object file: Permission denied
[FAILED] Please advise. Thank you, Sachin A
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
03-11-2017
08:11 PM
Any update? Thank you, Sachin A
... View more
03-02-2017
11:40 PM
As per link, http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_cluster-planning/content/hardware-for-slave.1.html "Depending on the number of cores, your slave nodes typically require 24 GB to 48 GB of RAM for Hadoop applications" Does this mean that each datanode should have 24GB - 48GB RAM and quad core CPU?
Please advise. Thank you, Sachin A
... View more
03-02-2017
10:22 PM
To Hadoop Guru's, I am new in planning cluster and need some directions in doing some capacity planing for Hadoop Cluster. Production cluster will be on 1) Node 1: Namenode 2) Node 2: Resouce Manager Node 3) Node 3: Standby Name node 4) Datanodes But not sure how much RAM will be required for namenode and each datanode, as well as no of CPU's. The block size is 128MB. Let me know what else needs to be consider to select the RAM size and # of CPU's. Thank you, SA
... View more
Labels:
- Labels:
-
Apache Hadoop
02-26-2017
11:25 PM
1 Kudo
What is the minimum memory and CPU requirement for each datanode in a 15 node cluster? Please advise Thank you, SA
... View more
02-25-2017
11:15 PM
1 Kudo
Could not determine the age of the last HDFS checkpoint. Please ensure
that you have a recent checkpoint. Otherwise, the NameNode(s) can take a
very long time to start up.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
02-25-2017
08:03 PM
I see there are multiple symlinks created to locate folder "conf", what is the purpose behind creating multiple symlink? Please advise. Thank you, Sachin A
... View more
02-25-2017
06:56 AM
1) Is starting and stopping Hadoop services can only be achieved via Ambari? or are there any scripts available to start and stop the Hadoop services via command line? 2) Which one from below is actual $HADOOP_HOME? /usr/hdp/2.5.3.0-37/etc/hadoop/conf.empty/
/etc/hadoop/2.5.3.0-37/0/ Please advise. Thank you, Sachin A
... View more
Labels:
- Labels:
-
Apache Hadoop
02-25-2017
06:34 AM
service-check-failed-error-log.txt
... View more
02-25-2017
06:34 AM
Uploaded complete error log. Issue is occurring when I click on "File View" option from Ambari.
... View more
Labels:
- Labels:
-
Apache Ambari
02-24-2017
06:38 AM
If a query in Hive is running slow, how to analyze poor performance of Hive query? Is there any explain plan for the query to get the execution method of query? Please advise. Thank you, Sachin A
... View more
02-22-2017
07:05 AM
[ambari@ambari ambari-server]$ ambari-server --version 2.4.2.0-136 [ambari@datanode3 ~]$ ambari-agent --version 2.1.1
... View more
02-22-2017
06:54 AM
I am getting this error while addition new node using Ambari. Uploaded ambari-server.log, ambari-agent.log and error screenshot doc. Please advise. Thank you, Sachin Anodeadditionerror.zip
... View more
02-22-2017
06:41 AM
Node addition failed with Registering with the server...
Registration with the server failed.
... View more
Labels:
- Labels:
-
Apache Ambari
01-28-2017
11:55 PM
All the services started successfully except SmartSense. Below is the error. How do I get the smartsense ID? 28 Jan 2017 15:38:38,275 ERROR [main] ActivityAnalyzerFacade:189 - Failed to analyze activities
com.hortonworks.smartsense.activity.ActivityException: Invalid smartsense ID unspecified. Please configure a vaid SmartSense ID to proceed.
at com.hortonworks.smartsense.activity.util.ActivityUtil.validateSmartSenseId(ActivityUtil.java:398)
at com.hortonworks.smartsense.activity.ActivityAnalyzerFacade.main(ActivityAnalyzerFacade.java:177)
28 Jan 2017 15:48:53,840 ERROR [main] ActivityAnalyzerFacade:189 - Failed to analyze activities
com.hortonworks.smartsense.activity.ActivityException: Invalid smartsense ID unspecified. Please configure a vaid SmartSense ID to proceed.
at com.hortonworks.smartsense.activity.util.ActivityUtil.validateSmartSenseId(ActivityUtil.java:398)
at com.hortonworks.smartsense.activity.ActivityAnalyzerFacade.main(ActivityAnalyzerFacade.java:177) Please advise. Thank you, Sachin A
... View more
01-28-2017
09:40 PM
Ambari server startup Issue is resolved by dropping previously created database in mysql and recreating database and running the Ambari-DDL-MySQL-CREATE.sql script.
... View more
01-28-2017
07:56 PM
As per your suggestion followed the steps to installed the latest Ambari 2.4.2.0, however, ambari-server startup command failed to start with below error: Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'ambaridb.extensionlink' doesn't exist
Error Code: 1146
Call: SELECT t1.link_id, t1.extension_id, t1.stack_id FROM stack t0, extensionlink t1 WHERE (((t0.stack_name = ?) AND (t0.stack_version = ?)) AND (t0.stack_id = t1.stack_id))
bind => [2 parameters bound]
Query: ReadAllQuery(name="ExtensionLinkEntity.findByStack" referenceClass=ExtensionLinkEntity sql="SELECT t1.link_id, t1.extension_id, t1.stack_id FROM stack t0, extensionlink t1 WHERE (((t0.stack_name = ?) AND (t0.stack_version = ?)) AND (t0.stack_id = t1.stack_id))")
I have also uploaded installation steps log and ambari-server log file Please advise. Thank you, Sachin Aambari-server2420-log.zipambari-server-2420-installation-log.txt
... View more
01-27-2017
06:41 PM
As I have installed ambari server and agent, no HDP services, is there any document available to clean up ambari 2.1? Please advise. Thank you, Sachin A
... View more
01-27-2017
06:25 PM
I am preparing for HDPCA exam which is based on Ambari 2.1 version.
... View more
01-27-2017
05:57 PM
I downloaded the hdp.repo from http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Installing_HDP_AMB/content/_hdp_stack_repositories.html. Is this not a correct location? Please advise, Thank you,
... View more
01-27-2017
05:40 PM
This is fresh installation of Ambari 2.1 with HDP 2.3. I am using Ambari to install the HDP services. There was typo from my side under Select
Stack --> Advance Repository options for red hat 6 OS with HDP 2.3 version the base url is
pointing http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.6.0. I corrected the location ass per hdp.repo located under /etc/yum.repo.d/ to use http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.7. However, after correcting the base url location I am still getting same issue. Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 147, in <module>
ApplicationTimelineServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py", line 38, in install
self.install_packages(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 376, in install_packages
Package(name)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 45, in action_install
self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install 'hadoop_2_3_*-yarn'' returned 1. Error: Package: zookeeper_2_3_6_0_3796-3.4.6.2.3.6.0-3796.el6.noarch (HDP-2.3)
Requires: hdp-select >= 2.3.6.0-3796
Installed: hdp-select-2.3.4.7-4.el6.noarch (@HDP-2.3.4.7)
hdp-select = 2.3.4.7-4.el6
Error: Package: hadoop_2_3_6_0_3796-2.7.1.2.3.6.0-3796.el6.x86_64 (HDP-2.3)
Requires: hdp-select >= 2.3.6.0-3796
Installed: hdp-select-2.3.4.7-4.el6.noarch (@HDP-2.3.4.7)
hdp-select = 2.3.4.7-4.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest Please advise. Thank you, Sachin A
... View more
01-27-2017
12:41 AM
stderr: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py", line 120, in <module>
HdfsClient().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute
method(env) File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py", line 34, in install
self.install_packages(env, params.exclude_packages) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 376, in install_packages
Package(name) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 45, in action_install
self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 49, in install_package
shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install 'hadoop_2_3_*'' returned 1. Error: Package: zookeeper_2_3_6_0_3796-3.4.6.2.3.6.0-3796.el6.noarch (HDP-2.3)
Requires: hdp-select >= 2.3.6.0-3796 Installed: hdp-select-2.3.4.7-4.el6.noarch (@HDP-2.3.4.7)
hdp-select = 2.3.4.7-4.el6 Error: Package: hadoop_2_3_6_0_3796-2.7.1.2.3.6.0-3796.el6.x86_64 (HDP-2.3) Requires: hdp-select >= 2.3.6.0-3796 Installed: hdp-select-2.3.4.7-4.el6.noarch (@HDP-2.3.4.7) hdp-select = 2.3.4.7-4.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)
01-26-2017
09:38 PM
Thanks for your quick response. Your solution worked. Now there are no errors in ambari-server.log file. Thank you, Sachin A
... View more
01-26-2017
08:47 PM
Do I need to rerun below command with mysql-connector-java for version 5.1.40 or just unlink the existing one and redirect to the new mysql-connector-java.jar? ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar Please advise. Thank you, Sachin A
... View more
01-26-2017
08:43 PM
Ambari version is 2.1 I have uploaded log file. Issue looks similar to what mentioned in below link. https://community.hortonworks.com/content/supportkb/48751/ambari-log-reports-you-have-an-error-in-your-sql-s.html What is the stable mysql-connector-java.jar version? As per the link Note: Connector version 5.1.37 has been observed to have issues with some of the Batch operations in Ambari. Please advise, Thank you, Sachin A
... View more