You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mrunit.apache.org by Dan Filimon <da...@gmail.com> on 2012/11/10 11:28:32 UTC
Fwd: MRUnit mvn package fails
Hi everyone,
I cloned the MRUnit git repo from
http://git-wip-us.apache.org/repos/asf/mrunit.git and am on the remote
trunk branch.
I can't seem to run mvn package because some tests fail with:
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
tar: Unrecognized archive format
testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache):
tar: Unrecognized archive format
I've attached the complete log. Any help is greatly appreciated! :D
Re: MRUnit mvn package fails
Posted by Dan Filimon <da...@gmail.com>.
Opened [1].
And you're right, I'm not on the dev list. Subscribing now.
[1] https://issues.apache.org/jira/browse/MRUNIT-160
On Sun, Nov 11, 2012 at 1:38 PM, Dave Beech <da...@paraliatech.com> wrote:
>
> Hi Dan,
>
> Thanks for reporting this. Could you please file an issue on JIRA?
>
> I've seen you're on Mac OS X (10.8.2) from the log. Could you let me know
> which version of "tar" you have on your system?
>
> We use code from Hadoop itself to do the tar extraction (FileUtil.unTar) so
> I think this is probably environmental rather than a problem in mrunit
> itself.
>
> Cheers,
> Dave
>
> (replying to Dan directory also just in case he's not on the dev list..)
>
>
> On 10 November 2012 16:21, Brock Noland <br...@cloudera.com> wrote:
>>
>> Hi,
>>
>> This should be directed at the dev list. What OS are you on?
>>
>> Brock
>>
>> On Sat, Nov 10, 2012 at 4:28 AM, Dan Filimon
>> <da...@gmail.com> wrote:
>> > Hi everyone,
>> >
>> > I cloned the MRUnit git repo from
>> > http://git-wip-us.apache.org/repos/asf/mrunit.git and am on the remote
>> > trunk branch.
>> > I can't seem to run mvn package because some tests fail with:
>> >
>> >
>> > testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache):
>> > tar: Unrecognized archive format
>> >
>> > I've attached the complete log. Any help is greatly appreciated! :D
>>
>>
>>
>> --
>> Apache MRUnit - Unit testing MapReduce -
>> http://incubator.apache.org/mrunit/
>
>
Re: MRUnit mvn package fails
Posted by Dave Beech <da...@paraliatech.com>.
Hi Dan,
Thanks for reporting this. Could you please file an issue on JIRA?
I've seen you're on Mac OS X (10.8.2) from the log. Could you let me know
which version of "tar" you have on your system?
We use code from Hadoop itself to do the tar extraction (FileUtil.unTar) so
I think this is probably environmental rather than a problem in mrunit
itself.
Cheers,
Dave
(replying to Dan directory also just in case he's not on the dev list..)
On 10 November 2012 16:21, Brock Noland <br...@cloudera.com> wrote:
> Hi,
>
> This should be directed at the dev list. What OS are you on?
>
> Brock
>
> On Sat, Nov 10, 2012 at 4:28 AM, Dan Filimon
> <da...@gmail.com> wrote:
> > Hi everyone,
> >
> > I cloned the MRUnit git repo from
> > http://git-wip-us.apache.org/repos/asf/mrunit.git and am on the remote
> > trunk branch.
> > I can't seem to run mvn package because some tests fail with:
> >
> >
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache):
> > tar: Unrecognized archive format
> >
> > I've attached the complete log. Any help is greatly appreciated! :D
>
>
>
> --
> Apache MRUnit - Unit testing MapReduce -
> http://incubator.apache.org/mrunit/
>
Re: MRUnit mvn package fails
Posted by Brock Noland <br...@cloudera.com>.
Hi,
This should be directed at the dev list. What OS are you on?
Brock
On Sat, Nov 10, 2012 at 4:28 AM, Dan Filimon
<da...@gmail.com> wrote:
> Hi everyone,
>
> I cloned the MRUnit git repo from
> http://git-wip-us.apache.org/repos/asf/mrunit.git and am on the remote
> trunk branch.
> I can't seem to run mvn package because some tests fail with:
>
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
>
> I've attached the complete log. Any help is greatly appreciated! :D
--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/
Re: MRUnit mvn package fails
Posted by Brock Noland <br...@cloudera.com>.
Hi,
This should be directed at the dev list. What OS are you on?
Brock
On Sat, Nov 10, 2012 at 4:28 AM, Dan Filimon
<da...@gmail.com> wrote:
> Hi everyone,
>
> I cloned the MRUnit git repo from
> http://git-wip-us.apache.org/repos/asf/mrunit.git and am on the remote
> trunk branch.
> I can't seem to run mvn package because some tests fail with:
>
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.mapreduce.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapperUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToReducerUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
> testAddCacheArchiveToMapReduceUsingDriverMethod2(org.apache.hadoop.mrunit.TestDistributedCache):
> tar: Unrecognized archive format
>
> I've attached the complete log. Any help is greatly appreciated! :D
--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/