GitHub user ranmx opened a pull request:
https://github.com/apache/incubator-carbondata/pull/858
[CARBONDATA-989] decompress error while load 'gz' and 'bz2' data into table
When decompress 'gz' and 'bz2' file through LOAD DATA command, exception
occurs:
java.lang.NullPointerException
at
org.apache.hadoop.io.compress.bzip2.Bzip2Factory.isNativeBzip2Loaded(Bzip2Factory.java:54)
This is due to the fact that the decompress codec should be configured
while building.
I modified the code to add configuration before building codec object and
tested with my real data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ranmx/incubator-carbondata
hotfix/CARBONDATA-989
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-carbondata/pull/858.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 #858
----
commit ac9229b1c022d2f818a199b2edb2c3c4589f4f0b
Author: ranmx <[email protected]>
Date: 2017-04-26T09:38:03Z
[CARBONDATA-989] decompressing error while load 'gz' and 'bz2' data into
table
----
---
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.
---