用于Apache Cassandra安装的DataStax Bulk Loader 1.7.0在Ubuntu上不起作用 [英] DataStax Bulk Loader 1.7.0 for Apache Cassandra installation doesn't work on Ubuntu

查看:87
本文介绍了用于Apache Cassandra安装的DataStax Bulk Loader 1.7.0在Ubuntu上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许这对其他人可能很有帮助.

maybe this could be very helpful to other people.

这是链接,其中对installatif DSbulk加载程序进行了说明.

This is the link in which is explained the installatif DSbulk loader.

https://docs.datastax.com/en/dsbulk/doc/dsbulk/install/dsbulkInstall.html

有人可以逐步说明安装过程吗?

Someone could explain step by step the procedure to install it?

链接的第一部分非常清楚,但是如果在终端上安装了JAVA(如我的情况),则运行"dsbulk --version"它说找不到命令".

The first part in the link is very clear, but if you have installed JAVA (as in my case) when on terminal you run " dsbulk --version " it says "command not found".

我希望这会很有帮助,youtube上也没有教程.

I hope this will be very helpful, there are no tutorials neither on youtube.

谢谢

推荐答案

如果要以这种方式运行它,则需要将DSBulk发行版的 bin 目录放入外壳的 PATH .如果您位于DSBulk的顶层目录中,则可以执行以下操作:

If you want to run it this way, then you need to put the bin directory of the DSBulk distribution into the shell's PATH. If you're staying in the top directory of DSBulk, then you can do following:

export PATH=$PATH:$(pwd)/bin

,然后可以将其称为 dsbulk .另一种选择是将其称为 bin/dsbulk full_path/bin/dsbulk

and then you can call it as dsbulk. Another alternatives are to call it as bin/dsbulk, or full_path/bin/dsbulk

这篇关于用于Apache Cassandra安装的DataStax Bulk Loader 1.7.0在Ubuntu上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