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

    XMLWordPrintableJSON

Details

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: