Re: [ceph-users] Fwd: What's the fastest way to try out object classes?

2017-11-10 Thread Zheyuan Chen
ss without using the cmake config in the Ceph repo. Thank you very much, Zheyuan Chen On Thu, Nov 9, 2017 at 10:31 AM, Zheyuan Chen wrote: > I changed this line into CLS_LOG(0, "loading cls_test"); > https://github.com/ceph/ceph/blob/master/src/cls/sdk/cls_sdk.cc#L120 > &g

Re: [ceph-users] Fwd: What's the fastest way to try out object classes?

2017-11-09 Thread Zheyuan Chen
" in the osd log. On Thu, Nov 9, 2017 at 10:19 AM, Yehuda Sadeh-Weinraub wrote: > On Thu, Nov 9, 2017 at 10:05 AM, Zheyuan Chen wrote: > > I installed rados-objclass-dev and objclass.h was installed successfully. > > However, I failed to run the objclass following the steps

Re: [ceph-users] Fwd: What's the fastest way to try out object classes?

2017-11-09 Thread Zheyuan Chen
n Mon, Oct 30, 2017 at 4:20 PM, Neha Ojha wrote: > Should be rados-objclass-dev or rados-objclass-devel. Try and let me > know how it goes. Honestly, I've always done it from source :) > > On Mon, Oct 30, 2017 at 4:12 PM, Zheyuan Chen wrote: > > Do you know which package

[ceph-users] Fwd: What's the fastest way to try out object classes?

2017-10-30 Thread Zheyuan Chen
-- Forwarded message -- From: Zheyuan Chen Date: Mon, Oct 30, 2017 at 2:16 PM Subject: What's the fastest way to try out object classes? To: ceph-users@lists.ceph.com Hi All, I'd like to try out object classes. http://docs.ceph.com/ docs/master/rados/api/objclass-s

[ceph-users] Bug report: unexpected behavior when executing Lua object class

2017-06-02 Thread Zheyuan Chen
Hi, I found two bugs when testing out Lua object class. I am running with Ceph 11.2.0. Can anybody take a look at them? Zheyuan Bug 1: I can not get returned output in the first script. "data" is always empty. import rados, json > cluster = rados.Rados(conffile='') > cluster.connect() > ioctx