我使用ansible运行一个使用hadoop的基准测试。我已经安装了ClouderaHadoop容器。如何定义容器中core-site.xml文件的路径?
- name: 'Configuring the benchmark'
replace:
path: 'path/to/benchmark/conf/ConfFile.conf'
regexp: '/usr/local/hadoop/etc/hadoop'
replace: '/etc/hadoop/conf/core-site.xml'
“替换”步骤中的路径在容器中,但ansible在我的本地计算机上搜索它。如何定义这是容器中的路径?
暂无答案!
目前还没有任何答案,快来回答吧!