Member since
02-10-2017
6
Posts
0
Kudos Received
0
Solutions
02-12-2017
03:51 AM
Thanks for quick reply.
The book I follow does not show them as backticks. Now I remember those Unix shell stuff. 😉 It works.
... View more
02-12-2017
02:12 AM
I set up HDP 2.4 Sandbox on Virtualbox on my windows machine. The pi program works. So, I guess the installation was OK. Then, I tried to compile a java program from wiki (http://wiki.apache.org/hadoop/HadoopDFSReadWrite.java), but it did not work. The following shows the compile command and error messages. Basically it does not recognize the org.apache.hadoop.conf package. javac -cp 'hadoop classpath' HadoopDFSFileReadWrite.java
HadoopDFSFileReadWrite.java:22: error: package org.apache.hadoop.conf does not exist
import org.apache.hadoop.conf.Configuration;
^
HadoopDFSFileReadWrite.java:23: error: package org.apache.hadoop.fs does not exist
import org.apache.hadoop.fs.FileSystem;
^
...
Is this package recognized by HortowonWorks sandbox distribution? Many thanks.
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)