2020年11月30日

安装CDH时因目录权限不足造成cloudera-scm-agent启动失败

点击数:10

输出错误信息如下:

[26/Apr/2020 12:50:22 +0000] 16187 MainThread agent        INFO     Triggering supervisord update.
[26/Apr/2020 12:50:24 +0000] 16187 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\'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\'config_name\': u\'diag_bundle_redaction_policy\', u\'config_value\': u\'{\\n  \"version\": 1,\\n  \"rules\": [\\n    {\\n      \"description\": \"Redact passwords from json files\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"\"password\"[ ]*:[ ]*\"[^\"]+\"\",\\n      \"replace\": \"\"password\": \"BUNDLE-REDACTED\"\"\\n    },\\n    {\\n      \"description\": \"Redact password= and password:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"password[:=][^ \"\\]+\",\\n      \"replace\": \"password=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact passwd= and passwd:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"passwd\",\\n      \"search\": \"passwd[:=][^ \"\\]+\",\\n      \"replace\": \"passwd=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact pass= and pass:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"pass\",\\n      \"search\": \"pass[:=][^ \"\\]+\",\\n      \"replace\": \"pass=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact PASSWORD,\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"PASSWORD,\",\\n      \"search\": \"PASSWORD,[^\"\\]+\",\\n      \"replace\": \"PASSWORD, BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact key= and key:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"key\",\\n      \"search\": \"key[:=][^ \"\\]+\",\\n      \"replace\": \"key=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact secret= and secret:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"secret\",\\n      \"search\": \"secret[:=][^ \"\\]+\",\\n      \"replace\": \"secret=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact credential= and credential:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"credential\",\\n      \"search\": \"credential[:=][^ \"\\]+\",\\n      \"replace\": \"credential=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact token= and token:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"token\",\\n      \"search\": \"token[:=][^ \"\\]+\",\\n      \"replace\": \"token=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact keyid= and keyid:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"keyid\",\\n      \"search\": \"keyid[:=][^ \"\\]+\",\\n      \"replace\": \"keyid=BUNDLE-REDACTED\"\\n    }\\n  ]\\n}\\n\'}], 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\'10.58.10.108: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\'e90a6dcb-54ca-4024-ae53-850b584ef9b3\', u\'cm_guid\': u\'d0d74366-30e7-46f1-bb11-050649e3d047\', u\'eventserver_host\': None, u\'enabled_metric_reporters\': [u\'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER\', u\'SPARK_YARN_HISTORY_SERVER\', u\'HBASE-HBASERESTSERVER\', u\'HBASERESTSERVER\', u\'SPARK\', u\'SPARK\', u\'HBASE\', u\'HBASE\', u\'ACCUMULO-ACCUMULO_TRACER\', u\'ACCUMULO_TRACER\', u\'MGMT-EVENTSERVER\', u\'EVENTSERVER\', u\'KAFKA-KAFKA_BROKER\', u\'KAFKA_BROKER\', u\'HBASE-REGIONSERVER\', u\'REGIONSERVER\', u\'LUNA_KMS-HSMKP_LUNA\', u\'HSMKP_LUNA\', u\'THALES_KMS\', u\'THALES_KMS\', u\'IMPALA-IMPALAD\', u\'IMPALAD\', u\'ISILON\', u\'ISILON\', u\'YARN-NODEMANAGER\', u\'NODEMANAGER\', u\'MAPREDUCE\', u\'MAPREDUCE\', u\'ACCUMULO16-ACCUMULO16_TRACER\', u\'ACCUMULO16_TRACER\', u\'KMS\', u\'KMS\', u\'ACCUMULO16-ACCUMULO16_MONITOR\', u\'ACCUMULO16_MONITOR\', u\'YARN-JOBHISTORY\', u\'JOBHISTORY\', u\'KEYTRUSTEE\', u\'KEYTRUSTEE\', u\'HDFS-JOURNALNODE\', u\'JOURNALNODE\', u\'KAFKA\', u\'KAFKA\', u\'SPARK-SPARK_HISTORY_SERVER\', u\'SPARK_HISTORY_SERVER\', u\'HDFS-NAMENODE\', u\'NAMENODE\', u\'MAPREDUCE-TASKTRACKER\', u\'TASKTRACKER\', u\'IMPALA-CATALOGSERVER\', u\'CATALOGSERVER\', u\'LUNA_KMS\', u\'LUNA_KMS\', u\'KUDU-KUDU_MASTER\', u\'KUDU_MASTER\', u\'HDFS-DSSDDATANODE\', u\'DSSDDATANODE\', u\'SENTRY\', u\'SENTRY\', u\'ACCUMULO16-ACCUMULO16_GC\', u\'ACCUMULO16_GC\', u\'MGMT-NAVIGATOR\', u\'NAVIGATOR\', u\'HIVE\', u\'HIVE\', u\'SQOOP-SQOOP_SERVER\', u\'SQOOP_SERVER\', u\'KUDU\', u\'KUDU\', u\'KAFKA-KAFKA_MIRROR_MAKER\', u\'KAFKA_MIRROR_MAKER\', u\'ACCUMULO-ACCUMULO_TSERVER\', u\'ACCUMULO_TSERVER\', u\'ACCUMULO-ACCUMULO_GC\', u\'ACCUMULO_GC\', u\'ACCUMULO16-ACCUMULO16_MASTER\', u\'ACCUMULO16_MASTER\', u\'ACCUMULO-ACCUMULO_LOGGER\', u\'ACCUMULO_LOGGER\', u\'OOZIE\', u\'OOZIE\', u\'SQOOP_CLIENT\', u\'SQOOP_CLIENT\', u\'OOZIE-OOZIE_SERVER\', u\'OOZIE_SERVER\', u\'HDFS-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'YARN\', u\'YARN\', u\'HDFS-NFSGATEWAY\', u\'NFSGATEWAY\', u\'HDFS-HTTPFS\', u\'HTTPFS\', u\'HUE-KT_RENEWER\', u\'KT_RENEWER\', u\'KEYTRUSTEE_SERVER-DB_ACTIVE\', u\'DB_ACTIVE\', u\'KS_INDEXER-HBASE_INDEXER\', u\'HBASE_INDEXER\', u\'ACCUMULO16\', u\'ACCUMULO16\', u\'KEYTRUSTEE-KMS_KEYTRUSTEE\', u\'KMS_KEYTRUSTEE\', u\'SOLR-SOLR_SERVER\', u\'SOLR_SERVER\', u\'HOST\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER\', u\'KEYTRUSTEE_PASSIVE_SERVER\', u\'IMPALA-STATESTORE\', u\'STATESTORE\', u\'HDFS-DATANODE\', u\'DATANODE\', u\'ACCUMULO-ACCUMULO_MASTER\', u\'ACCUMULO_MASTER\', u\'YARN-RESOURCEMANAGER\', u\'RESOURCEMANAGER\', u\'HUE-HUE_SERVER\', u\'HUE_SERVER\', u\'ACCUMULO-ACCUMULO_MONITOR\', u\'ACCUMULO_MONITOR\', u\'MGMT-NAVIGATORMETASERVER\', u\'NAVIGATORMETASERVER\', u\'HBASE-MASTER\', u\'MASTER\', u\'KEYTRUSTEE_SERVER-DB_PASSIVE\', u\'DB_PASSIVE\', u\'SPARK_ON_YARN\', u\'SPARK_ON_YARN\', u\'MGMT-REPORTSMANAGER\', u\'REPORTSMANAGER\', u\'MGMT-SERVICEMONITOR\', u\'SERVICEMONITOR\', u\'MGMT-ALERTPUBLISHER\', u\'ALERTPUBLISHER\', u\'HIVE-HIVESERVER2\', u\'HIVESERVER2\', u\'MGMT-ACTIVITYMONITOR\', u\'ACTIVITYMONITOR\', u\'MAPREDUCE-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'ACCUMULO\', u\'ACCUMULO\', u\'ZOOKEEPER\', u\'ZOOKEEPER\', u\'MGMT-HOSTMONITOR\', u\'HOSTMONITOR\', u\'IMPALA\', u\'IMPALA\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER\', u\'KEYTRUSTEE_ACTIVE_SERVER\', u\'HUE-BEESWAX_SERVER\', u\'BEESWAX_SERVER\', u\'SOLR\', u\'SOLR\', u\'ACCUMULO16-ACCUMULO16_TSERVER\', u\'ACCUMULO16_TSERVER\', u\'LUNA_KMS-HSMKP_METASTORE_LUNA\', u\'HSMKP_METASTORE_LUNA\', u\'HBASE-HBASETHRIFTSERVER\', u\'HBASETHRIFTSERVER\', u\'FLUME\', u\'FLUME\', u\'HUE\', u\'HUE\', u\'SENTRY-SENTRY_SERVER\', u\'SENTRY_SERVER\', u\'HDFS-SECONDARYNAMENODE\', u\'SECONDARYNAMENODE\', u\'THALES_KMS-HSMKP_METASTORE_THALES\', u\'HSMKP_METASTORE_THALES\', u\'HIVE-HIVEMETASTORE\', u\'HIVEMETASTORE\', u\'IMPALA-LLAMA\', u\'LLAMA\', u\'SPARK-SPARK_WORKER\', u\'SPARK_WORKER\', u\'MGMT\', u\'MGMT\', u\'HIVE-WEBHCAT\', u\'WEBHCAT\', u\'SQOOP\', u\'SQOOP\', u\'HUE-HUE_LOAD_BALANCER\', u\'HUE_LOAD_BALANCER\', u\'FLUME-AGENT\', u\'AGENT\', u\'HDFS\', u\'HDFS\', u\'KUDU-KUDU_TSERVER\', u\'KUDU_TSERVER\', u\'KMS-KMS\', u\'KMS\', u\'KS_INDEXER\', u\'KS_INDEXER\', u\'SPARK-SPARK_MASTER\', u\'SPARK_MASTER\', u\'ZOOKEEPER-SERVER\', u\'SERVER\', u\'KEYTRUSTEE_SERVER\', u\'KEYTRUSTEE_SERVER\', u\'MAPREDUCE-JOBTRACKER\', u\'JOBTRACKER\', u\'THALES_KMS-HSMKP_THALES\', u\'HSMKP_THALES\'], u\'flood_seed_timeout\': 0, u\'eventserver_port\': None}
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1556, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1580, in _handle_heartbeat_response
    response[\"flood_torrent_port\"])
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 2020, in handle_heartbeat_flood
    self.downloader.update_opener(opener)
AttributeError: \'NoneType\' object has no attribute \'update_opener\'
[26/Apr/2020 12:50:24 +0000] 16187 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\'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\'config_name\': u\'diag_bundle_redaction_policy\', u\'config_value\': u\'{\\n  \"version\": 1,\\n  \"rules\": [\\n    {\\n      \"description\": \"Redact passwords from json files\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"\"password\"[ ]*:[ ]*\"[^\"]+\"\",\\n      \"replace\": \"\"password\": \"BUNDLE-REDACTED\"\"\\n    },\\n    {\\n      \"description\": \"Redact password= and password:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"password[:=][^ \"\\]+\",\\n      \"replace\": \"password=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact passwd= and passwd:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"passwd\",\\n      \"search\": \"passwd[:=][^ \"\\]+\",\\n      \"replace\": \"passwd=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact pass= and pass:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"pass\",\\n      \"search\": \"pass[:=][^ \"\\]+\",\\n      \"replace\": \"pass=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact PASSWORD,\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"PASSWORD,\",\\n      \"search\": \"PASSWORD,[^\"\\]+\",\\n      \"replace\": \"PASSWORD, BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact key= and key:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"key\",\\n      \"search\": \"key[:=][^ \"\\]+\",\\n      \"replace\": \"key=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact secret= and secret:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"secret\",\\n      \"search\": \"secret[:=][^ \"\\]+\",\\n      \"replace\": \"secret=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact credential= and credential:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"credential\",\\n      \"search\": \"credential[:=][^ \"\\]+\",\\n      \"replace\": \"credential=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact token= and token:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"token\",\\n      \"search\": \"token[:=][^ \"\\]+\",\\n      \"replace\": \"token=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact keyid= and keyid:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"keyid\",\\n      \"search\": \"keyid[:=][^ \"\\]+\",\\n      \"replace\": \"keyid=BUNDLE-REDACTED\"\\n    }\\n  ]\\n}\\n\'}], 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\'10.58.10.108: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\'e90a6dcb-54ca-4024-ae53-850b584ef9b3\', u\'cm_guid\': u\'d0d74366-30e7-46f1-bb11-050649e3d047\', u\'eventserver_host\': None, u\'enabled_metric_reporters\': [u\'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER\', u\'SPARK_YARN_HISTORY_SERVER\', u\'HBASE-HBASERESTSERVER\', u\'HBASERESTSERVER\', u\'SPARK\', u\'SPARK\', u\'HBASE\', u\'HBASE\', u\'ACCUMULO-ACCUMULO_TRACER\', u\'ACCUMULO_TRACER\', u\'MGMT-EVENTSERVER\', u\'EVENTSERVER\', u\'KAFKA-KAFKA_BROKER\', u\'KAFKA_BROKER\', u\'HBASE-REGIONSERVER\', u\'REGIONSERVER\', u\'LUNA_KMS-HSMKP_LUNA\', u\'HSMKP_LUNA\', u\'THALES_KMS\', u\'THALES_KMS\', u\'IMPALA-IMPALAD\', u\'IMPALAD\', u\'ISILON\', u\'ISILON\', u\'YARN-NODEMANAGER\', u\'NODEMANAGER\', u\'MAPREDUCE\', u\'MAPREDUCE\', u\'ACCUMULO16-ACCUMULO16_TRACER\', u\'ACCUMULO16_TRACER\', u\'KMS\', u\'KMS\', u\'ACCUMULO16-ACCUMULO16_MONITOR\', u\'ACCUMULO16_MONITOR\', u\'YARN-JOBHISTORY\', u\'JOBHISTORY\', u\'KEYTRUSTEE\', u\'KEYTRUSTEE\', u\'HDFS-JOURNALNODE\', u\'JOURNALNODE\', u\'KAFKA\', u\'KAFKA\', u\'SPARK-SPARK_HISTORY_SERVER\', u\'SPARK_HISTORY_SERVER\', u\'HDFS-NAMENODE\', u\'NAMENODE\', u\'MAPREDUCE-TASKTRACKER\', u\'TASKTRACKER\', u\'IMPALA-CATALOGSERVER\', u\'CATALOGSERVER\', u\'LUNA_KMS\', u\'LUNA_KMS\', u\'KUDU-KUDU_MASTER\', u\'KUDU_MASTER\', u\'HDFS-DSSDDATANODE\', u\'DSSDDATANODE\', u\'SENTRY\', u\'SENTRY\', u\'ACCUMULO16-ACCUMULO16_GC\', u\'ACCUMULO16_GC\', u\'MGMT-NAVIGATOR\', u\'NAVIGATOR\', u\'HIVE\', u\'HIVE\', u\'SQOOP-SQOOP_SERVER\', u\'SQOOP_SERVER\', u\'KUDU\', u\'KUDU\', u\'KAFKA-KAFKA_MIRROR_MAKER\', u\'KAFKA_MIRROR_MAKER\', u\'ACCUMULO-ACCUMULO_TSERVER\', u\'ACCUMULO_TSERVER\', u\'ACCUMULO-ACCUMULO_GC\', u\'ACCUMULO_GC\', u\'ACCUMULO16-ACCUMULO16_MASTER\', u\'ACCUMULO16_MASTER\', u\'ACCUMULO-ACCUMULO_LOGGER\', u\'ACCUMULO_LOGGER\', u\'OOZIE\', u\'OOZIE\', u\'SQOOP_CLIENT\', u\'SQOOP_CLIENT\', u\'OOZIE-OOZIE_SERVER\', u\'OOZIE_SERVER\', u\'HDFS-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'YARN\', u\'YARN\', u\'HDFS-NFSGATEWAY\', u\'NFSGATEWAY\', u\'HDFS-HTTPFS\', u\'HTTPFS\', u\'HUE-KT_RENEWER\', u\'KT_RENEWER\', u\'KEYTRUSTEE_SERVER-DB_ACTIVE\', u\'DB_ACTIVE\', u\'KS_INDEXER-HBASE_INDEXER\', u\'HBASE_INDEXER\', u\'ACCUMULO16\', u\'ACCUMULO16\', u\'KEYTRUSTEE-KMS_KEYTRUSTEE\', u\'KMS_KEYTRUSTEE\', u\'SOLR-SOLR_SERVER\', u\'SOLR_SERVER\', u\'HOST\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER\', u\'KEYTRUSTEE_PASSIVE_SERVER\', u\'IMPALA-STATESTORE\', u\'STATESTORE\', u\'HDFS-DATANODE\', u\'DATANODE\', u\'ACCUMULO-ACCUMULO_MASTER\', u\'ACCUMULO_MASTER\', u\'YARN-RESOURCEMANAGER\', u\'RESOURCEMANAGER\', u\'HUE-HUE_SERVER\', u\'HUE_SERVER\', u\'ACCUMULO-ACCUMULO_MONITOR\', u\'ACCUMULO_MONITOR\', u\'MGMT-NAVIGATORMETASERVER\', u\'NAVIGATORMETASERVER\', u\'HBASE-MASTER\', u\'MASTER\', u\'KEYTRUSTEE_SERVER-DB_PASSIVE\', u\'DB_PASSIVE\', u\'SPARK_ON_YARN\', u\'SPARK_ON_YARN\', u\'MGMT-REPORTSMANAGER\', u\'REPORTSMANAGER\', u\'MGMT-SERVICEMONITOR\', u\'SERVICEMONITOR\', u\'MGMT-ALERTPUBLISHER\', u\'ALERTPUBLISHER\', u\'HIVE-HIVESERVER2\', u\'HIVESERVER2\', u\'MGMT-ACTIVITYMONITOR\', u\'ACTIVITYMONITOR\', u\'MAPREDUCE-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'ACCUMULO\', u\'ACCUMULO\', u\'ZOOKEEPER\', u\'ZOOKEEPER\', u\'MGMT-HOSTMONITOR\', u\'HOSTMONITOR\', u\'IMPALA\', u\'IMPALA\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER\', u\'KEYTRUSTEE_ACTIVE_SERVER\', u\'HUE-BEESWAX_SERVER\', u\'BEESWAX_SERVER\', u\'SOLR\', u\'SOLR\', u\'ACCUMULO16-ACCUMULO16_TSERVER\', u\'ACCUMULO16_TSERVER\', u\'LUNA_KMS-HSMKP_METASTORE_LUNA\', u\'HSMKP_METASTORE_LUNA\', u\'HBASE-HBASETHRIFTSERVER\', u\'HBASETHRIFTSERVER\', u\'FLUME\', u\'FLUME\', u\'HUE\', u\'HUE\', u\'SENTRY-SENTRY_SERVER\', u\'SENTRY_SERVER\', u\'HDFS-SECONDARYNAMENODE\', u\'SECONDARYNAMENODE\', u\'THALES_KMS-HSMKP_METASTORE_THALES\', u\'HSMKP_METASTORE_THALES\', u\'HIVE-HIVEMETASTORE\', u\'HIVEMETASTORE\', u\'IMPALA-LLAMA\', u\'LLAMA\', u\'SPARK-SPARK_WORKER\', u\'SPARK_WORKER\', u\'MGMT\', u\'MGMT\', u\'HIVE-WEBHCAT\', u\'WEBHCAT\', u\'SQOOP\', u\'SQOOP\', u\'HUE-HUE_LOAD_BALANCER\', u\'HUE_LOAD_BALANCER\', u\'FLUME-AGENT\', u\'AGENT\', u\'HDFS\', u\'HDFS\', u\'KUDU-KUDU_TSERVER\', u\'KUDU_TSERVER\', u\'KMS-KMS\', u\'KMS\', u\'KS_INDEXER\', u\'KS_INDEXER\', u\'SPARK-SPARK_MASTER\', u\'SPARK_MASTER\', u\'ZOOKEEPER-SERVER\', u\'SERVER\', u\'KEYTRUSTEE_SERVER\', u\'KEYTRUSTEE_SERVER\', u\'MAPREDUCE-JOBTRACKER\', u\'JOBTRACKER\', u\'THALES_KMS-HSMKP_THALES\', u\'HSMKP_THALES\'], u\'flood_seed_timeout\': 0, u\'eventserver_port\': None}
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1556, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1580, in _handle_heartbeat_response
    response[\"flood_torrent_port\"])
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 2020, in handle_heartbeat_flood
    self.downloader.update_opener(opener)
AttributeError: \'NoneType\' object has no attribute \'update_opener\'
[26/Apr/2020 12:50:26 +0000] 16187 Monitor-HostMonitor throttling_logger ERROR    Error getting directory attributes for /opt/cloudera/parcels
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/monitor/dir_monitor.py\", line 92, in _get_directory_attributes
    group = grp.getgrgid(gid)[0]
KeyError: \'getgrgid(): gid not found: 992\'
[26/Apr/2020 12:50:39 +0000] 16187 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\'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\'config_name\': u\'diag_bundle_redaction_policy\', u\'config_value\': u\'{\\n  \"version\": 1,\\n  \"rules\": [\\n    {\\n      \"description\": \"Redact passwords from json files\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"\"password\"[ ]*:[ ]*\"[^\"]+\"\",\\n      \"replace\": \"\"password\": \"BUNDLE-REDACTED\"\"\\n    },\\n    {\\n      \"description\": \"Redact password= and password:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"password[:=][^ \"\\]+\",\\n      \"replace\": \"password=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact passwd= and passwd:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"passwd\",\\n      \"search\": \"passwd[:=][^ \"\\]+\",\\n      \"replace\": \"passwd=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact pass= and pass:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"pass\",\\n      \"search\": \"pass[:=][^ \"\\]+\",\\n      \"replace\": \"pass=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact PASSWORD,\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"PASSWORD,\",\\n      \"search\": \"PASSWORD,[^\"\\]+\",\\n      \"replace\": \"PASSWORD, BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact key= and key:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"key\",\\n      \"search\": \"key[:=][^ \"\\]+\",\\n      \"replace\": \"key=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact secret= and secret:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"secret\",\\n      \"search\": \"secret[:=][^ \"\\]+\",\\n      \"replace\": \"secret=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact credential= and credential:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"credential\",\\n      \"search\": \"credential[:=][^ \"\\]+\",\\n      \"replace\": \"credential=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact token= and token:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"token\",\\n      \"search\": \"token[:=][^ \"\\]+\",\\n      \"replace\": \"token=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact keyid= and keyid:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"keyid\",\\n      \"search\": \"keyid[:=][^ \"\\]+\",\\n      \"replace\": \"keyid=BUNDLE-REDACTED\"\\n    }\\n  ]\\n}\\n\'}], 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\'10.58.10.108: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\'e90a6dcb-54ca-4024-ae53-850b584ef9b3\', u\'cm_guid\': u\'d0d74366-30e7-46f1-bb11-050649e3d047\', u\'eventserver_host\': None, u\'enabled_metric_reporters\': [u\'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER\', u\'SPARK_YARN_HISTORY_SERVER\', u\'HBASE-HBASERESTSERVER\', u\'HBASERESTSERVER\', u\'SPARK\', u\'SPARK\', u\'HBASE\', u\'HBASE\', u\'ACCUMULO-ACCUMULO_TRACER\', u\'ACCUMULO_TRACER\', u\'MGMT-EVENTSERVER\', u\'EVENTSERVER\', u\'KAFKA-KAFKA_BROKER\', u\'KAFKA_BROKER\', u\'HBASE-REGIONSERVER\', u\'REGIONSERVER\', u\'LUNA_KMS-HSMKP_LUNA\', u\'HSMKP_LUNA\', u\'THALES_KMS\', u\'THALES_KMS\', u\'IMPALA-IMPALAD\', u\'IMPALAD\', u\'ISILON\', u\'ISILON\', u\'YARN-NODEMANAGER\', u\'NODEMANAGER\', u\'MAPREDUCE\', u\'MAPREDUCE\', u\'ACCUMULO16-ACCUMULO16_TRACER\', u\'ACCUMULO16_TRACER\', u\'KMS\', u\'KMS\', u\'ACCUMULO16-ACCUMULO16_MONITOR\', u\'ACCUMULO16_MONITOR\', u\'YARN-JOBHISTORY\', u\'JOBHISTORY\', u\'KEYTRUSTEE\', u\'KEYTRUSTEE\', u\'HDFS-JOURNALNODE\', u\'JOURNALNODE\', u\'KAFKA\', u\'KAFKA\', u\'SPARK-SPARK_HISTORY_SERVER\', u\'SPARK_HISTORY_SERVER\', u\'HDFS-NAMENODE\', u\'NAMENODE\', u\'MAPREDUCE-TASKTRACKER\', u\'TASKTRACKER\', u\'IMPALA-CATALOGSERVER\', u\'CATALOGSERVER\', u\'LUNA_KMS\', u\'LUNA_KMS\', u\'KUDU-KUDU_MASTER\', u\'KUDU_MASTER\', u\'HDFS-DSSDDATANODE\', u\'DSSDDATANODE\', u\'SENTRY\', u\'SENTRY\', u\'ACCUMULO16-ACCUMULO16_GC\', u\'ACCUMULO16_GC\', u\'MGMT-NAVIGATOR\', u\'NAVIGATOR\', u\'HIVE\', u\'HIVE\', u\'SQOOP-SQOOP_SERVER\', u\'SQOOP_SERVER\', u\'KUDU\', u\'KUDU\', u\'KAFKA-KAFKA_MIRROR_MAKER\', u\'KAFKA_MIRROR_MAKER\', u\'ACCUMULO-ACCUMULO_TSERVER\', u\'ACCUMULO_TSERVER\', u\'ACCUMULO-ACCUMULO_GC\', u\'ACCUMULO_GC\', u\'ACCUMULO16-ACCUMULO16_MASTER\', u\'ACCUMULO16_MASTER\', u\'ACCUMULO-ACCUMULO_LOGGER\', u\'ACCUMULO_LOGGER\', u\'OOZIE\', u\'OOZIE\', u\'SQOOP_CLIENT\', u\'SQOOP_CLIENT\', u\'OOZIE-OOZIE_SERVER\', u\'OOZIE_SERVER\', u\'HDFS-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'YARN\', u\'YARN\', u\'HDFS-NFSGATEWAY\', u\'NFSGATEWAY\', u\'HDFS-HTTPFS\', u\'HTTPFS\', u\'HUE-KT_RENEWER\', u\'KT_RENEWER\', u\'KEYTRUSTEE_SERVER-DB_ACTIVE\', u\'DB_ACTIVE\', u\'KS_INDEXER-HBASE_INDEXER\', u\'HBASE_INDEXER\', u\'ACCUMULO16\', u\'ACCUMULO16\', u\'KEYTRUSTEE-KMS_KEYTRUSTEE\', u\'KMS_KEYTRUSTEE\', u\'SOLR-SOLR_SERVER\', u\'SOLR_SERVER\', u\'HOST\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER\', u\'KEYTRUSTEE_PASSIVE_SERVER\', u\'IMPALA-STATESTORE\', u\'STATESTORE\', u\'HDFS-DATANODE\', u\'DATANODE\', u\'ACCUMULO-ACCUMULO_MASTER\', u\'ACCUMULO_MASTER\', u\'YARN-RESOURCEMANAGER\', u\'RESOURCEMANAGER\', u\'HUE-HUE_SERVER\', u\'HUE_SERVER\', u\'ACCUMULO-ACCUMULO_MONITOR\', u\'ACCUMULO_MONITOR\', u\'MGMT-NAVIGATORMETASERVER\', u\'NAVIGATORMETASERVER\', u\'HBASE-MASTER\', u\'MASTER\', u\'KEYTRUSTEE_SERVER-DB_PASSIVE\', u\'DB_PASSIVE\', u\'SPARK_ON_YARN\', u\'SPARK_ON_YARN\', u\'MGMT-REPORTSMANAGER\', u\'REPORTSMANAGER\', u\'MGMT-SERVICEMONITOR\', u\'SERVICEMONITOR\', u\'MGMT-ALERTPUBLISHER\', u\'ALERTPUBLISHER\', u\'HIVE-HIVESERVER2\', u\'HIVESERVER2\', u\'MGMT-ACTIVITYMONITOR\', u\'ACTIVITYMONITOR\', u\'MAPREDUCE-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'ACCUMULO\', u\'ACCUMULO\', u\'ZOOKEEPER\', u\'ZOOKEEPER\', u\'MGMT-HOSTMONITOR\', u\'HOSTMONITOR\', u\'IMPALA\', u\'IMPALA\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER\', u\'KEYTRUSTEE_ACTIVE_SERVER\', u\'HUE-BEESWAX_SERVER\', u\'BEESWAX_SERVER\', u\'SOLR\', u\'SOLR\', u\'ACCUMULO16-ACCUMULO16_TSERVER\', u\'ACCUMULO16_TSERVER\', u\'LUNA_KMS-HSMKP_METASTORE_LUNA\', u\'HSMKP_METASTORE_LUNA\', u\'HBASE-HBASETHRIFTSERVER\', u\'HBASETHRIFTSERVER\', u\'FLUME\', u\'FLUME\', u\'HUE\', u\'HUE\', u\'SENTRY-SENTRY_SERVER\', u\'SENTRY_SERVER\', u\'HDFS-SECONDARYNAMENODE\', u\'SECONDARYNAMENODE\', u\'THALES_KMS-HSMKP_METASTORE_THALES\', u\'HSMKP_METASTORE_THALES\', u\'HIVE-HIVEMETASTORE\', u\'HIVEMETASTORE\', u\'IMPALA-LLAMA\', u\'LLAMA\', u\'SPARK-SPARK_WORKER\', u\'SPARK_WORKER\', u\'MGMT\', u\'MGMT\', u\'HIVE-WEBHCAT\', u\'WEBHCAT\', u\'SQOOP\', u\'SQOOP\', u\'HUE-HUE_LOAD_BALANCER\', u\'HUE_LOAD_BALANCER\', u\'FLUME-AGENT\', u\'AGENT\', u\'HDFS\', u\'HDFS\', u\'KUDU-KUDU_TSERVER\', u\'KUDU_TSERVER\', u\'KMS-KMS\', u\'KMS\', u\'KS_INDEXER\', u\'KS_INDEXER\', u\'SPARK-SPARK_MASTER\', u\'SPARK_MASTER\', u\'ZOOKEEPER-SERVER\', u\'SERVER\', u\'KEYTRUSTEE_SERVER\', u\'KEYTRUSTEE_SERVER\', u\'MAPREDUCE-JOBTRACKER\', u\'JOBTRACKER\', u\'THALES_KMS-HSMKP_THALES\', u\'HSMKP_THALES\'], u\'flood_seed_timeout\': 0, u\'eventserver_port\': None}
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1556, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1580, in _handle_heartbeat_response
    response[\"flood_torrent_port\"])
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 2020, in handle_heartbeat_flood
    self.downloader.update_opener(opener)
AttributeError: \'NoneType\' object has no attribute \'update_opener\'
[26/Apr/2020 12:50:54 +0000] 16187 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\'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\'config_name\': u\'diag_bundle_redaction_policy\', u\'config_value\': u\'{\\n  \"version\": 1,\\n  \"rules\": [\\n    {\\n      \"description\": \"Redact passwords from json files\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"\"password\"[ ]*:[ ]*\"[^\"]+\"\",\\n      \"replace\": \"\"password\": \"BUNDLE-REDACTED\"\"\\n    },\\n    {\\n      \"description\": \"Redact password= and password:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"password[:=][^ \"\\]+\",\\n      \"replace\": \"password=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact passwd= and passwd:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"passwd\",\\n      \"search\": \"passwd[:=][^ \"\\]+\",\\n      \"replace\": \"passwd=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact pass= and pass:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"pass\",\\n      \"search\": \"pass[:=][^ \"\\]+\",\\n      \"replace\": \"pass=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact PASSWORD,\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"PASSWORD,\",\\n      \"search\": \"PASSWORD,[^\"\\]+\",\\n      \"replace\": \"PASSWORD, BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact key= and key:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"key\",\\n      \"search\": \"key[:=][^ \"\\]+\",\\n      \"replace\": \"key=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact secret= and secret:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"secret\",\\n      \"search\": \"secret[:=][^ \"\\]+\",\\n      \"replace\": \"secret=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact credential= and credential:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"credential\",\\n      \"search\": \"credential[:=][^ \"\\]+\",\\n      \"replace\": \"credential=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact token= and token:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"token\",\\n      \"search\": \"token[:=][^ \"\\]+\",\\n      \"replace\": \"token=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact keyid= and keyid:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"keyid\",\\n      \"search\": \"keyid[:=][^ \"\\]+\",\\n      \"replace\": \"keyid=BUNDLE-REDACTED\"\\n    }\\n  ]\\n}\\n\'}], 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\'10.58.10.106: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\'e90a6dcb-54ca-4024-ae53-850b584ef9b3\', u\'cm_guid\': u\'d0d74366-30e7-46f1-bb11-050649e3d047\', u\'eventserver_host\': None, u\'enabled_metric_reporters\': [u\'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER\', u\'SPARK_YARN_HISTORY_SERVER\', u\'HBASE-HBASERESTSERVER\', u\'HBASERESTSERVER\', u\'SPARK\', u\'SPARK\', u\'HBASE\', u\'HBASE\', u\'ACCUMULO-ACCUMULO_TRACER\', u\'ACCUMULO_TRACER\', u\'MGMT-EVENTSERVER\', u\'EVENTSERVER\', u\'KAFKA-KAFKA_BROKER\', u\'KAFKA_BROKER\', u\'HBASE-REGIONSERVER\', u\'REGIONSERVER\', u\'LUNA_KMS-HSMKP_LUNA\', u\'HSMKP_LUNA\', u\'THALES_KMS\', u\'THALES_KMS\', u\'IMPALA-IMPALAD\', u\'IMPALAD\', u\'ISILON\', u\'ISILON\', u\'YARN-NODEMANAGER\', u\'NODEMANAGER\', u\'MAPREDUCE\', u\'MAPREDUCE\', u\'ACCUMULO16-ACCUMULO16_TRACER\', u\'ACCUMULO16_TRACER\', u\'KMS\', u\'KMS\', u\'ACCUMULO16-ACCUMULO16_MONITOR\', u\'ACCUMULO16_MONITOR\', u\'YARN-JOBHISTORY\', u\'JOBHISTORY\', u\'KEYTRUSTEE\', u\'KEYTRUSTEE\', u\'HDFS-JOURNALNODE\', u\'JOURNALNODE\', u\'KAFKA\', u\'KAFKA\', u\'SPARK-SPARK_HISTORY_SERVER\', u\'SPARK_HISTORY_SERVER\', u\'HDFS-NAMENODE\', u\'NAMENODE\', u\'MAPREDUCE-TASKTRACKER\', u\'TASKTRACKER\', u\'IMPALA-CATALOGSERVER\', u\'CATALOGSERVER\', u\'LUNA_KMS\', u\'LUNA_KMS\', u\'KUDU-KUDU_MASTER\', u\'KUDU_MASTER\', u\'HDFS-DSSDDATANODE\', u\'DSSDDATANODE\', u\'SENTRY\', u\'SENTRY\', u\'ACCUMULO16-ACCUMULO16_GC\', u\'ACCUMULO16_GC\', u\'MGMT-NAVIGATOR\', u\'NAVIGATOR\', u\'HIVE\', u\'HIVE\', u\'SQOOP-SQOOP_SERVER\', u\'SQOOP_SERVER\', u\'KUDU\', u\'KUDU\', u\'KAFKA-KAFKA_MIRROR_MAKER\', u\'KAFKA_MIRROR_MAKER\', u\'ACCUMULO-ACCUMULO_TSERVER\', u\'ACCUMULO_TSERVER\', u\'ACCUMULO-ACCUMULO_GC\', u\'ACCUMULO_GC\', u\'ACCUMULO16-ACCUMULO16_MASTER\', u\'ACCUMULO16_MASTER\', u\'ACCUMULO-ACCUMULO_LOGGER\', u\'ACCUMULO_LOGGER\', u\'OOZIE\', u\'OOZIE\', u\'SQOOP_CLIENT\', u\'SQOOP_CLIENT\', u\'OOZIE-OOZIE_SERVER\', u\'OOZIE_SERVER\', u\'HDFS-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'YARN\', u\'YARN\', u\'HDFS-NFSGATEWAY\', u\'NFSGATEWAY\', u\'HDFS-HTTPFS\', u\'HTTPFS\', u\'HUE-KT_RENEWER\', u\'KT_RENEWER\', u\'KEYTRUSTEE_SERVER-DB_ACTIVE\', u\'DB_ACTIVE\', u\'KS_INDEXER-HBASE_INDEXER\', u\'HBASE_INDEXER\', u\'ACCUMULO16\', u\'ACCUMULO16\', u\'KEYTRUSTEE-KMS_KEYTRUSTEE\', u\'KMS_KEYTRUSTEE\', u\'SOLR-SOLR_SERVER\', u\'SOLR_SERVER\', u\'HOST\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER\', u\'KEYTRUSTEE_PASSIVE_SERVER\', u\'IMPALA-STATESTORE\', u\'STATESTORE\', u\'HDFS-DATANODE\', u\'DATANODE\', u\'ACCUMULO-ACCUMULO_MASTER\', u\'ACCUMULO_MASTER\', u\'YARN-RESOURCEMANAGER\', u\'RESOURCEMANAGER\', u\'HUE-HUE_SERVER\', u\'HUE_SERVER\', u\'ACCUMULO-ACCUMULO_MONITOR\', u\'ACCUMULO_MONITOR\', u\'MGMT-NAVIGATORMETASERVER\', u\'NAVIGATORMETASERVER\', u\'HBASE-MASTER\', u\'MASTER\', u\'KEYTRUSTEE_SERVER-DB_PASSIVE\', u\'DB_PASSIVE\', u\'SPARK_ON_YARN\', u\'SPARK_ON_YARN\', u\'MGMT-REPORTSMANAGER\', u\'REPORTSMANAGER\', u\'MGMT-SERVICEMONITOR\', u\'SERVICEMONITOR\', u\'MGMT-ALERTPUBLISHER\', u\'ALERTPUBLISHER\', u\'HIVE-HIVESERVER2\', u\'HIVESERVER2\', u\'MGMT-ACTIVITYMONITOR\', u\'ACTIVITYMONITOR\', u\'MAPREDUCE-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'ACCUMULO\', u\'ACCUMULO\', u\'ZOOKEEPER\', u\'ZOOKEEPER\', u\'MGMT-HOSTMONITOR\', u\'HOSTMONITOR\', u\'IMPALA\', u\'IMPALA\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER\', u\'KEYTRUSTEE_ACTIVE_SERVER\', u\'HUE-BEESWAX_SERVER\', u\'BEESWAX_SERVER\', u\'SOLR\', u\'SOLR\', u\'ACCUMULO16-ACCUMULO16_TSERVER\', u\'ACCUMULO16_TSERVER\', u\'LUNA_KMS-HSMKP_METASTORE_LUNA\', u\'HSMKP_METASTORE_LUNA\', u\'HBASE-HBASETHRIFTSERVER\', u\'HBASETHRIFTSERVER\', u\'FLUME\', u\'FLUME\', u\'HUE\', u\'HUE\', u\'SENTRY-SENTRY_SERVER\', u\'SENTRY_SERVER\', u\'HDFS-SECONDARYNAMENODE\', u\'SECONDARYNAMENODE\', u\'THALES_KMS-HSMKP_METASTORE_THALES\', u\'HSMKP_METASTORE_THALES\', u\'HIVE-HIVEMETASTORE\', u\'HIVEMETASTORE\', u\'IMPALA-LLAMA\', u\'LLAMA\', u\'SPARK-SPARK_WORKER\', u\'SPARK_WORKER\', u\'MGMT\', u\'MGMT\', u\'HIVE-WEBHCAT\', u\'WEBHCAT\', u\'SQOOP\', u\'SQOOP\', u\'HUE-HUE_LOAD_BALANCER\', u\'HUE_LOAD_BALANCER\', u\'FLUME-AGENT\', u\'AGENT\', u\'HDFS\', u\'HDFS\', u\'KUDU-KUDU_TSERVER\', u\'KUDU_TSERVER\', u\'KMS-KMS\', u\'KMS\', u\'KS_INDEXER\', u\'KS_INDEXER\', u\'SPARK-SPARK_MASTER\', u\'SPARK_MASTER\', u\'ZOOKEEPER-SERVER\', u\'SERVER\', u\'KEYTRUSTEE_SERVER\', u\'KEYTRUSTEE_SERVER\', u\'MAPREDUCE-JOBTRACKER\', u\'JOBTRACKER\', u\'THALES_KMS-HSMKP_THALES\', u\'HSMKP_THALES\'], u\'flood_seed_timeout\': 0, u\'eventserver_port\': None}
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1556, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1580, in _handle_heartbeat_response
    response[\"flood_torrent_port\"])
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 2020, in handle_heartbeat_flood
    self.downloader.update_opener(opener)
AttributeError: \'NoneType\' object has no attribute \'update_opener\'
[26/Apr/2020 12:51:09 +0000] 16187 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\'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\'config_name\': u\'diag_bundle_redaction_policy\', u\'config_value\': u\'{\\n  \"version\": 1,\\n  \"rules\": [\\n    {\\n      \"description\": \"Redact passwords from json files\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"\"password\"[ ]*:[ ]*\"[^\"]+\"\",\\n      \"replace\": \"\"password\": \"BUNDLE-REDACTED\"\"\\n    },\\n    {\\n      \"description\": \"Redact password= and password:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"password\",\\n      \"search\": \"password[:=][^ \"\\]+\",\\n      \"replace\": \"password=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact passwd= and passwd:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"passwd\",\\n      \"search\": \"passwd[:=][^ \"\\]+\",\\n      \"replace\": \"passwd=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact pass= and pass:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"pass\",\\n      \"search\": \"pass[:=][^ \"\\]+\",\\n      \"replace\": \"pass=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact PASSWORD,\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"PASSWORD,\",\\n      \"search\": \"PASSWORD,[^\"\\]+\",\\n      \"replace\": \"PASSWORD, BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact key= and key:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"key\",\\n      \"search\": \"key[:=][^ \"\\]+\",\\n      \"replace\": \"key=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact secret= and secret:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"secret\",\\n      \"search\": \"secret[:=][^ \"\\]+\",\\n      \"replace\": \"secret=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact credential= and credential:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"credential\",\\n      \"search\": \"credential[:=][^ \"\\]+\",\\n      \"replace\": \"credential=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact token= and token:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"token\",\\n      \"search\": \"token[:=][^ \"\\]+\",\\n      \"replace\": \"token=BUNDLE-REDACTED\"\\n    },\\n    {\\n      \"description\": \"Redact keyid= and keyid:\",\\n      \"caseSensitive\": false,\\n      \"trigger\": \"keyid\",\\n      \"search\": \"keyid[:=][^ \"\\]+\",\\n      \"replace\": \"keyid=BUNDLE-REDACTED\"\\n    }\\n  ]\\n}\\n\'}], 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\'10.58.10.108: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\'e90a6dcb-54ca-4024-ae53-850b584ef9b3\', u\'cm_guid\': u\'d0d74366-30e7-46f1-bb11-050649e3d047\', u\'eventserver_host\': None, u\'enabled_metric_reporters\': [u\'SPARK_ON_YARN-SPARK_YARN_HISTORY_SERVER\', u\'SPARK_YARN_HISTORY_SERVER\', u\'HBASE-HBASERESTSERVER\', u\'HBASERESTSERVER\', u\'SPARK\', u\'SPARK\', u\'HBASE\', u\'HBASE\', u\'ACCUMULO-ACCUMULO_TRACER\', u\'ACCUMULO_TRACER\', u\'MGMT-EVENTSERVER\', u\'EVENTSERVER\', u\'KAFKA-KAFKA_BROKER\', u\'KAFKA_BROKER\', u\'HBASE-REGIONSERVER\', u\'REGIONSERVER\', u\'LUNA_KMS-HSMKP_LUNA\', u\'HSMKP_LUNA\', u\'THALES_KMS\', u\'THALES_KMS\', u\'IMPALA-IMPALAD\', u\'IMPALAD\', u\'ISILON\', u\'ISILON\', u\'YARN-NODEMANAGER\', u\'NODEMANAGER\', u\'MAPREDUCE\', u\'MAPREDUCE\', u\'ACCUMULO16-ACCUMULO16_TRACER\', u\'ACCUMULO16_TRACER\', u\'KMS\', u\'KMS\', u\'ACCUMULO16-ACCUMULO16_MONITOR\', u\'ACCUMULO16_MONITOR\', u\'YARN-JOBHISTORY\', u\'JOBHISTORY\', u\'KEYTRUSTEE\', u\'KEYTRUSTEE\', u\'HDFS-JOURNALNODE\', u\'JOURNALNODE\', u\'KAFKA\', u\'KAFKA\', u\'SPARK-SPARK_HISTORY_SERVER\', u\'SPARK_HISTORY_SERVER\', u\'HDFS-NAMENODE\', u\'NAMENODE\', u\'MAPREDUCE-TASKTRACKER\', u\'TASKTRACKER\', u\'IMPALA-CATALOGSERVER\', u\'CATALOGSERVER\', u\'LUNA_KMS\', u\'LUNA_KMS\', u\'KUDU-KUDU_MASTER\', u\'KUDU_MASTER\', u\'HDFS-DSSDDATANODE\', u\'DSSDDATANODE\', u\'SENTRY\', u\'SENTRY\', u\'ACCUMULO16-ACCUMULO16_GC\', u\'ACCUMULO16_GC\', u\'MGMT-NAVIGATOR\', u\'NAVIGATOR\', u\'HIVE\', u\'HIVE\', u\'SQOOP-SQOOP_SERVER\', u\'SQOOP_SERVER\', u\'KUDU\', u\'KUDU\', u\'KAFKA-KAFKA_MIRROR_MAKER\', u\'KAFKA_MIRROR_MAKER\', u\'ACCUMULO-ACCUMULO_TSERVER\', u\'ACCUMULO_TSERVER\', u\'ACCUMULO-ACCUMULO_GC\', u\'ACCUMULO_GC\', u\'ACCUMULO16-ACCUMULO16_MASTER\', u\'ACCUMULO16_MASTER\', u\'ACCUMULO-ACCUMULO_LOGGER\', u\'ACCUMULO_LOGGER\', u\'OOZIE\', u\'OOZIE\', u\'SQOOP_CLIENT\', u\'SQOOP_CLIENT\', u\'OOZIE-OOZIE_SERVER\', u\'OOZIE_SERVER\', u\'HDFS-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'YARN\', u\'YARN\', u\'HDFS-NFSGATEWAY\', u\'NFSGATEWAY\', u\'HDFS-HTTPFS\', u\'HTTPFS\', u\'HUE-KT_RENEWER\', u\'KT_RENEWER\', u\'KEYTRUSTEE_SERVER-DB_ACTIVE\', u\'DB_ACTIVE\', u\'KS_INDEXER-HBASE_INDEXER\', u\'HBASE_INDEXER\', u\'ACCUMULO16\', u\'ACCUMULO16\', u\'KEYTRUSTEE-KMS_KEYTRUSTEE\', u\'KMS_KEYTRUSTEE\', u\'SOLR-SOLR_SERVER\', u\'SOLR_SERVER\', u\'HOST\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_PASSIVE_SERVER\', u\'KEYTRUSTEE_PASSIVE_SERVER\', u\'IMPALA-STATESTORE\', u\'STATESTORE\', u\'HDFS-DATANODE\', u\'DATANODE\', u\'ACCUMULO-ACCUMULO_MASTER\', u\'ACCUMULO_MASTER\', u\'YARN-RESOURCEMANAGER\', u\'RESOURCEMANAGER\', u\'HUE-HUE_SERVER\', u\'HUE_SERVER\', u\'ACCUMULO-ACCUMULO_MONITOR\', u\'ACCUMULO_MONITOR\', u\'MGMT-NAVIGATORMETASERVER\', u\'NAVIGATORMETASERVER\', u\'HBASE-MASTER\', u\'MASTER\', u\'KEYTRUSTEE_SERVER-DB_PASSIVE\', u\'DB_PASSIVE\', u\'SPARK_ON_YARN\', u\'SPARK_ON_YARN\', u\'MGMT-REPORTSMANAGER\', u\'REPORTSMANAGER\', u\'MGMT-SERVICEMONITOR\', u\'SERVICEMONITOR\', u\'MGMT-ALERTPUBLISHER\', u\'ALERTPUBLISHER\', u\'HIVE-HIVESERVER2\', u\'HIVESERVER2\', u\'MGMT-ACTIVITYMONITOR\', u\'ACTIVITYMONITOR\', u\'MAPREDUCE-FAILOVERCONTROLLER\', u\'FAILOVERCONTROLLER\', u\'ACCUMULO\', u\'ACCUMULO\', u\'ZOOKEEPER\', u\'ZOOKEEPER\', u\'MGMT-HOSTMONITOR\', u\'HOSTMONITOR\', u\'IMPALA\', u\'IMPALA\', u\'KEYTRUSTEE_SERVER-KEYTRUSTEE_ACTIVE_SERVER\', u\'KEYTRUSTEE_ACTIVE_SERVER\', u\'HUE-BEESWAX_SERVER\', u\'BEESWAX_SERVER\', u\'SOLR\', u\'SOLR\', u\'ACCUMULO16-ACCUMULO16_TSERVER\', u\'ACCUMULO16_TSERVER\', u\'LUNA_KMS-HSMKP_METASTORE_LUNA\', u\'HSMKP_METASTORE_LUNA\', u\'HBASE-HBASETHRIFTSERVER\', u\'HBASETHRIFTSERVER\', u\'FLUME\', u\'FLUME\', u\'HUE\', u\'HUE\', u\'SENTRY-SENTRY_SERVER\', u\'SENTRY_SERVER\', u\'HDFS-SECONDARYNAMENODE\', u\'SECONDARYNAMENODE\', u\'THALES_KMS-HSMKP_METASTORE_THALES\', u\'HSMKP_METASTORE_THALES\', u\'HIVE-HIVEMETASTORE\', u\'HIVEMETASTORE\', u\'IMPALA-LLAMA\', u\'LLAMA\', u\'SPARK-SPARK_WORKER\', u\'SPARK_WORKER\', u\'MGMT\', u\'MGMT\', u\'HIVE-WEBHCAT\', u\'WEBHCAT\', u\'SQOOP\', u\'SQOOP\', u\'HUE-HUE_LOAD_BALANCER\', u\'HUE_LOAD_BALANCER\', u\'FLUME-AGENT\', u\'AGENT\', u\'HDFS\', u\'HDFS\', u\'KUDU-KUDU_TSERVER\', u\'KUDU_TSERVER\', u\'KMS-KMS\', u\'KMS\', u\'KS_INDEXER\', u\'KS_INDEXER\', u\'SPARK-SPARK_MASTER\', u\'SPARK_MASTER\', u\'ZOOKEEPER-SERVER\', u\'SERVER\', u\'KEYTRUSTEE_SERVER\', u\'KEYTRUSTEE_SERVER\', u\'MAPREDUCE-JOBTRACKER\', u\'JOBTRACKER\', u\'THALES_KMS-HSMKP_THALES\', u\'HSMKP_THALES\'], u\'flood_seed_timeout\': 0, u\'eventserver_port\': None}
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1556, in handle_heartbeat_response
    self._handle_heartbeat_response(response)
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 1580, in _handle_heartbeat_response
    response[\"flood_torrent_port\"])
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/agent.py\", line 2020, in handle_heartbeat_flood
    self.downloader.update_opener(opener)
AttributeError: \'NoneType\' object has no attribute \'update_opener\'

查看日志就会发现:

ERROR    Error getting directory attributes for /opt/cloudera/parcels

说明是目录获取不到或者权限不正确,通过ls -la查看发现/opt/cloudera/parcels路径确实不是当前用户的权限。删除/opt/cloudera/parcels目录即可。但需要注意的是,/opt/cloudera/parcel-repo/需要备份,等agent重启之后需要继续拷贝到该目录。

启动之后,发现了下面的问题,/opt/cm-5.14.3/log/cloudera-scm-agent目录权限应该是不正确:

[26/Apr/2020 13:02:40 +0000] 18065 MainThread agent        INFO     Setting default socket timeout to 45
[26/Apr/2020 13:02:40 +0000] 18065 Monitor-HostMonitor network_interfaces INFO     NIC iface eth0 doesn\'t support ETHTOOL (95)
[26/Apr/2020 13:02:40 +0000] 18065 Monitor-HostMonitor throttling_logger ERROR    Error getting directory attributes for /opt/cm-5.14.3/log/cloudera-scm-agent
Traceback (most recent call last):
  File \"/opt/cm-5.14.3/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.14.3-py2.7.egg/cmf/monitor/dir_monitor.py\", line 90, in _get_directory_attributes
    name = pwd.getpwuid(uid)[0]
KeyError: \'getpwuid(): uid not found: 1106\'

同样的操作,因为当前是root用户,直接授权给root即可:

sudo chmod -R root:root /opt/cm-5.14.3

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据