{"action":"created","issue":{"url":"https://api.github.com/repos/baimingze/project1/issues/4","labels_url":"https://api.github.com/repos/baimingze/project1/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/baimingze/project1/issues/4/comments","events_url":"https://api.github.com/repos/baimingze/project1/issues/4/events","html_url":"https://github.com/baimingze/project1/issues/4","id":94519031,"number":4,"title":"HDFS目录","user":{"login":"sangzhe","id":12438179,"avatar_url":"https://avatars.githubusercontent.com/u/12438179?v=3","gravatar_id":"","url":"https://api.github.com/users/sangzhe","html_url":"https://github.com/sangzhe","followers_url":"https://api.github.com/users/sangzhe/followers","following_url":"https://api.github.com/users/sangzhe/following{/other_user}","gists_url":"https://api.github.com/users/sangzhe/gists{/gist_id}","starred_url":"https://api.github.com/users/sangzhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangzhe/subscriptions","organizations_url":"https://api.github.com/users/sangzhe/orgs","repos_url":"https://api.github.com/users/sangzhe/repos","events_url":"https://api.github.com/users/sangzhe/events{/privacy}","received_events_url":"https://api.github.com/users/sangzhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-07-12T00:19:19Z","updated_at":"2015-07-16T01:44:53Z","closed_at":null,"body":"general_config.json中需要配置hadoop_dr，这个路径应该是哪个呢？\r\n现在运行到copy文件至HDFS出错，我觉得可能是这个目录地址写的不对\r\n\r\n图是hadoop的log\r\n<img width=\"913\" alt=\"2015-07-12 08 21 09\" src=\"https://cloud.githubusercontent.com/assets/12438179/8635836/0bff3eba-286f-11e5-8b06-dc4d1b9dddf7.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/baimingze/project1/issues/comments/121798087","html_url":"https://github.com/baimingze/project1/issues/4#issuecomment-121798087","issue_url":"https://api.github.com/repos/baimingze/project1/issues/4","id":121798087,"user":{"login":"sangzhe","id":12438179,"avatar_url":"https://avatars.githubusercontent.com/u/12438179?v=3","gravatar_id":"","url":"https://api.github.com/users/sangzhe","html_url":"https://github.com/sangzhe","followers_url":"https://api.github.com/users/sangzhe/followers","following_url":"https://api.github.com/users/sangzhe/following{/other_user}","gists_url":"https://api.github.com/users/sangzhe/gists{/gist_id}","starred_url":"https://api.github.com/users/sangzhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangzhe/subscriptions","organizations_url":"https://api.github.com/users/sangzhe/orgs","repos_url":"https://api.github.com/users/sangzhe/repos","events_url":"https://api.github.com/users/sangzhe/events{/privacy}","received_events_url":"https://api.github.com/users/sangzhe/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T01:44:53Z","updated_at":"2015-07-16T01:44:53Z","body":"老师遇到的那个错误我觉得就是应该general_config.json中hadoop_dir所指的地址并不存在导致的。mapreduce_helper.py中有创建远程目录的函数，但实际上并没有被使用。\r\n```\r\ndef createRemoteDir(dirname) :\r\n    if (runHadoop()) :\r\n        args = [getHadoopBinary(),\"fs\",\"-mkdir\",dirname]\r\n        runPipeCommand( args )\r\n```\r\n所以老师要检查一下/tmp/hadoop-mingze/dfs/name是否存在\r\n```\r\nhadoop fs -ls /tmp/hadoop-mingze/dfs/name\r\n```"}}