Kengo Seki created HADOOP-14315:
-----------------------------------

             Summary: 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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to