Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pail can't have relative paths #6

Open
brugidou opened this issue Feb 27, 2012 · 0 comments
Open

Pail can't have relative paths #6

brugidou opened this issue Feb 27, 2012 · 0 comments

Comments

@brugidou
Copy link

I encountered this issue while attempting to use the TimeSliceStore with a relative path for local debugging.

TimeSliceStore.create("relative-dir");

calls Pail.create() and Pail.getSpecAndRoot() at https://github.com/nathanmarz/dfs-datastores/blob/master/src/jvm/backtype/hadoop/pail/Pail.java#L187 gives a NullRef exception because calling Path.getParent() seems to return a null when you go above the current directory.

I wish I could provide with a PR and a fix but i'm not familiar enough yet with Cascading and the Hadoop API and didn't take enough time to look into it.

Thanks for the work though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant