sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1053) Fix sqoop to work with Hadoop 2.0.4 alpha
Date Wed, 22 May 2013 14:11:20 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664130#comment-13664130
] 

Hudson commented on SQOOP-1053:
-------------------------------

Integrated in Sqoop-ant-jdk-1.6-hadoop100 #639 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/639/])
    SQOOP-1053: Fix sqoop to work with Hadoop 2.0.4 alpha (Revision ead68ad37e1f7ecf03cba4718acbde8282887c9b)

     Result = SUCCESS
jarcec : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=ead68ad37e1f7ecf03cba4718acbde8282887c9b
Files : 
* src/test/com/cloudera/sqoop/TestCompression.java
* build.xml

                
> Fix sqoop to work with Hadoop 2.0.4 alpha
> -----------------------------------------
>
>                 Key: SQOOP-1053
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1053
>             Project: Sqoop
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.4.3
>         Environment: Hadoop 2.0.4
>            Reporter: Venkat Ranganathan
>            Assignee: Venkat Ranganathan
>             Fix For: 1.4.4
>
>         Attachments: SQOOP-1053.diff.2
>
>
> I updated the build and ivy settings to build Sqoop with Hadoop 2.0.4 alpha.
> One of the compression tests (testBzip2TextCompression) fails with the following stack
trace
> Testcase: testBzip2TextCompression took 1.21 sec
>         Caused an ERROR
> null
> java.lang.NullPointerException
>         at org.apache.hadoop.io.compress.bzip2.Bzip2Factory.isNativeBzip2Loaded(Bzip2Factory.java:54)
>         at org.apache.hadoop.io.compress.bzip2.Bzip2Factory.getBzip2Decompressor(Bzip2Factory.java:123)
>         at org.apache.hadoop.io.compress.BZip2Codec.createDecompressor(BZip2Codec.java:250)
>         at org.apache.hadoop.io.compress.BZip2Codec.createInputStream(BZip2Codec.java:156)
>         at com.cloudera.sqoop.TestCompression.runTextCompressionTest(TestCompression.java:170)
>         at com.cloudera.sqoop.TestCompression.testBzip2TextCompression(TestCompression.java:189)
> The reason is in 2.0.4, with native BZip2 codec, the configuration is checked and we
don't do setConf for BZip2 codec.   Fixed the test to set the configuration irrespective of
whether it was passed in or we created the codec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message