incubator-accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <david.medin...@gmail.com>
Subject Re: Compiling v1.3.5 With openjdk-7 on Ubuntu
Date Fri, 30 Dec 2011 16:45:23 GMT
Last night I was successful in running the Accumulo shell inside a
VirtualBox instance. I am writing a gist now documenting the steps
that I followed and will post those steps to the mailing list soon.

On Fri, Dec 30, 2011 at 11:25 AM, Adam Fuchs <adam.p.fuchs@ugov.gov> wrote:
> David,
>
> It looks like you're operating somewhere in between the 1.3.5 and trunk
> versions. The tests that are failing for you don't exist in 1.3.5, and they
> seem to be complaining about methods, like
> ArgumentChecker.strictlyPositive(I)V, that don't exist in 1.3.5.
>
> I ran the following four commands from a tmp directory successfully:
>   git clone https://github.com/apache/accumulo.git
>   cd accumulo
>   git checkout 1.3.5
>   mvn package
>
> Not sure what happened on your system. My system is a macbook pro with git
> 1.7.7.4, mvn 3.0.3, and sun's java 1.6.0_29. Are there any other clues you
> can find? Can you verify that the "git checkout 1.3.5" operation completed
> successfully before you ran "mvn package"? Are the operations happening in
> parallel, perhaps?
>
> Adam
>
>
> On Wed, Dec 28, 2011 at 5:12 PM, David Medinets <david.medinets@gmail.com>
> wrote:
>>
>> I ran into zero issues when I compiled the trunk but have run into one
>> failure and 47 errors when making the accumulo v1.3.5 package. Would
>> it help anyone if I provided details about these issues? Here is the
>> list of tests that caused the problems. Below the list I show two of
>> the errors. And below those are the build steps.
>>
>> Failed tests:
>>
>>  testEmptyWrite(org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest)
>>
>> Tests in error:
>>  testIntersect(org.apache.accumulo.core.client.ClientSideIteratorTest)
>>  testVersioning(org.apache.accumulo.core.client.ClientSideIteratorTest)
>>  test1(org.apache.accumulo.core.iterators.user.VersioningIteratorTest)
>>  test3(org.apache.accumulo.core.iterators.user.VersioningIteratorTest)
>>  test4(org.apache.accumulo.core.iterators.user.VersioningIteratorTest)
>>  test5(org.apache.accumulo.core.iterators.user.VersioningIteratorTest)
>>
>>  testAddRemoveIterator(org.apache.accumulo.core.client.impl.ScannerOptionsTest)
>>
>>  testIteratorConflict(org.apache.accumulo.core.client.impl.ScannerOptionsTest)
>>  test(org.apache.accumulo.core.iterators.user.GrepIteratorTest)
>>  testBasic(org.apache.accumulo.core.iterators.user.LargeRowFilterTest)
>>  testSeek(org.apache.accumulo.core.iterators.user.LargeRowFilterTest)
>>  testSeek2(org.apache.accumulo.core.iterators.user.LargeRowFilterTest)
>>
>>  testCompaction(org.apache.accumulo.core.iterators.user.LargeRowFilterTest)
>>
>>  testSuppressInner(org.apache.accumulo.core.iterators.user.LargeRowFilterTest)
>>  test1(org.apache.accumulo.core.iterators.user.RegExFilterTest)
>>  test1(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test2(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test3(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test4(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test5(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test6(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test7(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  sumArrayTest(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  maxMinTest(org.apache.accumulo.core.iterators.user.CombinerTest)
>>  test2(org.apache.accumulo.core.iterators.user.FilterTest)
>>  test2a(org.apache.accumulo.core.iterators.user.FilterTest)
>>  test1neg(org.apache.accumulo.core.iterators.user.FilterTest)
>>  testTimestampFilter(org.apache.accumulo.core.iterators.user.FilterTest)
>>
>>  test(org.apache.accumulo.core.client.mapreduce.AccumuloRowInputFormatTest)
>>  testExactRange(org.apache.accumulo.core.data.RangeTest)
>>  testPrefixRange(org.apache.accumulo.core.data.RangeTest)
>>  testPrefix(org.apache.accumulo.core.data.RangeTest)
>>
>>  testSet(org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest)
>>
>>  testUnset(org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest)
>>  test1(org.apache.accumulo.core.iterators.system.TimeSettingIteratorTest)
>>
>>  testAttachIterator(org.apache.accumulo.core.client.admin.TableOperationsHelperTest)
>>  test1(org.apache.accumulo.core.iterators.user.IntersectingIteratorTest)
>>  test2(org.apache.accumulo.core.iterators.user.IntersectingIteratorTest)
>>  test3(org.apache.accumulo.core.iterators.user.IntersectingIteratorTest)
>>  test4(org.apache.accumulo.core.iterators.user.IntersectingIteratorTest)
>>
>>  testWithBatchScanner(org.apache.accumulo.core.iterators.user.IntersectingIteratorTest)
>>  test1(org.apache.accumulo.core.client.admin.FindMaxTest)
>>  test1(org.apache.accumulo.core.file.rfile.MultiLevelIndexTest)
>>  test1(org.apache.accumulo.core.iterators.user.IndexedDocIteratorTest)
>>  test2(org.apache.accumulo.core.iterators.user.IndexedDocIteratorTest)
>>  test3(org.apache.accumulo.core.iterators.user.IndexedDocIteratorTest)
>>  test4(org.apache.accumulo.core.iterators.user.IndexedDocIteratorTest)
>>
>> Tests run: 358, Failures: 1, Errors: 47, Skipped: 0
>>
>>
>>
>> testIntersect(org.apache.accumulo.core.client.ClientSideIteratorTest)
>> Time elapsed: 0.021 sec  <<< ERROR!
>> java.lang.IncompatibleClassChangeError: Found class
>> org.apache.accumulo.core.client.admin.TableOperations, but interface
>> was expected
>>        at
>> org.apache.accumulo.core.client.ClientSideIteratorTest.testIntersect(ClientSideIteratorTest.java:74)
>>
>>
>> test1(org.apache.accumulo.core.iterators.user.VersioningIteratorTest)
>> Time elapsed: 0.011 sec  <<< ERROR!
>> java.lang.NoSuchMethodError:
>> org.apache.accumulo.core.util.ArgumentChecker.strictlyPositive(I)V
>>        at
>> org.apache.accumulo.core.client.IteratorSetting.setPriority(IteratorSetting.java:70)
>>        at
>> org.apache.accumulo.core.client.IteratorSetting.<init>(IteratorSetting.java:191)
>>
>> Build Process
>> --------------------
>> The EC2 instance was started with Chef.
>>
>> export IMAGE=ami-a562a9cc
>> export INSTANCE_TYPE=t1.micro
>>
>> cat /etc/lsb-release
>>  DISTRIB_ID=Ubuntu
>>  DISTRIB_RELEASE=11.10
>>  DISTRIB_CODENAME=oneiric
>>  DISTRIB_DESCRIPTION="Ubuntu 11.10"
>>
>> sudo apt-get update
>> sudo apt-get upgrade
>> sudo apt-get install git
>> sudo apt-get install openjdk-7-jdk
>> sudo apt-get install maven2
>> sudo update-alternatives --config java
>> export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
>> mkdir workspace
>> cd workspace
>> git clone https://github.com/apache/accumulo.git
>> cd accumulo
>> git checkout 1.3.5
>> mvn package
>
>

Mime
View raw message