hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12473) Change host JSON file format
Date Fri, 15 Sep 2017 21:06:00 GMT
Ming Ma created HDFS-12473:

             Summary: Change host JSON file format
                 Key: HDFS-12473
                 URL: https://issues.apache.org/jira/browse/HDFS-12473
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ming Ma

The existing host JSON file format doesn't have a top-level token.

  {"hostName": "host1"}
  {"hostName": "host2", "upgradeDomain": "ud0"}
  {"hostName": "host3", "adminState": "DECOMMISSIONED"}
  {"hostName": "host4", "upgradeDomain": "ud2", "adminState": "DECOMMISSIONED"}
  {"hostName": "host5", "port": 8090}
  {"hostName": "host6", "adminState": "IN_MAINTENANCE"}
  {"hostName": "host7", "adminState": "IN_MAINTENANCE", "maintenanceExpireTimeInMS": "112233"}

Instead, to conform with the JSON standard it should be like

  {"hostName": "host1"},
  {"hostName": "host2", "upgradeDomain": "ud0"},
  {"hostName": "host3", "adminState": "DECOMMISSIONED"},
  {"hostName": "host4", "upgradeDomain": "ud2", "adminState": "DECOMMISSIONED"},
  {"hostName": "host5", "port": 8090},
  {"hostName": "host6", "adminState": "IN_MAINTENANCE"},
  {"hostName": "host7", "adminState": "IN_MAINTENANCE", "maintenanceExpireTimeInMS": "112233"}

This message was sent by Atlassian JIRA

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

View raw message