Ceph configuration for checkpoints?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Ceph configuration for checkpoints?

Julio Biason
Hello people,

I'm looking for the configuration options required to use Ceph as a backend for checkpoints.

So far, I can see that `state.backend.fs.checkpointdir` and `state.checkpoints.dir` should be something like `ceph:///my-checkpoint-bucket`. But where do I define server and acess and secret keys? I couldn't find anything remotely related to that in the docs...

--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: <a href="callto:+555130838101" value="+555130838101" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px" target="_blank">+55 51 3083 8101  |  Mobile: <a href="callto:+5551996209291" style="color:rgb(17,85,204)" target="_blank">+55 51 99907 0554
Reply | Threaded
Open this post in threaded view
|

Re: Ceph configuration for checkpoints?

Piotr Nowojski
Hi,

Have you tried to refer to ceph documentation? http://docs.ceph.com/docs/jewel/cephfs/hadoop/ It claims to be:

> a drop-in replacement for the Hadoop File System (HDFS)

So I would first try to configure ceph according to their documentation and try to use Flink’s built in Hadoop connector.

Piotrek

On 12 Feb 2018, at 20:11, Julio Biason <[hidden email]> wrote:

Hello people,

I'm looking for the configuration options required to use Ceph as a backend for checkpoints.

So far, I can see that `state.backend.fs.checkpointdir` and `state.checkpoints.dir` should be something like `<a href="ceph:///my-checkpoint-bucket`" class="">ceph:///my-checkpoint-bucket`. But where do I define server and acess and secret keys? I couldn't find anything remotely related to that in the docs...

--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: <a href="callto:+555130838101" value="+555130838101" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px" target="_blank" class="">+55 51 3083 8101  |  Mobile: <a href="callto:+5551996209291" style="color:rgb(17,85,204)" target="_blank" class="">+55 51 99907 0554

Reply | Threaded
Open this post in threaded view
|

Re: Ceph configuration for checkpoints?

Martin Pompéry
Hello Julio,

how we deploy Ceph:

1) make sure Ceph is mounted through all the nodes that make up your Flink cluster; ensure path(s) are the same for each node
2) simply reference the Ceph mountpoint(s) via file://<your path>


Martin


On Tue, Feb 13, 2018 at 10:18 AM Piotr Nowojski <[hidden email]> wrote:
Hi,

Have you tried to refer to ceph documentation? http://docs.ceph.com/docs/jewel/cephfs/hadoop/ It claims to be:

> a drop-in replacement for the Hadoop File System (HDFS)

So I would first try to configure ceph according to their documentation and try to use Flink’s built in Hadoop connector.

Piotrek

On 12 Feb 2018, at 20:11, Julio Biason <[hidden email]> wrote:

Hello people,

I'm looking for the configuration options required to use Ceph as a backend for checkpoints.

So far, I can see that `state.backend.fs.checkpointdir` and `state.checkpoints.dir` should be something like `ceph:///my-checkpoint-bucket`. But where do I define server and acess and secret keys? I couldn't find anything remotely related to that in the docs...

--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: <a href="callto:+555130838101" value="+555130838101" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px" target="_blank">+55 51 3083 8101  |  Mobile: <a href="callto:+5551996209291" style="color:rgb(17,85,204)" target="_blank">+55 51 99907 0554