报错背景:

CDH断电后重启失败,解决了种种错误之后,重启成功,但是重启之后的服务器没有任何进程,

查看/opt/cm-5.15.1/log/cloudera-scm-server/cloudera-scm-server.log日志,我来到了这个错误面前。

报错现象:

查看报错日志:

tail -n 200 /opt/cm-5.15.1/log/cloudera-scm-server/cloudera-scm-server.log

-- ::, INFO WebServerImpl:com.cloudera.server.web.kaiser.components.HealthAdviceManager: Registering  CSD bas
-- ::, INFO WebServerImpl:org.springframework.web.servlet.handler.SimpleUrlHandlerMapping: Root mapping to hanParameterizableViewController]
-- ::, INFO WebServerImpl:org.springframework.web.servlet.DispatcherServlet: FrameworkServlet 'Spring MVC Disp
-- ::, INFO WebServerImpl:com.cloudera.server.web.cmon.JobDetailGatekeeper: ActivityMonitor configured to allo
-- ::, INFO WebServerImpl:com.cloudera.server.web.cmf.AggregatorController: AggregateSummaryScheduler started.
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: I6Z
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: G
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: N
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: G
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: N
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: C
-- ::, INFO WebServerImpl:org.mortbay.log: jetty-6.1..cloudera.
-- ::, INFO WebServerImpl:org.mortbay.log: Started SelectChannelConnector@0.0.0.0:
-- ::, INFO WebServerImpl:com.cloudera.server.cmf.WebServerImpl: Started Jetty server.
-- ::, INFO SearchRepositoryManager-:com.cloudera.server.web.cmf.search.components.SearchRepositoryManager: F
-- ::, INFO ScmActive-:com.cloudera.server.cmf.components.ScmActive: ScmActive completed successfully.
-- ::, ERROR ParcelUpdateService:com.cloudera.parcel.components.ParcelDownloaderImpl: Unable to retrieve remot
java.util.concurrent.ExecutionException: java.net.ConnectException: https://archive.cloudera.com/cdh5/parcels/5.15/manifest.jso
at com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:)
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:)
at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:)
at org.jboss.netty.channel.DefaultChannelFuture.addListener(DefaultChannelFuture.java:)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:)
at com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:)
at com.ning.http.client.AsyncHttpClient$BoundRequestBuilder.execute(AsyncHttpClient.java:)
at com.cloudera.parcel.components.ParcelDownloaderImpl.getRepositoryInfoFuture(ParcelDownloaderImpl.java:)
at com.cloudera.parcel.components.ParcelDownloaderImpl.getRepositoryInfo(ParcelDownloaderImpl.java:)
at com.cloudera.parcel.components.ParcelDownloaderImpl.syncRemoteRepos(ParcelDownloaderImpl.java:)
at com.cloudera.parcel.components.ParcelDownloaderImpl$.run(ParcelDownloaderImpl.java:)
at com.cloudera.parcel.components.ParcelDownloaderImpl$.run(ParcelDownloaderImpl.java:)
at com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable.call(ReadWriteDatabaseTaskCallable.java:)
at java.util.concurrent.FutureTask.run(FutureTask.java:)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:)
at java.lang.Thread.run(Thread.java:)
Caused by: java.net.ConnectException: https://archive.cloudera.com/cdh5/parcels/5.15/manifest.json
at com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:)
... more
Caused by: java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:)
at org.jboss.netty.handler.ssl.SslHandler.handleDownstream(SslHandler.java:)
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:)
at org.jboss.netty.handler.codec.http.HttpClientCodec.handleDownstream(HttpClientCodec.java:)
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:)
at org.jboss.netty.channel.Channels.connect(Channels.java:)
at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:)
... more

报错日志

报错原因:

根据日志里面的信息,我们可以看出,这个问题肯定和manifest.json这个文件有关系。

这时,我想起来这个文件是CDH一开始安装的时候用到的三个文件之一,后来安装kafka的时候,这个文件被替换了。

CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel

CDH-5.15.1-1.cdh5.15.1.p0.4-el7.parcel.sha1

manifest.json

报错解决:

