spark | metastore_db cannot be creat
来源:互联网 发布:数据库修改语句有哪些 编辑:程序博客网 时间:2024/05/20 13:08
快找工作了,也得把spark和hadoop学起来,于是安装便碰到问题。
<console>:14: error: not found: value spark import spark.implicits._ ^<console>:14: error: not found: value spark import spark.sql
其原因是没有权限在spark中写入metastore_db 这个文件。
处理方法:
授予777的权限,在root下操作:
root@zhangx-Lenovo-B470:/home/zhangx# sudo chmod 777 /home/hadoop/spark#为了方便,可以给所有的权限root@zhangx-Lenovo-B470:/home/zhangx# sudo chmod a+w /home/hadoop/spark
这样,便OK了
1 0
- spark | metastore_db cannot be creat
- qwidget:cannot creat a qwidget without qapplication
- spark graphx: creat an graph from csv
- creat
- Cannot creat form. No MDI forms are currently active.
- configure: error: installation or configuration problem: C compiler cannot creat
- Spark Streaming 报错:kafka.cluster.BrokerEndPoint cannot be cast to kafka.cluster.Broker
- org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema cannot be cast to scala.Tuple2
- Resources cannot be null
- Resources cannot be null
- Resources cannot be null
- characters cannot be mapped
- Resources cannot be null
- $Proxy1 cannot be cast
- Name cannot be empty.
- IValueProperty cannot be resolved
- expression cannot be evaluated
- Resources cannot be null
- c++添加文件关联
- Why does my Authorize Attribute not work-
- git一些常见的命令行
- 快递小哥逆袭自传:用了6年时间做到了IT部门主管
- Java程序压缩成jar包,并在Linux后台执行
- spark | metastore_db cannot be creat
- Fragment之间跳转,再一层层返回
- 在draongboard 410c上使用JSON进行通信交互——JSON报文解析
- javaScript学习笔记2---函数
- Github使用超详细图文攻略
- 欢迎使用CSDN-markdown编辑器
- 数据结构与算法经典80
- Appium_Python_Api文档
- Java实现常见排序算法