v6d-io / v6d

vineyard (v6d): an in-memory immutable data manager. (Project under CNCF, TAG-Storage)
https://v6d.io
Apache License 2.0
838 stars 121 forks source link

vineyard-ctl: a command-line tool to inspect and operate the objects in vineyard cluster #291

Closed sighingnow closed 3 years ago

sighingnow commented 3 years ago

Describe your problem

There's a vineyard-cli tool in vineyard that provides limited functionalities on vineyard objects. A more powerful command-line tool vineyard-ctl is expected and at least the following features should be included:

Additional context

N/A

chaitravi-ce commented 3 years ago

I am interested in this project. I wanted to ask whether the project only includes integration of functions to command line or it also includes creating functions.

sighingnow commented 3 years ago

The task includes two parts:

Spnetic-5 commented 3 years ago

Hey, @sighingnow, I would like to work on the proposal for this project & contribute to this project in OSPP Summer 2021. Currently, I'm unable to figure out how should I proceed with this project. Can you please share the approach to build the command-line tool vineyard-ctl? Also, I have been facing some issues while installing the vineyard, can you please help me with it.

Hope to have the opportunity to discuss with you in more detail how I could contribute to this project.

sighingnow commented 3 years ago

A module called "graph" in vineyard (for distributed graph data structures) requires https://github.com/alibaba/libgrape-lite, you could resolve the error by

  1. disable that part by cmake .. -DBUILD_VINEYARD_GRAPH=OFF, or
  2. install libgrape-lite first.

Kind regards,

chaitravi-ce commented 3 years ago

Thank you @sighingnow, I faced the issue but it was resolved with the solution. But during make -j command my laptop hangs. Are there any hardware requirements for this process. I am using a laptop without GPU.

Spnetic-5 commented 3 years ago

Thanks @sighingnow it works, but now my pc has stuck while running make -j. Can you please provide solution to this, Can you please elaborate more on the approach to building the command-line tool vineyard-ctl.

sighingnow commented 3 years ago

But during make -j command my laptop hangs.

Hi @chaitravi-ce, vineyard's build process has no specific hardware requirements, could you please try make -j2 instead?

sighingnow commented 3 years ago

Thanks @sighingnow it works, but now my pc has stuck while running make -j. Can you please provide solution to this, Can you please elaborate more on the approach to building the command-line tool vineyard-ctl.

I have commented above, but could you please try to build vineyard with make -j2 instead?

Rohan-cod commented 3 years ago

Hi @sighingnow, I hope you are safe and in good health. My name is Rohan Gupta and I am a 3rd-year Computer Science undergraduate student at Shri Mata Vaishno Devi University. I have been working with Python for a couple of years now and have in-depth knowledge of it. I look forward to contributing to this project as part of this year's ISCAS. My Linkedin Profile:- https://www.linkedin.com/in/rohang4837b4124/

sighingnow commented 3 years ago

I look forward to contributing to this project as part of this year's ISCAS.

Hi @Rohan-cod,

Thanks for your effort on project vineyard, and welcome to the community!

sighingnow commented 3 years ago

Hi @Rohan-cod,

I have added a doc chapter for vineyard-ctl here: https://github.com/v6d-io/v6d/blob/main/docs/notes/ctl.rst. Along with developing the code, could you please fill the doc chapter as well? by adding something like descriptions, explaination for arguments, the usage, and examples as well.

Rohan-cod commented 3 years ago

Along with developing the code, could you please fill the doc chapter as well? by adding something like descriptions, explaination for arguments, the usage, and examples as well.

Sure, I'll update the documentation. :)

sighingnow commented 3 years ago

Close as resolved. Thanks @Rohan-cod !

Rohan-cod commented 3 years ago

Close as resolved. Thanks @Rohan-cod !

Thanks @sighingnow. Had a great time working on this issue with @siyuan0322. :)