分享

安装cdh分发parcel卡着不动

mjjian0 发表于 2017-4-30 11:08:58 [显示全部楼层] 只看大图 回帖奖励 阅读模式 关闭右栏 9 39207
按照网上的文章安装cm,到分发parcel的时候,一直卡在那,求教啊。
卡.png

下面是服务日志
2017-04-30 10:32:11,414 INFO 1311775510@scm-web-4:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-SERVICEMONITOR-BASE' with kv 'firehose_heapsize','1073741824'2017-04-30 10:32:11,414 INFO 1311775510@scm-web-4:com.cloudera.server.cmf.cluster.RulesCluster: Persisting services, role config groups, and roles2017-04-30 10:32:11,461 INFO 1311775510@scm-web-4:com.cloudera.server.cmf.cluster.RulesCluster: Creating autoconfigs2017-04-30 10:32:11,465 INFO 1311775510@scm-web-4:com.cloudera.server.cmf.cluster.RulesCluster: Done with service and role creation2017-04-30 10:37:34,344 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Reaped total of 0 deleted commands2017-04-30 10:37:34,360 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Found no commands older than 2015-05-01T02:37:34.344Z to reap.2017-04-30 10:37:34,360 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Wizard is active, not reaping scanners or configurators2017-04-30 10:47:34,369 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Reaped total of 0 deleted commands2017-04-30 10:47:34,370 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Found no commands older than 2015-05-01T02:47:34.369Z to reap.2017-04-30 10:47:34,371 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Wizard is active, not reaping scanners or configurators2017-04-30 10:56:49,785 INFO 1638847250@scm-web-31:com.cloudera.parcel.components.ParcelManagerImpl: Undistributing parcels for CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster2017-04-30 10:57:34,377 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Reaped total of 0 deleted commands2017-04-30 10:57:34,378 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Found no commands older than 2015-05-01T02:57:34.377Z to reap.2017-04-30 10:57:34,378 INFO StaleEntityEviction:com.cloudera.server.cmf.StaleEntityEvictionThread: Wizard is active, not reaping scanners or configurators2017-04-30 10:57:43,252 INFO ScmActive-0:com.cloudera.server.cmf.components.ScmActive: (119 skipped) ScmActive completed successfully.2017-04-30 10:58:20,619 INFO 1623563038@scm-web-29:com.cloudera.parcel.components.ParcelManagerImpl: Distributing parcel CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster2017-04-30 11:00:00,013 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.service.ServiceHandlerRegistry: Executing command GlobalPoolsRefresh BasicCmdArgs{scheduleId=1, scheduledTime=2017-04-30T03:00:00.000Z}.2017-04-30 11:00:00,018 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.scheduler.CommandDispatcherJob: Skipping scheduled command 'GlobalPoolsRefresh' since it is a noop.2017-04-30 11:02:06,880 INFO 2050085891@scm-web-32:com.cloudera.parcel.components.ParcelManagerImpl: Undistributing parcels for CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster2017-04-30 11:02:09,295 INFO 2050085891@scm-web-32:com.cloudera.server.web.cmf.ParcelController: Synchronizing repos based on user request admin2017-04-30 11:02:09,295 INFO ParcelUpdateService:com.cloudera.parcel.components.LocalParcelManagerImpl: Found files CDH-5.8.4-1.cdh5.8.4.p0.5-el6.parcel under /opt/cloudera/parcel-repo2017-04-30 11:02:11,497 INFO 2050085891@scm-web-32:com.cloudera.parcel.components.ParcelManagerImpl: Distributing parcel CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster2017-04-30 11:02:19,112 WARN ParcelUpdateService:com.cloudera.parcel.components.ParcelDownloaderImpl: Invalid parcel in manifest : KAFKA-2.1.1-1.2.1.1.p0.18-xenial.parcel2017-04-30 11:02:20,650 WARN ParcelUpdateService:com.cloudera.parcel.components.ParcelDownloaderImpl: Invalid parcel in manifest : KEYTRUSTEE-5.11.0-5.KEYTRUSTEE5.11.0.p0.36-xenial.parcel2017-04-30 11:04:29,909 WARN 2050085891@scm-web-32:com.cloudera.server.cmf.tsquery.TimeSeriesQueryService: (7 skipped) Could not find a HOST_MONITORING nozzle from SCM.com.cloudera.cmon.MgmtServiceLocatorException: Could not find a HOST_MONITORING nozzle from SCM.        at com.cloudera.cmon.MgmtServiceLocator.getNozzleIPC(MgmtServiceLocator.java:141)        at com.cloudera.server.cmf.tsquery.NozzleRequest.<init>(NozzleRequest.java:50)        at com.cloudera.server.cmf.tsquery.TimeSeriesMultiRequest.<init>(TimeSeriesMultiRequest.java:48)        at com.cloudera.server.cmf.tsquery.TimeSeriesQueryService.queryTimeSeries(TimeSeriesQueryService.java:508)        at com.cloudera.server.web.cmf.charts.TimeSeriesQueryController.queryTimeSeriesHelper(TimeSeriesQueryController.java:328)        at com.cloudera.server.web.cmf.charts.TimeSeriesQueryController.queryTimeSeries(TimeSeriesQueryController.java:296)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:606)        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)        at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78)        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)        at com.jamonapi.http.JAMonServletFilter.doFilter(JAMonServletFilter.java:48)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)        at com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter.doFilter(JavaMelodyFacade.java:109)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:767)        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)        at org.mortbay.jetty.handler.StatisticsHandler.handle(StatisticsHandler.java:53)        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)        at org.mortbay.jetty.Server.handle(Server.java:326)        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)2017-04-30 11:04:34,351 INFO 2050085891@scm-web-32:com.cloudera.parcel.components.ParcelManagerImpl: Undistributing parcels for CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster2017-04-30 11:05:05,895 INFO 1486572922@scm-web-37:com.cloudera.parcel.components.ParcelManagerImpl: Distributing parcel CDH:5.8.4-1.cdh5.8.4.p0.5 on cluster cluster

