Re: [disco-dev] problems with reading information from ddfs

43 views
Skip to first unread message

Prashanth Mundkur

unread,
May 18, 2013, 2:35:09 PM5/18/13
to disc...@googlegroups.com
On 15:01 Fri 17 May, alex...@inbox.ru wrote:
> Hello everyone.
> In my project I try to use DISCO. And here I encountered the following
> situation.
> If the information is stored in ddfs by ddfs.chunk, I can use the simple
> form Job
>
> Job().run(input=['site:url:doug'])
>
> to read this information from ddfs. But if this information is stored from
> memory by ddfs.push, the exact same form of the following message
>
> disco.error.DataError: Unable to access resource
> ([u'disco://alex-lab/ddfs/vol0/blob/ad/start$558-bd1fa-3dc2f']): Exhausted
> all available replicas, last error was:
>
> I would like to know how to solve this problem.

Are you making sure you are using the right input readers? Chunked
data needs the chain_reader, while the normally pushed data uses the
default reader.

--prashanth

AlexGrig

unread,
May 19, 2013, 1:09:39 AM5/19/13
to disc...@googlegroups.com
HI!
mundkur, thank you very much for the quick response. To me, as a novice, would love to see an example of this default reader for the pushed data. 
For definiteness, let him read a text file that has been pushed to DDFS.
Thanks in advance.
Sincerely, Alexander.
Reply all
Reply to author
Forward
0 new messages