[
https://issues.apache.org/jira/browse/HADOOP-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka updated HADOOP-14315:
-----------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.0.0-alpha3
2.8.1
2.9.0
Status: Resolved (was: Patch Available)
Committed this to trunk, branch-2, branch-2.8, and branch-2.8.1. Thanks
[~sekikn] for the contribution!
> Python example in the rack awareness document doesn't work due to bad
> indentation
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-14315
> URL: https://issues.apache.org/jira/browse/HADOOP-14315
> Project: Hadoop Common
> Issue Type: Bug
> Components: documentation
> Reporter: Kengo Seki
> Assignee: Kengo Seki
> Priority: Minor
> Fix For: 2.9.0, 2.8.1, 3.0.0-alpha3
>
>
> Running that example fails with:
> {code}
> File "example.py", line 28
> address = '{0}/{1}'.format(ip, netmask) # format
> address string so it looks like 'ip/netmask' to make netaddr work
> ^
> IndentationError: expected an indented block
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]