Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2734

UnitTests skipped with errors when run with umask 0002

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I just figured out why the tests started with

      1. ant test

      had errors. I found in the logfiles that MiniDFSCluster for example expects dfs data directories that are not group-writable! So doing

      1. umask 0022 && ant test

      makes the tests run again.

      Alternatively on recent Ubuntu versions you can change USERGROUPS_ENAB in /etc/login.defs to "no"...

      This should be noted somewhere in the docs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            johannesch Johannes Schwenk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: