博客
关于我
linux与hadoop
阅读量:96 次
发布时间:2019-02-26

本文共 670 字,大约阅读时间需要 2 分钟。

使用Spark2和Cloudera Manager时,确保Cloudera Manager版本为5.8.0或更高版本。

如果遇到删除cm-5.7.0/run/cloudera-scm-agent/process失败的问题,尝试执行umount /opt/cm-5.7.0/run/cloudera-scm-agent/process命令。

在重启Cloudera-scm-agent服务时,如果出现cloudera-scm-agent dead but pid file exists错误,请先通过以下命令终止进程:

  • 执行ps -ef | grep cloudera-scm-agent查找进程PID。
  • 使用kill -f $(ps -ef | grep cloudera-scm-agent | awk '{print $1}')终止进程。
  • 删除文件/opt/cm-5.12.0/run/cloudera-scm-agent/cloudera-scm-agent.pid
  • /opt/cm-5.12.0/etc/init.d目录下执行./cloudera-scm-agent start启动服务。
  • 在HDFS服务重启后,如果出现以下错误:

    Canary测试无法在/tmp/.cloudera_health_monitoring_canary_files中创建文件
    这可能是由于NameNode处于安全模式导致的。
    解决方法:
    执行sudo -u hdfs hdfs dfsadmin -safemode leave命令,退出安全模式。

    转载地址:http://swru.baihongyu.com/

    你可能感兴趣的文章
    org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement profile
    查看>>
    sql查询中 查询字段数据类型 int 与 String 出现问题
    查看>>
    org.apache.commons.beanutils.BasicDynaBean cannot be cast to ...
    查看>>
    org.apache.dubbo.common.serialize.SerializationException: com.alibaba.fastjson2.JSONException: not s
    查看>>
    sqlserver学习笔记(三)—— 为数据库添加新的用户
    查看>>
    org.apache.http.conn.HttpHostConnectException: Connection to refused
    查看>>
    org.apache.ibatis.binding.BindingException: Invalid bound statement错误一例
    查看>>
    org.apache.ibatis.exceptions.PersistenceException:
    查看>>
    org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned
    查看>>
    org.apache.ibatis.type.TypeException: Could not resolve type alias 'xxxx'异常
    查看>>
    org.apache.poi.hssf.util.Region
    查看>>
    org.apache.xmlbeans.XmlOptions.setEntityExpansionLimit(I)Lorg/apache/xmlbeans/XmlOptions;
    查看>>
    org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
    查看>>
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'
    查看>>
    org.hibernate.HibernateException: Unable to get the default Bean Validation factory
    查看>>
    org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
    查看>>
    org.springframework.amqp.AmqpConnectException:java.net.ConnectException:Connection timed out:connect
    查看>>
    org.springframework.beans.factory.BeanDefinitionStoreException
    查看>>
    org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
    查看>>
    org.springframework.boot:spring boot maven plugin丢失---SpringCloud Alibaba_若依微服务框架改造_--工作笔记012
    查看>>