Reply
New Contributor
Posts: 1
Registered: ‎11-13-2017

No such file or directory __cloudera_metadata__

after installed and activated the new parcel,trying to add the service,but facing bellow error in the cloudera-scm-agent.log

 

 

[13/Nov/2017 02:11:13 +0000] 12403 MainThread client_configs INFO     Client configs to delete: set([])
[13/Nov/2017 02:11:13 +0000] 12403 MainThread client_configs INFO     Client configs to deploy: set([<ocap-gateway-conf,/opt/ocap/conf/conf.cloudera.ocap>])
[13/Nov/2017 02:11:13 +0000] 12403 MainThread client_configs INFO     Client configs to update: set([])
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     prepare_environment begin: {u'CDH': u'5.5.0-1.cdh5.5.0.p0.8', u'OCAP': u'12.1.0.0.0-0.0.24', u'KAFKA': u'0.8.2.0-1.kafka1.3.2.p0.15'}, [u'ocap', u'cdh'], [u'ocap-plugin']
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     The following requested parcels are not available: {}
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     Obtained tags ['cdh', 'impala', 'sentry', 'solr', 'spark'] for parcel CDH
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     Obtained tags ['ocap'] for parcel OCAP
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     Obtained tags ['kafka'] for parcel KAFKA
[13/Nov/2017 02:11:13 +0000] 12403 MainThread parcel       INFO     prepare_environment end: {'CDH': '5.5.0-1.cdh5.5.0.p0.8', 'OCAP': '12.1.0.0.0-0.0.24'}
[13/Nov/2017 02:11:13 +0000] 12403 MainThread util         INFO     Extracted 16 files and 0 dirs to /var/run/cloudera-scm-agent/process/ccdeploy_ocap-gateway-conf_optocapconfconf.cloudera.ocap_-7657240250774350318.
[13/Nov/2017 02:11:13 +0000] 12403 MainThread client_configs ERROR    Failed to deploy client config <ocap-gateway-conf,/opt/ocap/conf/conf.cloudera.ocap>: [Errno 2] No such file or directory: u'/var/run/cloudera-scm-agent/process/ccdeploy_ocap-gateway-conf_optocapconfconf.cloudera.ocap_-7657240250774350318/ocap-gateway-conf/__cloudera_metadata__'
Traceback (most recent call last):
  File "/usr/lib64/cmf/agent/src/cmf/client_configs.py", line 769, in rectify
    deploy_path = self._deploy_client_config(new_ccs[key])
  File "/usr/lib64/cmf/agent/src/cmf/client_configs.py", line 522, in _deploy_client_config
    METADATA_FILENAME), "w")
IOError: [Errno 2] No such file or directory: u'/var/run/cloudera-scm-agent/process/ccdeploy_ocap-gateway-conf_optocapconfconf.cloudera.ocap_-7657240250774350318/ocap-gateway-conf/__cloudera_metadata__'

Announcements