[
https://issues.apache.org/jira/browse/HADOOP-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972304#comment-15972304
]
Akira Ajisaka commented on HADOOP-14315:
----------------------------------------
+1
> 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
>
> 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]