SparkSQL错误:Could not find uri with key [dfs.encryption.key.provider.uri] to create a keyProvider
2017-04-07 19:30
856 查看
##问题背景
在终端运行 spark-sql 命令,创建一张表,然后使用 LOAD DATA LOCAL INPATH 语法将本地文件中的数据加载到表中,虽然数据能够成功加载进去,但还是提示以下错误:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202003/25/673d96acb819e9a23f7e4dcd939916b6.png)
##问题分析
本地文件路径中带有中文。
##问题解决
将本地文件放置到全英文路径下,错误提示消失。
在终端运行 spark-sql 命令,创建一张表,然后使用 LOAD DATA LOCAL INPATH 语法将本地文件中的数据加载到表中,虽然数据能够成功加载进去,但还是提示以下错误:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202003/25/673d96acb819e9a23f7e4dcd939916b6.png)
##问题分析
本地文件路径中带有中文。
##问题解决
将本地文件放置到全英文路径下,错误提示消失。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202003/25/d23ce888c44b4e74ec92eee7f185eaff.png)
相关文章推荐
- ibatis Could not find SQL statement to include with refid 'xxx' 问题
- ibatis Could not find SQL statement to include with refid 'xxx' 问题。
- MyBatis3: Could not find SQL statement to include with refid ‘
- 错误提示: (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
- ibatis Could not find SQL statement to include with refid 'xxx' 问题
- Sybase- Could not find SQL statement to include with refid 'getOrderInHdStatisDetailsql'
- ibatis Could not find SQL statement to include with refid 'xxx' 问题
- Android使用TabHost程序异常终止could not create tab content because could not find view with id 错误
- Could not find SQL statement to include with refid :XXX这样的问题
- Sybase- Could not find SQL statement to include with refid 'getOrderInHdStatisDetailsql'
- android 使用Tabhost 发生could not create tab content because could not find view with id 错误
- sql中:The database could not be exclusively locked to perform the operation. 错误处理
- 安装了ansys 后出现错误提示: could not create the file required to ......
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- 手把手教你:安装svn出现could not write value to key的错误
- This application failed to start because it could not find or load the Qt platform plugin “windows”错误解决方法
- Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
- struts2警告: The first TextProvider in the ValueStack could not locate the message resource with key
- 安装TortoiseSVN报could not write value to key的错误解决方案
- docker-compose出现错误:Creating fail with Could not find container for entity id <id>