You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Adam Soroka <aj...@apache.org> on 2021/10/08 14:43:52 UTC

Multihomed NFS?

Hello Hadoop!

I am trying to use HDFS NFS, but I'm running into a problem. The server in question is multihomed, and NFS is binding to the default IP address, not to the one(s) I want it to bind to. As far as I can tell from this code:
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java

and the absence of any appropriate-looking key here:
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java

this is a hard-coded assumption. I hope I am wrong! 

Can anyone confirm (or better, deny!) that this is the case? If so, would a Jira ticket and patch be appropriate? Can anyone suggest a workaround? 

Thanks very much for any help or advice!

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org


Re: Multihomed NFS?

Posted by Adam Soroka <aj...@apache.org>.
Filed as HADOOP-17969. I'll try to offer a patch there.

Adam

On 2021/10/08 14:43:52, Adam Soroka <aj...@apache.org> wrote: 
> Hello Hadoop!
> 
> I am trying to use HDFS NFS, but I'm running into a problem. The server in question is multihomed, and NFS is binding to the default IP address, not to the one(s) I want it to bind to. As far as I can tell from this code:
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java
> 
> and the absence of any appropriate-looking key here:
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
> 
> this is a hard-coded assumption. I hope I am wrong! 
> 
> Can anyone confirm (or better, deny!) that this is the case? If so, would a Jira ticket and patch be appropriate? Can anyone suggest a workaround? 
> 
> Thanks very much for any help or advice!
> 
> Adam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
For additional commands, e-mail: user-help@hadoop.apache.org