Thanks for pointing out PHOENIX-976 James (I had lost track of that
one), but I think that this is a different issue.

@Rama, I see you're running on Windows. Can you confirm that you're
able to start (non-Phoenix) MapReduce jobs from your Windows machine?

In any case, the configuration parameter that determines where the job
jar is unzipped locally is hadoop.tmp.dir, so setting this to
something else should change the location where things are being
unzipped. However, I wouldn't be surprised if other issues come up
with starting the job due to running on Windows.

- Gabriel


On Thu, Dec 4, 2014 at 5:51 AM, James Taylor <[email protected]> wrote:
> See https://issues.apache.org/jira/browse/PHOENIX-976
>
> On Wed, Dec 3, 2014 at 5:38 PM, Rama Ramani <[email protected]> wrote:
>> Sorry, send to dev alias by mistake, sending to the user DL
>>
>> 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\ha
>> doop-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)
>>
>>
>> thanks
>> Rama

Reply via email to