#Hadoop: Cannot create a new directory

1 messages · Page 1 of 1 (latest)

floral jacinth
#

I've recently installed Hadoop and am not able to create a new directory:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.activation not found

I've tried to install the activation.jar from http://www.java2s.com/Code/Jar/a/Downloadactivationjar.htm and moved it to /usr/share/java directory (ubuntu). That is atleast what i thought i should do . Still facing this issue , please help

loud condorBOT
#

<@&987246399047479336> please have a look, thanks.

floral jacinth
#

Hi , can anyone help ?

charred agate
#

Since you're manually adding the activation JAR, make sure it’s added to the Java classpath or module path properly.

#

Download activation JAR: If you haven't already, you can download it from:

#

Set CLASSPATH or MODULEPATH: Move the JAR to a known location and add it to your classpath:

#

export CLASSPATH=/path/to/activation.jar:$CLASSPATH

#

Alternatively, if you're using the module path (Java 9 and above):

#

java --module-path /path/to/activation.jar --add-modules java.activation

#

After ensuring the JAR is in your classpath or module path, try running the Hadoop command again:

#

hadoop fs -mkdir /user

#

If the issue persists, you may need to adjust your Java installation or the way you're managing JARs. Let me know how it goes, and I can guide you through further steps if needed.

loud condorBOT
#

@floral jacinth

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure 👍

floral jacinth
#

I tried doing what you said , not working

loud condorBOT
#

@floral jacinth

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure 👍

floral jacinth
#

I've tried to add the jar to my CLASSPATH to no avail