Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can HDFS Backup Replications be Accessed from Command Line?

Solved Go to solution

Can HDFS Backup Replications be Accessed from Command Line?

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

Accepted Solutions

Re: Can HDFS Backup Replications be Accessed from Command Line

Master Guru
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/).
3 REPLIES 3

Re: Can HDFS Backup Replications be Accessed from Command Line

Master Guru
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/).
Highlighted

Re: Can HDFS Backup Replications be Accessed from Command Line

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

 

Re: Can HDFS Backup Replications be Accessed from Command Line

New Contributor

Hi Harsh,

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