GitHub user piyushnarang opened a pull request:
https://github.com/apache/tez/pull/11
TEZ-3348: NullPointerException in Tez MROutput while trying to write using
Parquet's DeprecatedParquetOutputFormat
Proposed fix for the reported jira. Added a couple of unit tests as well.
Seems like if you use the new APIs, this isn't an issue (as they tend to read
`FileOutputFormat.getDefaultWorkFile` which isn't checking the workOutputPath.
In case of the old APIs though without this fix the unit test will fail.
I added a unit test for the new API for completeness.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/piyushnarang/tez master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tez/pull/11.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11
----
commit 6f3e0f4f5718c01f247915f1b84e28c75b2dc83b
Author: Piyush Narang <[email protected]>
Date: 2016-07-14T01:13:45Z
Move initCommitter call up in MROutput
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---