Support Questions

Find answers, ask questions, and share your expertise

Can HDFS Backup Replications be Accessed from Command Line?

avatar
Contributor

We have numerous backup replications defined and running, causing access via a web browser to be very slow.  Is there a way to access, create, and modify schedules via the Linux shell?

 

Michael Reynolds

 

1 ACCEPTED SOLUTION

avatar
Mentor
What version of CM are you using? We've also made some improvements in 5.5
that should help with this, and more is on the way.

Onto your question of CLI, you can certainly utilise the API to manage your
replications just as you would on the UI. Look for the "/replications/"
endpoints in the API docs at
http://cloudera.github.io/cm_api/apidocs/v11/index.html (more on API and
Java+Python bindings on http://cloudera.github.io/cm_api/).

View solution in original post

3 REPLIES 3

avatar
Mentor
What version of CM are you using? We've also made some improvements in 5.5
that should help with this, and more is on the way.

Onto your question of CLI, you can certainly utilise the API to manage your
replications just as you would on the UI. Look for the "/replications/"
endpoints in the API docs at
http://cloudera.github.io/cm_api/apidocs/v11/index.html (more on API and
Java+Python bindings on http://cloudera.github.io/cm_api/).

avatar
Contributor

Hi Harsh,

 

Thank you very much for your assistance.  We are using CM 5.3.3, and plan to upgrade later.

 

I will explore the API docs, about using the CLI.

 

Michael

 

avatar
New Contributor

Hi Harsh,

                i am using cloudera express 5.5, Is it possible to restore hdfs backup created manually(using crontab).