hive - Beeline CLI 创建 txt 文件命令?
问题描述
我最近开始使用 Beelines CLI 与 Hive 服务器交互。问题是创建文件命令对我来说失败了。
我尝试了以下方法:
add FILE[S] 'example.txt';
返回此错误:
Error: Error while processing statement: null (state=,code=1)
解决方案
您应该从路径中删除引号。IE
beeline> add file example.txt;
还要确保您只是将文件添加到正在运行的服务器配置单元。
推荐阅读
- winapi - 使用 Win32 API 的 XZip 库创建 zip 文件
- java - java.lang.RuntimeException:无法实例化活动 ComponentInfo - 不搜索活动
- c++ - 在 C++ 中的同一套接字上接收单播和多播
- python - 测量多个向量之间的角度 - Python
- ubuntu - Nuxt Deploy 不会结束 Ubuntu
- c++ - 实现 operator[] / iterator 来处理性能问题的方法是什么?
- javascript - 如何使用 javascript 将 .txt 文件中的文本插入 HTML 元素?
- airflow - 如果 DAG 成功运行,如何从命令行运行 Airflow 回填?
- python - Python中麻烦的继承问题
- django - djang rest框架中的序列化器的自定义查询