Skip to content

Enables KDEJobRunner to add JARs to Job classpath from configured array of HDFS paths#485

Merged
rfecher merged 1 commit intomasterfrom
GEOWAVE-484
Aug 2, 2015
Merged

Enables KDEJobRunner to add JARs to Job classpath from configured array of HDFS paths#485
rfecher merged 1 commit intomasterfrom
GEOWAVE-484

Conversation

@ewilson-radblue
Copy link
Copy Markdown
Contributor

See #484

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where does the value for this 'geowave.classpath.jars' get in the job configuration in the first place?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm able to pass it in from the invoking application. For example:

final Configuration conf = new Configuration();
final String[] hdfsPaths = new String[] {...};
conf.setStrings(KDEJobRunner.GEOWAVE_CLASSPATH_JARS, hdfsPaths);

final String[] args = new String[] {...};
ToolRunner.run(
    conf,
    new KDEJobRunner(),
    args);

So my application will upload the JARs to HDFS and just pass the paths in through the configuration.

rfecher added a commit that referenced this pull request Aug 2, 2015
Enables KDEJobRunner to add JARs to Job classpath from configured array of HDFS paths
@rfecher rfecher merged commit 61c77a9 into master Aug 2, 2015
@rfecher rfecher deleted the GEOWAVE-484 branch August 2, 2015 00:20
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

Successfully merging this pull request may close these issues.

2 participants