Quantcast

[jira] [Created] (HADOOP-14315) Python example in the rack awareness document doesn't work due to bad indentation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (HADOOP-14315) Python example in the rack awareness document doesn't work due to bad indentation

JIRA jira@apache.org
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: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...