You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, HDFS uses localhost in the graviton-ci-hive Docker. localhost is a loopback IP address in the LINUX,
The application (Trino) can't use this IP to access HDFS in the graviton-ci-hive Docker container.
We need to change these configurations:
Modify fs.defaultFS to hdfs://0.0.0.0:9000 in the /usr/local/hadoop/etc/hadoop/core-site.xml file.
Export 9000 port in the Dockerfile, Trino needs to access HDFS.
@diqiu50 I created this issue to fix the problem with Trino not being able to connect HDFS.
Please help me review the description of this issue. Thanks.
xunliu
changed the title
[Subtask] Accessing HDFS from outside the graviton-ci-hive Docker container
[Subtask] Accessing HDFS from outside the graviton-ci-hive Docker
Sep 14, 2023
…ker (#398)
### What changes were proposed in this pull request?
We need to change these configurations:
+ Modify `fs.defaultFS` to `hdfs://0.0.0.0:9000` in the
`/usr/local/hadoop/etc/hadoop/core-site.xml` file.
+ Export 9000 port in the Dockerfile, Trino needs to access HDFS.
#### Optimized
+ Remove `7180` port, It's an unused port. It's look like [Cloudera
manager
port](https://community.cloudera.com/t5/Support-Questions/Localhost-7180-Connection-Refused-Cloudera-Manager/td-p/55285)
+ Reorder port list in the Dockerfile, Docker run command, and docs.
+ Removed special tag name for docker run command, automatically using
`latest`.
### Why are the changes needed?
Currently, HDFS uses `localhost` in the graviton-ci-hive Docker.
`localhost` is a loopback IP address in the LINUX,
The application (Trino) can't use this IP to access HDFS in the
graviton-ci-hive Docker container.
Fix: #396
### Does this PR introduce _any_ user-facing change?
N/A
### How was this patch tested?
CI passed
Describe the subtask
Currently, HDFS uses
localhost
in the graviton-ci-hive Docker.localhost
is a loopback IP address in the LINUX,The application (Trino) can't use this IP to access HDFS in the graviton-ci-hive Docker container.
We need to change these configurations:
fs.defaultFS
tohdfs://0.0.0.0:9000
in the/usr/local/hadoop/etc/hadoop/core-site.xml
file.Optimized
latest
.Parent issue
#244
The text was updated successfully, but these errors were encountered: