hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahab Yunus <shahab.yu...@gmail.com>
Subject Re: Providing a file instead of a directory to a M/R job
Date Thu, 17 Jul 2014 15:27:20 GMT
That is what I thought so too but when I give the parent directory as the
input path of that same file, it works. Perhaps I am messing something up.
I am suing cloudera 4.6 btw.

Meanwhile I have noticed that I can read files directly by using
MultileInputs and that works fine.

Regards,
Shahab


On Thu, Jul 17, 2014 at 11:23 AM, Bertrand Dechoux <dechouxb@gmail.com>
wrote:

> No reason why not. And a permission explains why there is an error :
> missing access rights....
>
> Bertrand Dechoux
>
>
> On Thu, Jul 17, 2014 at 4:58 PM, Shahab Yunus <shahab.yunus@gmail.com>
> wrote:
>
>> In MRv2 or Yarn is it possible to provide a complete path to a file
>> instead of a directory to a mapreduce job?
>>
>> Usually we provide a list of directory paths by using
>> FileInputFormat.addInputPath. Can we provide a path which is a full path to
>> an actually file? I have tried it but getting unexpected permission errors.
>>
>> Thanks.
>>
>
>

Mime
View raw message