hadoop - How can i register classpath files in pig script? -
is there way add/register classpath property files (like eg: database.properties) in pig script application can read it. note: adding in hadoop/pig_classpath not working in distribution.
how executing script , needs? (file in frontend, backend, both,...).
try packaging .properties in .jar , registering .jar in pig script (this if need .properties read in backend).
if need .properties in frontend (executing in grunt) have put .properties in classpath.
and in need in frontend , backend, both things told: .jar + classpath.
Comments
Post a Comment