Reply
Contributor
Posts: 26
Registered: ‎08-12-2014
Accepted Solution

Can HDFS Backup Replications be Accessed from Command Line?

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

 

Posts: 1,567
Kudos: 289
Solutions: 240
Registered: ‎07-31-2013

Re: Can HDFS Backup Replications be Accessed from Command Line

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/).
Backline Customer Operations Engineer
Contributor
Posts: 26
Registered: ‎08-12-2014

Re: Can HDFS Backup Replications be Accessed from Command Line

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

 

New Contributor
Posts: 1
Registered: ‎08-01-2017

Re: Can HDFS Backup Replications be Accessed from Command Line

Hi Harsh,

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

Announcements