[
https://issues.apache.org/jira/browse/HADOOP-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972070#comment-15972070
]
ASF GitHub Bot commented on HADOOP-14315:
-----------------------------------------
GitHub user sekikn opened a pull request:
https://github.com/apache/hadoop/pull/214
HADOOP-14315: Python example in the rack awareness document doesn't work
due to bad indentation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sekikn/hadoop HADOOP-14315
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/214.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #214
----
commit 763ae5009bbc790188281c91c8d822983a5c0714
Author: Kengo Seki <[email protected]>
Date: 2017-04-18T03:29:58Z
HADOOP-14315: Python example in the rack awareness document doesn't work
due to bad indentation
----
> 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]