Giter Club home page Giter Club logo

Comments (9)

rgvenkatesh avatar rgvenkatesh commented on August 11, 2024 1

Check this pull request - #489 Solution - keep the path short where the install folder is

Thanks Ashish. Worked for me.

from dsbulk.

msmygit avatar msmygit commented on August 11, 2024

@r3econ what is the full command that you ran (of course, with credentials redacted)? Also, could you run ./dsbulk --version and post the output here? Also specify what operating system are you attempting to do this.

from dsbulk.

r3econ avatar r3econ commented on August 11, 2024

I ran dsbulk unload -k mykeyspace -t mytable -f configForUnloadingData > out.csv

However, running dsbulk -version gives the same result:

C:\Users\Administrator\Desktop\migration\dsbulk-1.10.0\dsbulk-1.10.0\bin>dsbulk -version
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
        at com.datastax.oss.dsbulk.runner.DataStaxBulkLoader.<clinit>(DataStaxBulkLoader.java:42)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 1 more

from dsbulk.

msmygit avatar msmygit commented on August 11, 2024

It is supposed to be --version. Anyways, here is what I get on my machine:

% java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)


% ./dsbulk --version
DataStax Bulk Loader v1.10.0

Could you connect with me here to triage this? I suspect there is a problem with your Java Development Kit (JDK) installation.

from dsbulk.

M5stars avatar M5stars commented on August 11, 2024

Hello, the same thing happened to me, did you resolved it? If yes, please, tell me how :) Thanks

from dsbulk.

msmygit avatar msmygit commented on August 11, 2024

@M5stars same question to you,

#461 (comment)

from dsbulk.

M5stars avatar M5stars commented on August 11, 2024

A friend of mine have tried in his computer with exactly the same procedure and all went okay, nothing wrong happened, so I dont understand why :(

from dsbulk.

CTPassion avatar CTPassion commented on August 11, 2024

Anyone still having and resolved this issue?

I am on Windows 11. I have tried different builds of OpenJDK 8, repaired, reinstalled...

>> java -version
openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

>> dsbulk --version
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
        at com.datastax.oss.dsbulk.runner.DataStaxBulkLoader.<clinit>(DataStaxBulkLoader.java:42)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        ... 1 more

from dsbulk.

ashishmathewabraham avatar ashishmathewabraham commented on August 11, 2024

Check this pull request - #489
Solution - keep the path short where the install folder is

from dsbulk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.