启动 Presto CLI 时抛出权限拒绝错误。我曾经使用以下命令启动 PrestoCLI,
Presto$ /home/reddy/presto/presto --server localhost:8080 --catalog hive --schema 默认
在启动 PrestoCLI 之前,我会安装 Presto 和发现服务。
任何人都可以在这个问题上帮助我,不胜感激。
启动 Presto CLI 时抛出权限拒绝错误。我曾经使用以下命令启动 PrestoCLI,
Presto$ /home/reddy/presto/presto --server localhost:8080 --catalog hive --schema 默认
在启动 PrestoCLI 之前,我会安装 Presto 和发现服务。
任何人都可以在这个问题上帮助我,不胜感激。
根据CLI 的安装说明,它需要通过运行使其可执行chmod +x
,就像任何其他 UNIX 可执行文件一样。
尝试像这样以管理员身份运行它:
su <yourpassword>
./presto --server localhost:8080 --catalog hive --schema default