Project

General

Profile

Feature #7239

ceph-deploy: install cephfs java bindings

Added by Noah Watkins about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph-deploy doesn't install cephfs java bindings, which makes hadoop deployment a pain if ceph is originally deployed with ceph-deploy.

History

#1 Updated by Noah Watkins about 10 years ago

Oh, neither is libcephfs. Maybe this doesn't make since yet.

#2 Updated by Alfredo Deza about 10 years ago

  • Status changed from New to Need More Info

Could you please elaborate why you think ceph-deploy should be in charge of installing a dependency like java bindings (as opposed to having the package declare them) ?

If this is an add-on I don't see why ceph-deploy would need to do that.

#3 Updated by Noah Watkins about 10 years ago

I deployed Ceph to a cluster that I intended to run Hadoop on. In this case, a typical setup is to have the cephfs client and java bindings installed on each node running an OSD. I had assumed when I wrote this ticket that ceph-deploy would install all Ceph packages, including the clients.

For the libcephfs-java/jni case, I think that the installation (independent of the use of ceph-deploy) is cumbersome and will be reworked eventually (e.g. to use Maven). In retrospect it'd have been nice to have something like `ceph-deploy install-all <nodes>` so I didn't have to go to ceph.com/debian/etc... to find the packages by matching version. But this might be a very narrow use case and premature to address.

Hope I explained this well :)

#4 Updated by Alfredo Deza about 10 years ago

  • Status changed from Need More Info to Closed

Noah, ceph-deploy does have the ability to install a package on remote nodes:

ceph-deploy pkg --help
usage: ceph-deploy pkg [-h] [--install [PKGs)]] [--remove [PKG(s]]
                       hosts [hosts ...]

Manage packages on remote hosts.

positional arguments:
  hosts

optional arguments:
  -h, --help          show this help message and exit
  --install [PKG(s)]  Comma-separated package(s) to install
  --remove [PKG(s)]   Comma-separated package(s) to remove

Also available in: Atom PDF