Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing on crates.io? #1

Open
zijie0 opened this issue Dec 20, 2021 · 1 comment
Open

Publishing on crates.io? #1

zijie0 opened this issue Dec 20, 2021 · 1 comment

Comments

@zijie0
Copy link

zijie0 commented Dec 20, 2021

Hey @yjshen , I'm not sure if this repo is ready to publish on crates.io? If not, do you have any suggestion on tasks that I can help to contribute?

BTW, I tried to run tests on my local machine but failed with error: /usr/bin/ld: cannot find -lhdfs3

But I have already installed libhdfs3 via conda:

❯ sudo ldconfig -p | grep hdfs
        libhdfs3.so.1 (libc6,x86-64) => /home/zijie0/miniconda3/lib/libhdfs3.so.1
        libhdfs3.so (libc6,x86-64) => /home/zijie0/miniconda3/lib/libhdfs3.so

Is it recommended using docker environment to run the tests?

@yjshen
Copy link
Collaborator

yjshen commented Dec 20, 2021

Hey @yjshen , I'm not sure if this repo is ready to publish on crates.io? If not, do you have any suggestion on tasks that I can help to contribute?

I'm not using this crate currently. Therefore, I'm not confident it's stable and mature enough to publish to crates.io.
We need to add more unit and integration tests before publishing.

If you are interested in contributing, you can start by adding tests, running on your cluster, enabling its tests using Github Action, or anything you think it's necessary. I will also restart this work the following week.

BTW, I tried to run tests on my local machine but failed with error: /usr/bin/ld: cannot find -lhdfs3

But I have already installed libhdfs3 via conda:

❯ sudo ldconfig -p | grep hdfs
        libhdfs3.so.1 (libc6,x86-64) => /home/zijie0/miniconda3/lib/libhdfs3.so.1
        libhdfs3.so (libc6,x86-64) => /home/zijie0/miniconda3/lib/libhdfs3.so

Is it recommended using docker environment to run the tests?

Perhaps export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/zijie0/miniconda3/lib/ ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants