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

genericqa commented on HDFS-13195:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} 
| {color:red} HDFS-13195 does not apply to trunk. Rebase required? Wrong 
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-13195 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12912016/HDFS-13195-branch2.7.patch
 |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/23198/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> DataNode conf page  cannot display the current value after reconfig
> -------------------------------------------------------------------
>
>                 Key: HDFS-13195
>                 URL: https://issues.apache.org/jira/browse/HDFS-13195
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.7.1
>            Reporter: maobaolong
>            Priority: Minor
>             Fix For: 2.7.1
>
>         Attachments: HDFS-13195-branch2.7.patch
>
>
> Now the branch-2.7 support dfs.datanode.data.dir reconfig, but after i 
> reconfig this key, the conf page's value is still the old config value.
> The reason is that:
> {code:java}
> public DatanodeHttpServer(final Configuration conf,
>       final DataNode datanode,
>       final ServerSocketChannel externalHttpChannel)
>     throws IOException {
>     this.conf = conf;
>     Configuration confForInfoServer = new Configuration(conf);
>     confForInfoServer.setInt(HttpServer2.HTTP_MAX_THREADS, 10);
>     HttpServer2.Builder builder = new HttpServer2.Builder()
>         .setName("datanode")
>         .setConf(confForInfoServer)
>         .setACL(new AccessControlList(conf.get(DFS_ADMIN, " ")))
>         .hostName(getHostnameForSpnegoPrincipal(confForInfoServer))
>         .addEndpoint(URI.create("http://localhost:0";))
>         .setFindPort(true);
>     this.infoServer = builder.build();
> {code}
> The confForInfoServer is a new configuration instance, while the dfsadmin 
> reconfig the datanode's config, the config result cannot reflect to 
> confForInfoServer, so we should use the datanode's conf.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to