You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ranmx <gi...@git.apache.org> on 2017/04/27 08:21:05 UTC

[GitHub] incubator-carbondata pull request #864: [CARBONDATA-989] decompress error wh...

GitHub user ranmx opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/864

    [CARBONDATA-989] decompress error while load 'gz' and 'bz2' data into\u2026

    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
    fixed a bug that may failed in coding style check.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ranmx/incubator-carbondata hotfix/c989

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/864.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 #864
    
----
commit e5c88a097fa5cd82343962cb6b56d27ea1ff7484
Author: ranmx <ra...@fosun.com>
Date:   2017-04-27T08:17:33Z

    [CARBONDATA-989] decompress 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #864: [CARBONDATA-989] decompress error while loa...

Posted by ranmx <gi...@git.apache.org>.
Github user ranmx commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/864
  
    It's very strange that with `mvn -U -e -X clean scalastyle:check checkstyle:check -Pspark-2.1 test` it can always pass all tests.
    However with `mvn -U clean scalastyle:check checkstyle:check -Pspark-2.1 test` it will failed with error:
    [ERROR] Failed to execute goal org.scalatest:scalatest-maven-plugin:1.0:test (test) on project carbondata-spark-common-test: There are test failures -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.scalatest:scalatest-maven-plugin:1.0:test (test) on project carbondata-spark-common-test: There are test failures
    	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures
    	at org.scalatest.tools.maven.TestMojo.execute(TestMojo.java:107)
    	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    	... 20 more



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #864: [CARBONDATA-989] decompress error while loa...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/864
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1825/



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---