(管道)hadoop @ ubuntu:〜/ edx-analytics-pipeline $远程任务--host本地主机--repo https://github.com/edx/edx-analytics-pipeline --user ubuntu --override-config $ HOME / edx-analytics-pipeline /config/devstack.cfg --wheel-url http://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise --remote-name analyticstack --wait TotalEventsDailyTask --interval 2015 --output-root hdfs:// localhost:9000 / output / --local-scheduler 解析参数=命名空间(branch ='release',extra_repo = None,host ='localhost',job_flow_id = None,job_flow_name = None,launch_task_arguments = ['TotalEventsDailyTask','--interval','2015','--output -root','hdfs:// localhost:9000 / output /','-local-scheduler'],log_path = None,override_config ='/ edx / app / hadoop / edx-analytics-pipeline / config / devstack。 cfg',package = None,private_key = None,remote_name ='analyticstack',repo ='https://github.com/edx/edx-analytics-pipeline',secure_config = None,secure_config_branch = None,secure_config_repo = None,shell = None,skip_setup = False,sudo_user =' hadoop',user ='ubuntu',vagrant_path = None,verbose = False,virtualenv_extra_args = None,wait = True,wheel_url ='http://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise',workflow_profiler = None) 从路径运行命令= /edx/app/hadoop/pipeline/share/edx.analytics.tasks 远程名称= analyticstack 警告:wheel_url参数不再受支持:忽略http://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise 运行命令= ['/ edx / app / hadoop / pipeline / bin / ansible-playbook','-i','localhost,','task.yml','-e','{“ pipeline_repo_dir_name”:“回购“,” name“:” all“,” repos“:[{” url“:” https://github.com/edx/edx-analytics-pipeline“,” dir_name“:” repo“,” branch“:” release“}],” write_luigi_config“: false,“ root_log_dir”:“ / var / log / analytics-tasks”,“ root_data_dir”:“ / var / lib / analytics-tasks”,“ override_config”:“ / edx / app / hadoop / edx-analytics-pipeline / config / devstack.cfg“,” uuid“:” analyticstack“}','-u','ubuntu']
PLAY [Configure luigi] ********************************************** **************
汇总事实************************************************* ****************** 致命:[localhost] => SSH在连接期间遇到未知错误。我们建议您使用-vvvv重新运行该命令,这将启用SSH调试输出以帮助诊断问题
任务:[luigi |配置目录已创建] *********************************** 致命:没有匹配的主机或所有主机都已发生故障-正在中止
PLAY RECAP ********************************************* *********************** 要重试,请使用:--limit @ / edx / app / hadoop / task.retry
localhost:确定= 0更改= 0不可访问= 1失败= 0
然后尝试-同一台计算机的LMS和Analytics。
编辑sudoers文件 sudo nano / etc / sudoers
在此文件的末尾添加以下两行: 在#includedir /etc/sudoers.d
%hadoop ALL =(ALL)NOPASSWD:ALL
保存并关闭文件(CTL + o CTL + x)