hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ajitabh Pandey <ajitabhpan...@gmail.com>
Subject Hadoop archive not displaying files in the har
Date Fri, 07 Sep 2012 12:55:00 GMT
Hi,

I created a hadoop archive as follows:

$ hadoop archive  -Dmapred.job.queue.name=myqueue -archiveName
test.har -p /my/dir/path subdir1/some-file-name-*.gz
/my/dir/path/some-target-directory

The map reduce job runs fine and when the job finishes I see the following:

$ hadoop fs -ls /my/dir/path/some-target-directory/test.har
Found 3 items
-rw-------   5 ap users       9199 2012-09-07 12:30
/my/dir/path/some-target-directory/test.har/_index
-rw-------   5 ap users         24 2012-09-07 12:30
/my/dir/path/some-target-directory/test.har/_masterindex
-rw-------   3 ap users 3367997136 2012-09-07 12:28
/my/dir/path/some-target-directory/test.har/part-0

But when I do

$ hadoop fs -lsr har:///my/dir/path/some-target-directory/test.har/

I don't get an output, I just get the $ prompt back.

Any idea what is wrong here?

Regards.
-- 
Ajitabh Pandey
http://ajitabhpandey.info

Mime
View raw message