Skip to content

GuineaPig assumes there's only one file needed to uploaded into hdfs in addition to itself, which could cause errors. #1

@normanyahq

Description

@normanyahq

https://github.com/TeamCohen/GuineaPig/blob/master/guineapig.py#L1360

        self._shippedFiles = []
        self._gpigSourceFile = sys.argv[0]
        self.ship(GPig.MY_LOC)
        self.ship(self._gpigSourceFile)

When I was writing homework2 in GuineaPig, I wrote a separate file in addition to nb.py and import it in the nb.py. However, that file was not uploaded to the server, causing the map-reduce task failure, which was really hard to debug.

A fix would be upload *.py from the directory of sys.argv[0]

BTW, the GPig version on autolab is not 1.3.5, which doesn't contain combiner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions