Support Questions
Find answers, ask questions, and share your expertise

Error in getting credentials for local/remote HDFS service.

New Contributor

Hello,

 

I am trying to start a replication schedule from a python script using requests package and CM's rest API. I have no problem doing GET or PUT and recieve correct responses for various resources but I have issues doing a POST for /clusters/{clusterName}/services/{serviceName}/replications/{scheduleId}/run

 

It works well until I get to "Transfer Listing File from Peer Cluster" stage which fails job with error message "Error in getting credentials for local/remote HDFS service."

 

I have no problem starting the replication schedule using CURL or Cloudera Manger GUI.

 

Any help is appreciated,

Chris

2 REPLIES 2

Master Guru
The Python and cURL should both be hitting the same end-points. Is the schedule ID tested ditto in all your 3 tests?

Its also possible that the failure may be unrelated to the mode of invocation. Could you share more logs of the failed step here?

New Contributor

Have you solved it ?

; ;