ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Sailappan (JIRA)" <>
Subject [jira] [Updated] (AMBARI-21232) Determination of defaultFS with WebHDFS enabled
Date Mon, 12 Jun 2017 21:23:00 GMT


Sridhar Sailappan updated AMBARI-21232:
    Attachment: Patch_AmbariViewUtils_WebHDFS.txt

> Determination of defaultFS with WebHDFS enabled
> -----------------------------------------------
>                 Key: AMBARI-21232
>                 URL:
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Sridhar Sailappan
>         Attachments: Patch_AmbariViewUtils_WebHDFS.txt
> In Ambari View Utils , the determination logic for the value of defaultFS when WebHDFS
is enabled, needs to consider the current property value of defaultFS. Please see attached
patch for the context.
> If the existing configuration for the defaultFS URI already has the protocol specified
as webhdfs or swebhdfs, the URI should be used as provided and a new value should not be constructed.
Constructing a new value in a such a scenario may lead to unexpected behavior if the Namenode
has different host-port settings for the HTTP and WebHDFS access.
> The patch also addresses the following code cleanup:
> 1)	Fix variable names httpAddr and httpsAddr (current implementation has the naming interchanged)

> 2)	Add null value check for httpAddr before assignment to hostWithPort

This message was sent by Atlassian JIRA

View raw message