{"action":"created","issue":{"url":"https://api.github.com/repos/cdmh/mapreduce/issues/5","labels_url":"https://api.github.com/repos/cdmh/mapreduce/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cdmh/mapreduce/issues/5/comments","events_url":"https://api.github.com/repos/cdmh/mapreduce/issues/5/events","html_url":"https://github.com/cdmh/mapreduce/issues/5","id":62569476,"number":5,"title":"how to switch from in_memory(default) to local_disk ?","user":{"login":"zbhuang","id":2206489,"avatar_url":"https://avatars.githubusercontent.com/u/2206489?v=3","gravatar_id":"","url":"https://api.github.com/users/zbhuang","html_url":"https://github.com/zbhuang","followers_url":"https://api.github.com/users/zbhuang/followers","following_url":"https://api.github.com/users/zbhuang/following{/other_user}","gists_url":"https://api.github.com/users/zbhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/zbhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbhuang/subscriptions","organizations_url":"https://api.github.com/users/zbhuang/orgs","repos_url":"https://api.github.com/users/zbhuang/repos","events_url":"https://api.github.com/users/zbhuang/events{/privacy}","received_events_url":"https://api.github.com/users/zbhuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T02:36:39Z","updated_at":"2015-03-18T07:14:51Z","closed_at":null,"body":"Firstly, thanks for your work. I played with your program, and debug in and also read google's mapreduce paper, and got better understanding of it.\r\nI have one questions to ask.\r\nhow to switch from in_memory to local_disk ?\r\nTwo methods for intermediates and two methods for schedule_policy. If I switch from cpu_parallel to sequential (basically just replace it in mapreduce.hpp and wordcount.cpp files, build the project, and run it. But when I did the similar change to in_memory (replace it with local_disk in job.hpp file), then I got the build the error - \"local_disk.hpp(640): error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::pair<_Ty1,_Ty2>' (or there is no acceptable conversion)\". \r\nAny suggestion ? Is it the right way to switch from in_memory method to local_disk method ?\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/cdmh/mapreduce/issues/comments/82787723","html_url":"https://github.com/cdmh/mapreduce/issues/5#issuecomment-82787723","issue_url":"https://api.github.com/repos/cdmh/mapreduce/issues/5","id":82787723,"user":{"login":"cdmh","id":693940,"avatar_url":"https://avatars.githubusercontent.com/u/693940?v=3","gravatar_id":"","url":"https://api.github.com/users/cdmh","html_url":"https://github.com/cdmh","followers_url":"https://api.github.com/users/cdmh/followers","following_url":"https://api.github.com/users/cdmh/following{/other_user}","gists_url":"https://api.github.com/users/cdmh/gists{/gist_id}","starred_url":"https://api.github.com/users/cdmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdmh/subscriptions","organizations_url":"https://api.github.com/users/cdmh/orgs","repos_url":"https://api.github.com/users/cdmh/repos","events_url":"https://api.github.com/users/cdmh/events{/privacy}","received_events_url":"https://api.github.com/users/cdmh/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T07:14:51Z","updated_at":"2015-03-18T07:14:51Z","body":"Are you compiling one of the samples? What compiler toolset are you using?"}}