已有(9)人评论

跳转到指定楼层
2017 发表于 2017-4-30 18:10:23
楼主升级吗?似乎缺管理服务
回复

使用道具 举报

mjjian0 发表于 2017-5-2 09:47:36
2017 发表于 2017-4-30 18:10
楼主升级吗?似乎缺管理服务

不是升级。我是看着网上教程装的,流程到这,就卡在这了。
回复

使用道具 举报

mjjian0 发表于 2017-5-2 09:52:44
2017 发表于 2017-4-30 18:10
楼主升级吗?似乎缺管理服务

难道是因为没有添加 Cloudera Management Service 服务这个吗

回复

使用道具 举报

2017 发表于 2017-5-2 12:07:13
mjjian0 发表于 2017-5-2 09:52
难道是因为没有添加 Cloudera Management Service 服务这个吗

嗯,对的。可以添加下。
回复

使用道具 举报

mjjian0 发表于 2017-5-2 13:42:25
2017 发表于 2017-5-2 12:07
嗯,对的。可以添加下。

我添加 这个服务,但是在这部又卡在这里了
(F)F@1@DZ94B9{S(YTIL(%P.png

说是30秒,但这都好长时间了还再转,服务日志也没什么错误。
2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Group 'mgmt-NAVIGATOR-BASE' with no members2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Group 'mgmt-SERVICEMONITOR-BASE' with members 'mgmt-SERVICEMONITOR-1e527bf6ad3cdc7939f9c54f861bf03b'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Group 'mgmt-ALERTPUBLISHER-BASE' with members 'mgmt-ALERTPUBLISHER-e4581994afc2a4e76db9edf21d4eb3f5'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-HOSTMONITOR-BASE' with kv 'firehose_non_java_memory_bytes','1610612736'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-HOSTMONITOR-BASE' with kv 'firehose_heapsize','1073741824'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-EVENTSERVER-BASE' with kv 'event_server_heapsize','1073741824'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-ACTIVITYMONITOR-BASE' with kv 'firehose_heapsize','1073741824'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-SERVICEMONITOR-BASE' with kv 'firehose_non_java_memory_bytes','1610612736'2017-05-02 13:37:45,410 INFO 1458847951@scm-web-95:com.cloudera.cmf.model.RoleConfigGroupMerger: Config for group 'mgmt-SERVICEMONITOR-BASE' with kv 'firehose_heapsize','1073741824'2017-05-02 13:37:45,411 INFO 1458847951@scm-web-95:com.cloudera.server.cmf.cluster.RulesCluster: Persisting services, role config groups, and roles2017-05-02 13:37:45,418 INFO 1458847951@scm-web-95:com.cloudera.server.cmf.cluster.RulesCluster: Creating autoconfigs2017-05-02 13:37:45,419 INFO 1458847951@scm-web-95:com.cloudera.server.cmf.cluster.RulesCluster: Done with service and role creation2017-05-02 13:37:54,343 INFO 1458847951@scm-web-95:com.cloudera.cmf.service.ServiceHandlerRegistry: Executing host command AmonTestDatabaseConnection BasicCmdArgs{args=[master01, mysql, master01, scm, scm, 123456]}.  Host: DbHost{id=5, hostId=483a2ba6-41c0-4778-b4fa-f86459ad3d23, hostName=master01}2017-05-02 13:38:41,576 INFO 1458847951@scm-web-95:com.cloudera.server.cmf.cluster.RulesCluster: Beginning automatic role assignment2017-05-02 13:38:41,603 INFO 1458847951@scm-web-95:com.cloudera.server.cmf.cluster.RulesCluster: Ending automatic role assignment
回复

使用道具 举报

醉半城 发表于 2017-5-2 19:12:39
mjjian0 发表于 2017-5-2 13:42
我添加 这个服务,但是在这部又卡在这里了

可以参考下我之前发布的一篇博文,我手机登录的,不方便直接给你链接,你可以点我图像进去看看
回复

使用道具 举报

ledasion 发表于 2017-5-8 16:22:19
可以到 /var/log/cloudera-scm-agent 目录下,看看日志是否已经道错了
回复

使用道具 举报

mjjian0 发表于 2017-5-26 20:38:42
哎呀,终于找到原因了:
agent日志报这个错:
[26/May/2017 20:34:11 +0000] 1381 MainThread agent        ERROR    Failed to handle Heartbeat Response: {u'firehoses': [], u'rm_enabled': False, u'client_configs': [], u'create_parcel_symlinks': True, u'server_managed_parcels': [u'http://master01:7180/cmf/parcel/download/CDH-5.8.4-1.cdh5.8.4.p0.5-el6.parcel'], u'extra_configs': None, u'host_collection_config_data': [{u'config_name': u'host_network_interface_collection_filter', u'config_value': u'^lo$'}, {u'config_name': u'host_disk_collection_filter', u'config_value': u'^$'}, {u'config_name': u'host_fs_collection_filter', u'config_value': u'^$'}, {u'config_name': u'host_log_tailing_config', u'config_value': u'{}\n'}, {u'config_name': u'host_dns_resolution_duration_thresholds', u'config_value': u'{"critical":"never","warning":"1000.0"}'}, {u'config_name': u'host_dns_resolution_enabled', u'config_value': u'true'}, {u'config_name': u'host_clock_offset_thresholds', u'config_value': u'{"critical":"10000.0","warning":"3000.0"}'}], u'apply_parcel_users_groups_permissions': True, u'flood_torrent_port': 7191, u'log_tailing_config': u'{}\n', u'active_parcels': {}, u'flood_rack_peers': [u'192.168.0.242:7191', u'192.168.0.241:7191', u'192.168.0.244:7191', u'192.168.0.243:7191', u'192.168.0.245:7191'], u'retain_parcels_in_cache': True, u'processes': [], u'server_manages_parcels': True, u'heartbeat_interval': 15, u'parcels_directory': u'/opt/cloudera/parcels', u'host_id': u'483a2ba6-41c0-4778-b4fa-f86459ad3d23', u'eventserver_host': None, u'enabled_metric_reporters': [u'ACCUMULO-ACCUMULO_MASTER', u'ACCUMULO_MASTER', u'ZOOKEEPER-SERVER', u'SERVER', u'SENTRY', u'SENTRY', u'SPARK-SPARK_HISTORY_SERVER', u'SPARK_HISTORY_SERVER', u'HUE-KT_RENEWER', u'KT_RENEWER', u'ISILON', u'ISILON', u'MAPREDUCE-JOBTRACKER', u'JOBTRACKER', u'SQOOP', u'SQOOP', u'HUE-BEESWAX_SERVER', u'BEESWAX_SERVER', u'KAFKA-KAFKA_BROKER', u'KAFKA_BROKER', u'HDFS-NFSGATEWAY', u'NFSGATEWAY', u'KEYTRUSTEE_SERVER-DB_ACTIVE', u'DB_ACTIVE', u'KAFKA-KAFKA_MIRROR_MAKER', u'KAFKA_MIRROR_MAKER', u'HDFS-JOURNALNODE', u'JOURNALNODE', u'HBASE-HBASETHRIFTSERVER', u'HBASETHRIFTSERVER', u'MGMT-EVENTSERVER', u'EVENTSERVER', u'HDFS-NAMENODE', u'NAMENODE', u'OOZIE', u'OOZIE', u'FLUME-AGENT', u'AGENT', u'HUE-HUE_LOAD_BALANCER', u'HUE_LOAD_BALANCER', u'KEYTRUSTEE_SERVER-DB_PASSIVE', u'DB_PASSIVE', u'ACCUMULO16-ACCUMULO16_TRACER', u'ACCUMULO16_TRACER', u'HBASE', u'HBASE', u'SENTRY-SENTRY_SERVER', u'SENTRY_SERVER', u'SQOOP-SQOOP_SERVER', u'SQOOP_SERVER', u'MGMT-REPORTSMANAGER', u'REPORTSMANAGER', u'ACCUMULO16-ACCUMULO16_TSERVER', u'ACCUMULO16_TSERVER', u'MGMT', u'MGMT', u'IMPALA-CATALOGSERVER', u'CATALOGSERVER', u'MAPREDUCE-FAILOVERCONTROLLER', u'FAILOVERCONTROLLER', u'IMPALA-LLAMA', u'LLAMA', u'IMPALA', u'IMPALA', u'HBASE-HBASERESTSERVER', u'HBASERESTSERVER', u'MGMT-ACTIVITYMONITOR', u'ACTIVITYMONITOR', u'HOST', u'MGMT-ALERTPUBLISHER', u'ALERTPUBLISHER', u'MGMT-SERVICEMONITOR', u'SERVICEMONITOR', u'MGMT-NAVIGATORMETASERVER', u'NAVIGATORMETASERVER', u'MAPREDUCE-TASKTRACKER', u'TASKTRACKER', u'SPARK', u'SPARK', u'KS_INDEXER', u'KS_INDEXER', u'MAPREDUCE', u'MAPREDUCE', u'YARN-JOBHISTORY', u'JOBHISTORY', u'SPARK-SPARK_MASTER', u'SPARK_MASTER', u'IMPALA-IMPALAD', u'IMPALAD', u'HDFS-DSSDDATANODE', u'DSSDDATANODE', u'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER', u'KEYTRUSTEE_ACTIVE_SERVER', u'SPARK-SPARK_WORKER', u'SPARK_WORKER', u'YARN', u'YARN', u'HIVE-WEBHCAT', u'WEBHCAT', u'YARN-NODEMANAGER', u'NODEMANAGER', u'HDFS-HTTPFS', u'HTTPFS', u'ACCUMULO-ACCUMULO_LOGGER', u'ACCUMULO_LOGGER', u'HDFS-SECONDARYNAMENODE', u'SECONDARYNAMENODE', u'SOLR-SOLR_SERVER', u'SOLR_SERVER', u'KMS-KMS', u'KMS', u'ACCUMULO-ACCUMULO_MONITOR', u'ACCUMULO_MONITOR', u'ACCUMULO-ACCUMULO_TSERVER', u'ACCUMULO_TSERVER', u'ACCUMULO16-ACCUMULO16_MONITOR', u'ACCUMULO16_MONITOR', u'SPARK_ON_YARN', u'SPARK_ON_YARN', u'HBASE-REGIONSERVER', u'REGIONSERVER', u'HUE-HUE_SERVER', u'HUE_SERVER', u'HIVE-HIVEMETASTORE', u'HIVEMETASTORE', u'ZOOKEEPER', u'ZOOKEEPER', u'IMPALA-STATESTORE', u'STATESTORE', u'HBASE-MASTER', u'MASTER', u'ACCUMULO16', u'ACCUMULO16', u'KAFKA', u'KAFKA', u'SQOOP_CLIENT', u'SQOOP_CLIENT', u'FLUME', u'FLUME', u'KS_INDEXER-HBASE_INDEXER', u'HBASE_INDEXER', u'KEYTRUSTEE-KMS_KEYTRUSTEE', u'KMS_KEYTRUSTEE', u'ACCUMULO-ACCUMULO_GC', u'ACCUMULO_GC', u'MGMT-NAVIGATOR', u'NAVIGATOR', u'KMS', u'KMS', u'KEYTRUSTEE_SERVER', u'KEYTRUSTEE_SERVER', u'HDFS-FAILOVERCONTROLLER', u'FAILOVERCONTROLLER', u'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER', u'KEYTRUSTEE_PASSIVE_SERVER', u'HUE', u'HUE', u'MGMT-HOSTMONITOR', u'HOSTMONITOR', u'ACCUMULO-ACCUMULO_TRACER', u'ACCUMULO_TRACER', u'SOLR', u'SOLR', u'ACCUMULO', u'ACCUMULO', u'HIVE', u'HIVE', u'HDFS', u'HDFS', u'ACCUMULO16-ACCUMULO16_GC', u'ACCUMULO16_GC', u'KEYTRUSTEE', u'KEYTRUSTEE', u'OOZIE-OOZIE_SERVER', u'OOZIE_SERVER', u'YARN-RESOURCEMANAGER', u'RESOURCEMANAGER', u'ACCUMULO16-ACCUMULO16_MASTER', u'ACCUMULO16_MASTER', u'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER', u'SPARK_YARN_HISTORY_SERVER', u'HIVE-HIVESERVER2', u'HIVESERVER2', u'HDFS-DATANODE', u'DATANODE'], u'flood_seed_timeout': 95, u'eventserver_port': None}
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/cmf/agent.py", line 1377, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/cmf/agent.py", line 1399, in _handle_heartbeat_response
    response["flood_torrent_port"])
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/cmf/agent.py", line 1816, in handle_heartbeat_flood
    flood_dir)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/cmf/downloader.py", line 179, in __init__
    self.client = TorrentRPCClient(server)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/flood/util/rpc.py", line 118, in __init__
    server = resolveHostPort(server, self.DEFAULT_RPC_PORT)
  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.4-py2.6.egg/flood/util/rpc.py", line 33, in resolveHostPort
    return HostPort(socket.gethostbyname(w[0]), port)
gaierror: [Errno -2] Name or service not known

网上搜了一下说是

机器的hosts文件内容不一致!有的配置没有localhost!

把localhost这个域名添加回去:

127.0.0.1 localhost
然后立刻就可以分发了,记得当初也 搜了这个错误,但是怎么就没有看到呢,看来还是因为当初比较急吧。

回复

使用道具 举报

mjjian0 发表于 2017-5-27 17:25:18
醉半城 发表于 2017-5-2 19:12
可以参考下我之前发布的一篇博文,我手机登录的,不方便直接给你链接,你可以点我图像进去看看

谢谢,不过在升级cdh的时候又遇见了这个错。http://www.aboutyun.com/thread-21840-1-1.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条