bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: Cannot compile 4.3.2 tag
Date Thu, 19 Nov 2015 14:42:45 GMT
I got a fresh cloned copy from git.apache.org <http://git.apache.org/> and checkout the
release 4.3.2 tag as your original description suggests and with 'git log' I see that this
commit is missing:

commit 86538192a08b8629e9c1487dcc9afae95a51705f
Author: Matteo Merli <mmerli@apache.org>
Date:   Tue Nov 17 11:30:45 2015 -0800

    BOOKKEEPER-438: Move ledger id generation out of LedgerManager (Sijie via mmerli) [missing
files]

so apparently the changes haven't propagated to that mirror yet. The repository name I actually
use is:

https://git-wip-us.apache.org/repos/asf/bookkeeper.git <https://git-wip-us.apache.org/repos/asf/bookkeeper.git>

which is the one you find in our documentation:

http://bookkeeper.apache.org/svn.html <http://bookkeeper.apache.org/svn.html>

Ironically the html file is called svn. :-)

-Flavio

> On 19 Nov 2015, at 11:34, Enrico Olivelli - Diennea <enrico.olivelli@diennea.com>
wrote:
> 
> I trying from PCs of two of my colleagues  and they got the same problem on tag
>  
> If I checkout the 4.3 branch it seems all OK
>  
> git checkout branch-4.3
>  
>  
>  
>  
> Da: Flavio Junqueira [mailto:fpj@apache.org] 
> Inviato: giovedì 19 novembre 2015 11:20
> A: user@bookkeeper.apache.org
> Cc: Matteo Merli <mmerli@yahoo-inc.com>; dev@bookkeeper.apache.org
> Oggetto: Re: Cannot compile 4.3.2 tag
>  
> That's odd, it works for me, check my output:
>  
>  
> $ git checkout tags/release-4.3.2
> Note: checking out 'tags/release-4.3.2'.
>  
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>  
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>  
>   git checkout -b <new-branch-name>
>  
> HEAD is now at 8653819... BOOKKEEPER-438: Move ledger id generation out of LedgerManager
(Sijie via mmerli) [missing files]
> $ mvn clean install -DskipTests=true
> .
> .
> .
> .
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] bookkeeper ........................................ SUCCESS [1.769s]
> [INFO] compability dependencies .......................... SUCCESS [0.054s]
> [INFO] bookkeeper-server-compat400 ....................... SUCCESS [6.009s]
> [INFO] bookkeeper-server-compat410 ....................... SUCCESS [3.507s]
> [INFO] bookkeeper-server-compat420 ....................... SUCCESS [3.291s]
> [INFO] hedwig-server-compat400 ........................... SUCCESS [4.210s]
> [INFO] hedwig-server-compat410 ........................... SUCCESS [4.697s]
> [INFO] hedwig-server-compat420 ........................... SUCCESS [3.922s]
> [INFO] hedwig-protocol ................................... SUCCESS [5.817s]
> [INFO] Stats API for bookkeeper .......................... SUCCESS [0.505s]
> [INFO] bookkeeper-server ................................. SUCCESS [19.443s]
> [INFO] hedwig-client ..................................... SUCCESS [1.566s]
> [INFO] hedwig-server ..................................... SUCCESS [6.823s]
> [INFO] hedwig-client-jms ................................. SUCCESS [5.656s]
> [INFO] bookkeeper-benchmark .............................. SUCCESS [1.574s]
> [INFO] Stats provider for twitter-stats package .......... SUCCESS [0.940s]
> [INFO] Stats provider for twitter-ostrich package ........ SUCCESS [0.465s]
> [INFO] Stats provider for codahale metrics ............... SUCCESS [0.423s]
> [INFO] bookkeeper-stats-providers ........................ SUCCESS [0.029s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:11.239s
> [INFO] Finished at: Thu Nov 19 10:16:26 GMT 2015
> [INFO] Final Memory: 67M/758M
> [INFO] ------------------------------------------------------------------------
>  
>  
> On 19 Nov 2015, at 09:29, Enrico Olivelli - Diennea <enrico.olivelli@diennea.com <mailto:enrico.olivelli@diennea.com>>
wrote:
>  
> I’m really sorry, but it does not work even from git.apache.org <http://git.apache.org/>
>  
> git clone git://git.apache.org/bookkeeper.git <git://git.apache.org/bookkeeper.git>
> cd bookkeeper
> git checkout tags/release-4.3.2
> mvn clean install -DskipTests=true
>  
> and then the usual error about missing LedgerIdGenerator and ZkLedgerIdGenerator:
>  
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project bookkeeper-server: Compilation failure: Compilation failure:
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[36,34]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: package org.apache.bookkeeper.meta
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[102,11]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.BookKeeper
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[342,5]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.BookKeeper
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManagerFactory.java:[76,21]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.LedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/HierarchicalLedgerManagerFactory.java:[67,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/FlatLedgerManagerFactory.java:[67,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.FlatLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerCreateOp.java:[30,34]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: package org.apache.bookkeeper.meta
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/MSLedgerManagerFactory.java:[180,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.MSLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/HierarchicalLedgerManagerFactory.java:[68,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/FlatLedgerManagerFactory.java:[68,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.FlatLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerCreateOp.java:[122,15]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.LedgerCreateOp
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/MSLedgerManagerFactory.java:[181,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.MSLedgerManagerFactory
> [ERROR] -> [Help 1]
>  
>  
> Da: Sijie Guo [mailto:sijie@apache.org <mailto:sijie@apache.org>] 
> Inviato: mercoledì 18 novembre 2015 22:49
> A: user@bookkeeper.apache.org <mailto:user@bookkeeper.apache.org>; Matteo Merli
<mmerli@yahoo-inc.com <mailto:mmerli@yahoo-inc.com>>
> Cc: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com <mailto:enrico.olivelli@diennea.com>>
> Oggetto: Re: R: Cannot compile 4.3.2 tag
>  
> Matteo,
> 
> I am not sure. We need to talk to Apache Infra to ask them for help. Do you mind create
a JIRA to INFRA to ask them address that?
> 
> - Sijie
>  
> On Wed, Nov 18, 2015 at 9:20 AM, Matteo Merli <mmerli@yahoo-inc.com <mailto:mmerli@yahoo-inc.com>>
wrote:
> It looks like a sync issue here. The tag is correct on git://git.apache.org/bookkeeper.git
<http://git.apache.org/bookkeeper.git> . 
>  
> I had to remove/replace the tag for the missing commit.
>  
> Sijie, do you know if it's possible to correct the tag on github repo?
>  
> Matteo
>  
>  
> 
> On Tuesday, November 17, 2015 11:59 PM, Enrico Olivelli - Diennea <enrico.olivelli@diennea.com
<mailto:enrico.olivelli@diennea.com>> wrote:
>  
> 
> I’m sorry,
> I cannot find LedgerIdGenerator on GitHub
> see
> https://github.com/apache/bookkeeper/tree/release-4.3.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta
<https://github.com/apache/bookkeeper/tree/release-4.3.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta>
>  
> maybe github mirror is not in synch ?
> -- Enrico
>  
>  
> Da: Matteo Merli [mailto:mmerli@yahoo-inc.com <mailto:mmerli@yahoo-inc.com>] 
> Inviato: martedì 17 novembre 2015 23:41
> A: user@bookkeeper.apache.org <mailto:user@bookkeeper.apache.org>; Sijie Guo <sijie@apache.org
<mailto:sijie@apache.org>>
> Cc: Enrico Olivelli - Diennea <enrico.olivelli@diennea.com <mailto:enrico.olivelli@diennea.com>>
> Oggetto: Re: Cannot compile 4.3.2 tag
>  
> Sijie / Enrico, 
>  
> I've updated the tag and the release candidate artifacts.
>  
> Matteo
>  
>  
> On Tuesday, November 17, 2015 12:04 PM, Sijie Guo <sijie@apache.org <mailto:sijie@apache.org>>
wrote:
>  
> Thank you, Matteo!
> - Sijie
>  
> On Tue, Nov 17, 2015 at 11:29 AM, Matteo Merli <mmerli@yahoo-inc.com <mailto:mmerli@yahoo-inc.com>>
wrote:
> Hum, I just saw I missed to add the LedgerIdGenerator file. I didn't get the errors because
the file was there on local copy and also got included in the RC tar.gz where I was testing.
>  
> Sorry about that, fixing and releasing rc1
>  
> Matteo
> 
> 
> Sent from Yahoo Mail for iPhone <https://yho.com/footer0>
>  
>  
> On Tuesday, November 17, 2015, 11:04 AM, Sijie Guo <sijie@apache.org <mailto:sijie@apache.org>>
wrote:
> Try run :
> I think Matteo missed one file on committing BOOKKEEPER-438 :(
> Matteo, could you add the missing file?
>  
> - Sijie
>  
> On Tue, Nov 17, 2015 at 1:32 AM, Enrico Olivelli - Diennea <enrico.olivelli@diennea.com
<mailto:enrico.olivelli@diennea.com>> wrote:
> Hi,
> I’m trying to compile at 4.3.2 tag fromhttps://github.com/apache/bookkeeper/tree/release-4.3.2
<https://github.com/apache/bookkeeper/tree/release-4.3.2> and I get some error (maybe
some commit is missing from BOOKKEEPER-438 ?)
>  
> This is my command line:
> git clone https://github.com/apache/bookkeeper.git <https://github.com/apache/bookkeeper.git>
> cd bookkeeper
>  
> git checkout tags/release-4.3.2
> mvn clean install
> è Compile 4.3.2….ERROR ! (see below)
>  
> git checkout master
> mvn clean install
> è Compile 4.4.0, OK
>  
> git checkout ebbb68c
> mvn clean install
> è Compile 4.3.2….ERROR ! (see below)
>  
>  
> Details:
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13.943 s
> [INFO] Finished at: 2015-11-17T10:27:18+01:00
> [INFO] Final Memory: 50M/1483M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project bookkeeper-server: Compilation failure: Compilation failure:
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[36,34]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: package org.apache.bookkeeper.meta
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[102,11]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.BookKeeper
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java:[342,5]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.BookKeeper
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManagerFactory.java:[76,21]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.LedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/HierarchicalLedgerManagerFactory.java:[67,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/FlatLedgerManagerFactory.java:[67,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.FlatLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerCreateOp.java:[30,34]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: package org.apache.bookkeeper.meta
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/MSLedgerManagerFactory.java:[180,12]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.MSLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/HierarchicalLedgerManagerFactory.java:[68,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/FlatLedgerManagerFactory.java:[68,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.FlatLedgerManagerFactory
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerCreateOp.java:[122,15]
cannot find symbol
> [ERROR] symbol:   class LedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.client.LedgerCreateOp
> [ERROR] /home/DIENNEA/enrico.olivelli/dev/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/MSLedgerManagerFactory.java:[181,20]
cannot find symbol
> [ERROR] symbol:   class ZkLedgerIdGenerator
> [ERROR] location: class org.apache.bookkeeper.meta.MSLedgerManagerFactory
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
<http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException>
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
>  
>  
>  
> -- Enrico
>  
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing!http://www.magnews.it/newsletter/
<http://www.magnews.it/newsletter/>
> 
> The information in this email is confidential and may be legally privileged. If you are
not the intended recipient please notify the sender immediately and destroy this email. Any
unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use
is strictly forbidden.
>  
>  
>  
>  
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing!
http://www.magnews.it/newsletter/ <http://www.magnews.it/newsletter/>
> 
> The information in this email is confidential and may be legally privileged. If you are
not the intended recipient please notify the sender immediately and destroy this email. Any
unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use
is strictly forbidden.
>  
> 
>  
>  
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing!
http://www.magnews.it/newsletter/ <http://www.magnews.it/newsletter/>
> 
> The information in this email is confidential and may be legally privileged. If you are
not the intended recipient please notify the sender immediately and destroy this email. Any
unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use
is strictly forbidden.
>  
> 
> Iscriviti alla nostra newsletter per rimanere aggiornato su digital ed email marketing!
http://www.magnews.it/newsletter/ <http://www.magnews.it/newsletter/>
> 
> The information in this email is confidential and may be legally privileged. If you are
not the intended recipient please notify the sender immediately and destroy this email. Any
unauthorized, direct or indirect, disclosure, copying, storage, distribution or other use
is strictly forbidden.


Mime
View raw message