XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4, 1.5.0
    • Fix Version/s: 1.4.5, 1.5.1
    • Component/s: test
    • Labels:

      Description

      When running a functional test under MR:

      2014-02-18 12:13:48,296 INFO org.apache.accumulo.test.functional.RunTests: More:   File "test/system/auto/run.py", line 30, in <module>
          from TestUtils import ACCUMULO_HOME, ACCUMULO_DIR, COBERTURA_HOME, findCoberturaJar
        File "/usr/lib/accumulo/test/system/auto/TestUtils.py", line 45, in <module>
          ACCUMULO_DIR = "/user/" + os.getenv('LOGNAME') + "/accumulo-" + ID
      TypeError: cannot concatenate 'str' and 'NoneType' objects
      

      Originally noted by Jeff Field:

      The cause of the bug is that the os.getenv('LOGNAME') function doesn't work because LOGNAME isn't defined for the shell the mapreduce job runs as (probably because either there isn't a parent bash shell or because that shell is non-interactive).

      Error occurs under 1.4.4 and 1.5.0.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhavanki Bill Havanki
                Reporter:
                bhavanki Bill Havanki
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: