开发者社区> 问答> 正文

E-MapReduce创建集群时没有勾选presto 现在想启动presto

已解决

怎么启动presto啊

展开
收起
鸿初 2016-11-28 19:26:07 2662 0
1 条回答
写回答
取消 提交回答
  • 阿里云-EMR团队成员,致力于推广开源大数据在云上的应用
    采纳回答

    presto安装目录是/usr/lib/presto-current
    日志目录是/mnt/disk1/log/presto

    先初始化,再启动

    初始化:
    每个节点的/usr/local/emr/emr-bin/script/presto/init.sh,
    先改masterIp=#master_ip#,将#master_ip#改为emr-header-1节点的内网ip

    再执行该脚本

    启动命令:
    emr-header-1 用su -l hdfs -c "/usr/lib/presto-current/bin/launcher --config=/usr/lib/presto-current/etc/coordinator-config.properties start"
    其他节点用su -l hdfs -c "/usr/lib/presto-current/bin/launcher --config=/usr/lib/presto-current/etc/worker-config.properties start"

    2019-07-17 20:29:47
    赞同 2 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
阿里云E-MapReduce 立即下载
\"Hadoop的过去现在和未来——从阿里云梯到E-MapReduce \" 立即下载
大数据解决方案构建详解 以阿里云E-MapReduce为例 立即下载