Quantcast
Viewing all articles
Browse latest Browse all 3435

File References in Java UDF

I have uploaded to the Sandbox files I need to read from inside a Java UDF.
Trouble is, I have no idea of the path to the files so they can be opened.
I can’t seem to simply use the file name, as I do with the LOAD command in pig.

Moreover, I don’t have the source code to the package that actually opens and processes the file, so I can’t take any special steps to read the data,
Best I can do is pass the file path to the constructor and hope for the best.

Can more learned colleagues offer any help?
Thanks in advance.


Viewing all articles
Browse latest Browse all 3435

Trending Articles