When running the Mapreduce command 
fromhttp://phoenix.apache.org/bulk_dataload.html, I am getting an Access denied 
exception.
Is there an environment variable or a cmdline option to specify a different 
folder for the \apps folder?


C:\apps\dist\phoenix-4.0.0.2.1.8.0-2176>hadoop jar 
phoenix-4.0.0.2.1.8.0-2176-client.jar 
org.apache.phoenix.mapreduce.CsvBulkLoadTool --table test2 --input 
/data/test2.csv
Exception in thread "main" java.io.FileNotFoundException: 
\apps\temp\hdfs\tmp\hadoop-unjar4246468824119614050\META-INF\LICENSE (Access is 
denied)        at java.io.FileOutputStream.open(Native Method)        at 
java.io.FileOutputStream.<init>(FileOutputStream.java:221)        at 
java.io.FileOutputStream.<init>(FileOutputStream.java:171)        at 
org.apache.hadoop.util.RunJar.unJar(RunJar.java:88)        at 
org.apache.hadoop.util.RunJar.unJar(RunJar.java:64)        at 
org.apache.hadoop.util.RunJar.main(RunJar.java:188)

thanksRama                                        

Reply via email to