pitrou commented on PR #43582:
URL: https://github.com/apache/arrow/pull/43582#issuecomment-2270829929

   Hmm, apparently, the newer `docker compose` command does not work exactly 
like the old `docker-compose`. It seems the hostname `impala` is not available 
to connect to from the main Docker container:
   
https://github.com/ursacomputing/crossbow/actions/runs/10263540816/job/28395608131#step:7:5727
   ```
   
   hdfsBuilderConnect(forceNewInstance=1, nn=impala, port=8020, 
kerbTicketCachePath=(NULL), userName=hdfs) error:
   java.lang.IllegalArgumentException: java.net.UnknownHostException: impala
        at 
org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:443)
   /arrow/cpp/src/arrow/io/hdfs_test.cc:122: Failure
        at 
org.apache.hadoop.hdfs.NameNodeProxiesClient.createProxyWithClientProtocol(NameNodeProxiesClient.java:132)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:351)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:285)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:164)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3242)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:121)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3291)
        at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:3265)
        at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:523)
        at org.apache.hadoop.fs.FileSystem$2.run(FileSystem.java:493)
        at org.apache.hadoop.fs.FileSystem$2.run(FileSystem.java:490)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1893)
        at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:490)
   Caused by: java.net.UnknownHostException: impala
   ```
   
   @kou @assignUser Any idea how we could fix this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to