[jira] [Commented] (HDFS-9179) fs.defaultFS should not be used on the server side

2016-03-10 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15189523#comment-15189523
 ] 

Allen Wittenauer commented on HDFS-9179:


bq. The justification was that the NN service URI configuration is more 
complicated than makes sense. First we look for a servicerpc-address. Failing 
at that, we look for an rpc-address. Failing at that we fall back to the 
defaultFS. And things just get worse with HA.

I think the vast, vast, vast majority of end users would actually disagree.  

bq. I grant that those are fairly weak reasons to do something that's going to 
cause lots of things to break, but it would make the configuration logic 
cleaner.

Why should people do this work when computers have been doing it fine for quite 
a while now?  "cleaner logic" for actual labor is a terrible trade off. 

Although, I'd *love* to be in the room when this exchange happens:

U: "You mean, I have to set all of these server configs and then set a bunch of 
client configs that point to the exact same stuff?  Why can't I just set one 
and be done with it?  I'm only running a single, simple cluster on AWS."

D: "No, you need to set multiple because otherwise our coding logic is too hard 
to understand."



> fs.defaultFS should not be used on the server side
> --
>
> Key: HDFS-9179
> URL: https://issues.apache.org/jira/browse/HDFS-9179
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 2.7.1
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
>
> Currently the namenode will bind to the address given by defaultFS if no 
> rpc-address is given.  That behavior is an evolutionary artifact and should 
> be removed.  Instead, the rpc-address should be a required setting for the 
> server side configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-9179) fs.defaultFS should not be used on the server side

2016-03-09 Thread Daniel Templeton (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15188302#comment-15188302
 ] 

Daniel Templeton commented on HDFS-9179:


The justification was that the NN service URI configuration is more complicated 
than makes sense.  First we look for a servicerpc-address.  Failing at that, we 
look for an rpc-address.  Failing at that we fall back to the defaultFS.  And 
things just get worse with HA.

I also find it awkward that we set the server's address according to a 
client-side configuration setting.  This param gets used in the scenario where 
the server can't figure out who it's supposed to be (no proper 
servicerpc-address or rpc-address), so it falls back to whom it thinks the 
client thinks it should be.  That seems off to me.

I grant that those are fairly weak reasons to do something that's going to 
cause lots of things to break, but it would make the configuration logic 
cleaner.  I did mark it as an incompatible change. :)

[~atm], anything you want to add?

> fs.defaultFS should not be used on the server side
> --
>
> Key: HDFS-9179
> URL: https://issues.apache.org/jira/browse/HDFS-9179
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 2.7.1
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
>
> Currently the namenode will bind to the address given by defaultFS if no 
> rpc-address is given.  That behavior is an evolutionary artifact and should 
> be removed.  Instead, the rpc-address should be a required setting for the 
> server side configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-9179) fs.defaultFS should not be used on the server side

2015-10-01 Thread Steve Loughran (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14939505#comment-14939505
 ] 

Steve Loughran commented on HDFS-9179:
--

Dan, you're going to break so much stuff here people will hate you forever

> fs.defaultFS should not be used on the server side
> --
>
> Key: HDFS-9179
> URL: https://issues.apache.org/jira/browse/HDFS-9179
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 2.7.1
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
>
> Currently the namenode will bind to the address given by defaultFS if no 
> rpc-address is given.  That behavior is an evolutionary artifact and should 
> be removed.  Instead, the rpc-address should be a required setting for the 
> server side configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HDFS-9179) fs.defaultFS should not be used on the server side

2015-09-30 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14938856#comment-14938856
 ] 

Allen Wittenauer commented on HDFS-9179:


bq.  That behavior is an evolutionary artifact and should be removed. 

Why? It's seems like a major win for small setups to be able to configure one 
address instead of three (client,server rpc, server http).

> fs.defaultFS should not be used on the server side
> --
>
> Key: HDFS-9179
> URL: https://issues.apache.org/jira/browse/HDFS-9179
> Project: Hadoop HDFS
>  Issue Type: Improvement
>Affects Versions: 2.7.1
>Reporter: Daniel Templeton
>Assignee: Daniel Templeton
>
> Currently the namenode will bind to the address given by defaultFS if no 
> rpc-address is given.  That behavior is an evolutionary artifact and should 
> be removed.  Instead, the rpc-address should be a required setting for the 
> server side configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)