Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Hadoop Can't Find Java
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bluethundr" data-source="post: 925250"><p>Hello</p><p></p><p>I am trying to get hadoop/hbase running on my MacBook pro. When I run the startup scripts as the hadoop user which I added it seems to look for Java here:</p><p></p><p>[code]</p><p>/System/Library/Frameworks/JavaVM.framework/Versions/Current/bin/java[/code]</p><p></p><p>My Java_Home is set here:</p><p></p><p>[code]</p><p>bash-3.2# echo $JAVA_HOME</p><p>/System/Library/Frameworks/JavaVM.framework/Versions/Current</p><p>[/code]</p><p></p><p>These are the contents of my Current directory:</p><p></p><p>[code]drwxr-xr-x 8 root wheel 272 Sep 12 17:27 .</p><p>drwxr-xr-x 12 root wheel 408 Sep 30 18:46 ..</p><p>lrwxr-xr-x 1 root wheel 28 Sep 12 17:27 CodeResources -> _CodeSignature/CodeResources</p><p>drwxr-xr-x 37 root wheel 1258 Jul 20 19:36 Commands</p><p>drwxr-xr-x 4 root wheel 136 Jul 20 19:28 Frameworks</p><p>-rwxr-xr-x 1 root wheel 191840 Jul 20 19:28 JavaVM</p><p>drwxr-xr-x 33 root wheel 1122 Sep 12 17:27 Resources</p><p>drwxr-xr-x 3 root wheel 102 Jul 20 19:28 _CodeSignature</p><p>[/code]</p><p></p><p>The problem seems to be that Hadoop is looking for the JVM to be called 'java' in the 'bin' subdir of Current. But on my Mac it seems to be called 'JavaVM' and living on the root of Current. How do I tell hadoop the correct name of my JVM? I am on Snow Leopard 10.6.1</p></blockquote><p></p>
[QUOTE="bluethundr, post: 925250"] Hello I am trying to get hadoop/hbase running on my MacBook pro. When I run the startup scripts as the hadoop user which I added it seems to look for Java here: [code] /System/Library/Frameworks/JavaVM.framework/Versions/Current/bin/java[/code] My Java_Home is set here: [code] bash-3.2# echo $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/Current [/code] These are the contents of my Current directory: [code]drwxr-xr-x 8 root wheel 272 Sep 12 17:27 . drwxr-xr-x 12 root wheel 408 Sep 30 18:46 .. lrwxr-xr-x 1 root wheel 28 Sep 12 17:27 CodeResources -> _CodeSignature/CodeResources drwxr-xr-x 37 root wheel 1258 Jul 20 19:36 Commands drwxr-xr-x 4 root wheel 136 Jul 20 19:28 Frameworks -rwxr-xr-x 1 root wheel 191840 Jul 20 19:28 JavaVM drwxr-xr-x 33 root wheel 1122 Sep 12 17:27 Resources drwxr-xr-x 3 root wheel 102 Jul 20 19:28 _CodeSignature [/code] The problem seems to be that Hadoop is looking for the JVM to be called 'java' in the 'bin' subdir of Current. But on my Mac it seems to be called 'JavaVM' and living on the root of Current. How do I tell hadoop the correct name of my JVM? I am on Snow Leopard 10.6.1 [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Hadoop Can't Find Java
Top