shark 是否支持cloudrea5.0 beta

wanxiaohun 2014-03-24 08:18:41
最近需要在cloudrea上部署shark用于数据快速检索,在http://cloudera.rst.im/shark/shark-0.9.1-bin-cdh4.6.0-fe75a886.tar.gz中下载了shark,按照如下配置运行shark

export SPARK_MEM=1g

# (Required) Set the master program's memory
export SHARK_MASTER_MEM=1g

# (Required) Point to your Scala installation.
export SCALA_HOME="/home/yiwang/scala/scala-2.10.3"

# (Optional) Specify the location of Hive's configuration directory. By default,
# Shark run scripts will point it to $SHARK_HOME/conf
export HIVE_CONF_DIR="/opt/cloudera/parcels/CDH/lib/hive/conf"
export HIVE_HOME="/opt/cloudera/parcels/CDH/lib/hive"

# For running Shark in distributed mode, set the following:
export HADOOP_HOME="/opt/cloudera/parcels/CDH/lib/hadoop"
export SPARK_HOME="/opt/cloudera/parcels/CDH/lib/spark"
export MASTER="spark://192.168.100.114:7077"

运行如下两条命令:
1. shark> show tables;
OK
json_t1
sample_07
sample_08
test_1
test_2
Time taken: 0.043 seconds

2. select * from test_2;
FAILED: Hive Internal Error: java.lang.RuntimeException(java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Message missing required fields: callId, status; Host Details : local host is: "ipc113/192.168.100.113"; destination host is: "ipc113":8020; )

报错,替换了protbufxxx.jar文件后也不能够解决,求帮助
...全文
185 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yxl_happy 2014-03-28
  • 打赏
  • 举报
回复
楼主问题解决了吗? hadoop是2.2.0版本吗

2,209

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 其他数据库
社区管理员
  • 其他数据库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