我找到这个目录:/opt/cloudera/parcel-repo/

把以前备份的manifest.json文件放进上面的目录

重启cloudera-scm-server,报错解决。

报错:ERROR ParcelUpdateService:com.cloudera.parcel.components.ParcelDownloaderImpl: Unable to retrieve remote parcel repository manifest的更多相关文章

  1. service cloudera-scm-server restart报错 Unable to retrieve remote parcel repository manifest

    Unable to retrieve remote parcel repository manifest 1 详细错误 ERROR ParcelUpdateService:com.cloudera.p ...

  2. linux使用wkhtmltopdf报错error while loading shared libraries:

    官网提示 linux需要这些动态库.depends on: zlib, fontconfig, freetype, X11 libs (libX11, libXext, libXrender) 在li ...

  3. 发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store

    发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store 昨晚上传项目到AppStore,报了这个错,纳尼! ...

  4. 升级到macOS 10.12 mysqlb报错ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

    系统升级到macOS 10.12后启动mysql后,在终端输入mysql 报错ERROR 1045 (28000): Access denied for user 'root'@'localhost' ...

  5. inoic start projectname sidemenu报错 - Error: Cannot find module 'lodash._baseslice'

    inoic start projectname sidemenu报错 - Error: Cannot find module 'lodash._baseslice' 在公司的电脑上出现过这个错误,后来 ...

  6. 运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

    运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such f ...

  7. CentOS命令登录MySQL时,报错ERROR 1045 (28000):

    CentOS命令登录MySQL时,报错ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)错误解 ...

  8. android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:

    android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 问题原因: ...

  9. mysql报错"ERROR 1206 (HY000): The total number of locks exceeds the lock table size"的解决方法

    1. 问题背景         InnoDB是新版MySQL(v5.5及以后)默认的存储引擎,之前版本的默认引擎为MyISAM,因此,低于5.5版本的mysql配置文件.my.cnf中,关于InnoD ...

随机推荐

  1. 如何快速判断一个key是否存在在亿级数据中(bloomFilters)

    面试题 现在有一个非常庞大的数据(亿级),假设全是 int 类型.现在我给你一个数,你需要告诉我它是否存在其中(尽量高效) 分析 采用bloomFilters进行实现(时间&空间尽可能的有效) ...

  2. C++中cin.getline与cin.get要注意的地方

    cin.getline与cin.get的区别是,cin.getline不会将结束符或者换行符残留在输入缓冲区中.

  3. Linux 驱动——Led驱动2

    led_drv.c驱动文件: #include <linux/module.h>#include <linux/kernel.h>#include <linux/init ...

  4. Java中语法与C/CPP的区别

    static不能在成员方法中定义,只能作为类变量定义.

  5. Oracle12c的安装

    直接下一步不多说高级安装可以选择设置,嫌麻烦可以直接典型安装(少些设置步骤)这里随便命用户名,口令即密码此处可以改安装路径可以根据电脑自身配置更改,但建议高于20%(给的越少,Oracle运行速度越慢 ...

  6. 记一次idea启动tomcat后控制台乱码的坑

    IDEA的编码配置大致跟<IntelliJ IDEA 控制台中文乱码解决方案>一样 但是启动后依旧乱码!why? 后来想起来,之前因为在win10控制台下跑tomcat乱码,所以,改过一个 ...

  7. 【论文阅读】Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks

    Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks 参考 1. 人脸关键点: 2. ...

  8. storm入门基础实例(无可靠性保证实例)

    本实例为入门篇无可靠性保证实例,关于storm的介绍,以及一些术语名词等,可以参考Storm介绍(一).Storm介绍(二). 本案例是基于storm0.9.3版本 1.案例结构 案例:Word Co ...

  9. springCloud、springBoot学习

    http://projects.spring.io/spring-cloud/  官网https://springcloud.cc/spring-cloud-netflix.htmlhttp://cl ...

  10. Hibernate 相关配置

    hibernate.temp.use_jdbc_metadata_defaults 它是用来控制是否应该向JDBC元数据来确定某些设置默认值,在数据库某些服务不可用的设置为 *不*,在某些工具中开发是 ...