[
https://issues.apache.org/jira/browse/HDFS-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-7154:
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.6.0
Status: Resolved (was: Patch Available)
committed. Thanks, Eddy.
> Fix returning value of starting reconfiguration task
> ----------------------------------------------------
>
> Key: HDFS-7154
> URL: https://issues.apache.org/jira/browse/HDFS-7154
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Affects Versions: 3.0.0, 2.6.0
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Fix For: 2.6.0
>
> Attachments: HDFS-7154.000.patch, HDFS-7154.001.patch,
> HDFS-7154.001.patch, HDFS-7154.001.patch
>
>
> Running {{hdfs dfsadmin -reconfig ... start}} mistakenly returns {{-1}}
> (255). It is due to {{DFSAdmin#startReconfiguration()}} returns wrong exit
> code. It is expected to return 0 to indicate success.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)