Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14315

Python example in the rack awareness document doesn't work due to bad indentation

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Running that example fails with:

        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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sekikn Kengo Seki
                Reporter:
                sekikn Kengo Seki
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: