Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Paul Elschot-2
Dear readers,

When I update my working copy of lucene core trunk to current latest rev
1527154, ant compile-test fails with this message:

...
lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17:
error: cannot find symbol
     [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Han Jiang
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China
Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Paul Elschot-2
Hi Han,

I just reproduced it three times on my working copy in the directory trunk/lucene/core
with ant clean in the command sequence:

svn update -r {20130926}
ant clean
ant compile-test                     # build successful

svn update -r 1527154
ant clean
ant compile-test                     # build failed


In my working copy  svn status currently produces this:

M       src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M       src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M       src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M       src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java

and I don't expect these have an influence.



To be complete, on revision 1526316 (of the 26th) I also got this output (slightly edited) once:

compile-core:
    [mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
    [javac] Compiling 672 source files to ... lucene/trunk/lucene/build/core/classes/java
    [javac] An exception has occurred in the compiler (1.7.0_21). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AbstractMethodError
....

I could not reproduce that one with four more attempts, so I do hope that that was a one time glitch.

But it is strange that on my machine:
javac -version

produces:
javac 1.7.0_40

and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?

Regards,
Paul Elschot


P.S.
java -version

produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)


On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China

Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Han Jiang
Paul, a quick hack (e.g. for your development), is to run the ant command in /lucene instead of /lucene/core, I don't know why that fails, and hope someone can explain this, though :)


On Sun, Sep 29, 2013 at 9:54 PM, Paul Elschot <[hidden email]> wrote:
Hi Han,

I just reproduced it three times on my working copy in the directory trunk/lucene/core
with ant clean in the command sequence:

svn update -r {20130926}
ant clean
ant compile-test                     # build successful

svn update -r 1527154
ant clean
ant compile-test                     # build failed


In my working copy  svn status currently produces this:

M       src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M       src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M       src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M       src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java

and I don't expect these have an influence.



To be complete, on revision 1526316 (of the 26th) I also got this output (slightly edited) once:

compile-core:
    [mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
    [javac] Compiling 672 source files to ... lucene/trunk/lucene/build/core/classes/java
    [javac] An exception has occurred in the compiler (1.7.0_21). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AbstractMethodError
....

I could not reproduce that one with four more attempts, so I do hope that that was a one time glitch.

But it is strange that on my machine:
javac -version

produces:
javac 1.7.0_40

and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?

Regards,
Paul Elschot


P.S.
java -version

produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)



On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China
Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Shai Erera
In reply to this post by Paul Elschot-2
I'm not sure but maybe it is related to the fact you run it from lucene/core. Since on LUCENE-5215 (rev 1527154) I created a new Lucene46Codec, and moved Lucene45 stuff under test-framework, as well as changed Lucene45Codec.fieldInfosFormat to not be final, perhaps you need to run 'ant clean' from the root to make sure all changes are compiled accordingly?

Out of curiosity, did you 'svn up' from root, or perhaps from lucene/core by accident?

Shai


On Sun, Sep 29, 2013 at 4:54 PM, Paul Elschot <[hidden email]> wrote:
Hi Han,

I just reproduced it three times on my working copy in the directory trunk/lucene/core
with ant clean in the command sequence:

svn update -r {20130926}
ant clean
ant compile-test                     # build successful

svn update -r 1527154
ant clean
ant compile-test                     # build failed


In my working copy  svn status currently produces this:

M       src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M       src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M       src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M       src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java

and I don't expect these have an influence.



To be complete, on revision 1526316 (of the 26th) I also got this output (slightly edited) once:

compile-core:
    [mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
    [javac] Compiling 672 source files to ... lucene/trunk/lucene/build/core/classes/java
    [javac] An exception has occurred in the compiler (1.7.0_21). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AbstractMethodError
....

I could not reproduce that one with four more attempts, so I do hope that that was a one time glitch.

But it is strange that on my machine:
javac -version

produces:
javac 1.7.0_40

and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?

Regards,
Paul Elschot


P.S.
java -version

produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)


On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China


Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec

Han Jiang
Shai, I think we should change TestRulSetupAndRestoreClassEnv, I'll upload a patch for this.


On Sun, Sep 29, 2013 at 10:18 PM, Shai Erera <[hidden email]> wrote:
I'm not sure but maybe it is related to the fact you run it from lucene/core. Since on LUCENE-5215 (rev 1527154) I created a new Lucene46Codec, and moved Lucene45 stuff under test-framework, as well as changed Lucene45Codec.fieldInfosFormat to not be final, perhaps you need to run 'ant clean' from the root to make sure all changes are compiled accordingly?

Out of curiosity, did you 'svn up' from root, or perhaps from lucene/core by accident?

Shai


On Sun, Sep 29, 2013 at 4:54 PM, Paul Elschot <[hidden email]> wrote:
Hi Han,

I just reproduced it three times on my working copy in the directory trunk/lucene/core
with ant clean in the command sequence:

svn update -r {20130926}
ant clean
ant compile-test                     # build successful

svn update -r 1527154
ant clean
ant compile-test                     # build failed


In my working copy  svn status currently produces this:

M       src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M       src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M       src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M       src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java

and I don't expect these have an influence.



To be complete, on revision 1526316 (of the 26th) I also got this output (slightly edited) once:

compile-core:
    [mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
    [javac] Compiling 672 source files to ... lucene/trunk/lucene/build/core/classes/java
    [javac] An exception has occurred in the compiler (1.7.0_21). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AbstractMethodError
....

I could not reproduce that one with four more attempts, so I do hope that that was a one time glitch.

But it is strange that on my machine:
javac -version

produces:
javac 1.7.0_40

and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?

Regards,
Paul Elschot


P.S.
java -version

produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)


On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China





--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China
Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec; svn update should be done high enough

Paul Elschot-2
Gentlemen,

When doing svn up in the trunk/lucene directory every build succeeds now.
I used this command sequence in the  trunk/lucene/core directory:

(cd ..; svn update -r 1526316)     # brackets for subshell, one directory up
ant clean
ant compile-test                            # succeeds

(cd ..; svn update -r 1527154)
ant clean
ant compile-test                            # succeeds

I did not expect lucene/core to depend on anything else, but it apparently depends on lucene/codecs.

Thanks, regards,
Paul Elschot


On 29-09-13 16:20, Han Jiang wrote:
Shai, I think we should change TestRulSetupAndRestoreClassEnv, I'll upload a patch for this.


On Sun, Sep 29, 2013 at 10:18 PM, Shai Erera <[hidden email]> wrote:
I'm not sure but maybe it is related to the fact you run it from lucene/core. Since on LUCENE-5215 (rev 1527154) I created a new Lucene46Codec, and moved Lucene45 stuff under test-framework, as well as changed Lucene45Codec.fieldInfosFormat to not be final, perhaps you need to run 'ant clean' from the root to make sure all changes are compiled accordingly?

Out of curiosity, did you 'svn up' from root, or perhaps from lucene/core by accident?

Shai


On Sun, Sep 29, 2013 at 4:54 PM, Paul Elschot <[hidden email]> wrote:
Hi Han,

I just reproduced it three times on my working copy in the directory trunk/lucene/core
with ant clean in the command sequence:

svn update -r {20130926}
ant clean
ant compile-test                     # build successful

svn update -r 1527154
ant clean
ant compile-test                     # build failed


In my working copy  svn status currently produces this:

M       src/java/org/apache/lucene/util/packed/EliasFanoDecoder.java
M       src/java/org/apache/lucene/util/packed/EliasFanoDocIdSet.java
M       src/java/org/apache/lucene/util/packed/EliasFanoEncoder.java
M       src/test/org/apache/lucene/util/packed/TestEliasFanoSequence.java

and I don't expect these have an influence.



To be complete, on revision 1526316 (of the 26th) I also got this output (slightly edited) once:

compile-core:
    [mkdir] Created dir: .... lucene/trunk/lucene/build/core/classes/java
    [javac] Compiling 672 source files to ... lucene/trunk/lucene/build/core/classes/java
    [javac] An exception has occurred in the compiler (1.7.0_21). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AbstractMethodError
....

I could not reproduce that one with four more attempts, so I do hope that that was a one time glitch.

But it is strange that on my machine:
javac -version

produces:
javac 1.7.0_40

and the compiler exception message above reports 1.7.0_21.
Perhaps there is something wrong with my java/javac setup, any advice there?

Regards,
Paul Elschot


P.S.
java -version

produces:
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Server VM (build 24.0-b56, mixed mode)


On 29-09-13 15:11, Han Jiang wrote:
Hi Paul,

Just an FYI, it cannot reproduce on my machine. Maybe... you need 'ant clean' ?


On Sun, Sep 29, 2013 at 9:02 PM, Paul Elschot <[hidden email]> wrote:
Dear readers,

When I update my working copy of lucene core trunk to current latest rev 1527154, ant compile-test fails with this message:

... lucene/trunk/lucene/core/src/test/org/apache/lucene/index/TestNumericDocValuesUpdates.java:17: error: cannot find symbol
    [javac] import org.apache.lucene.codecs.lucene45.Lucene45RWCodec;

After updating (backdating) to the 26th: svn update -r {20130926}
ant compile-test works normally.

I couldn't decide on which issue to post this, so here it is.

Regards,
Paul Elschot




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]




--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China





--
Han Jiang

Team of Search Engine and Web Mining,
School of Electronic Engineering and Computer Science
,
Peking University, China

Reply | Threaded
Open this post in threaded view
|

Re: Core trunk compile-test fails on rev 1527154, TestNumericDocValuesUpdates, Lucene45RWCodec; svn update should be done high enough

Robert Muir
On Sun, Sep 29, 2013 at 10:55 AM, Paul Elschot <[hidden email]> wrote:
> ant compile-test                            # succeeds
>
> I did not expect lucene/core to depend on anything else, but it apparently
> depends on lucene/codecs.
>

It does not: but you ran 'compile-test'... its tests depend on a few
other things:

lucene/test-framework
lucene/codecs
junit
etc

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]