incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Dai <da...@hortonworks.com>
Subject Re: [VOTE] Release HCatalog 0.5.0-incubating (candidate 0)
Date Thu, 24 Jan 2013 01:14:27 GMT
Interesting I can get it work after HCATALOG-601 and my patch (I am on
Mac). Did you do "ant clean" before your run?

Thanks,
Daniel

On Wed, Jan 23, 2013 at 11:33 AM, Travis Crawford
<traviscrawford@gmail.com> wrote:
> With an empty local maven cache, I tried updating the glassfish-repository
> URL but get the following error. It appears the URL listed in our pom file
> is used, up to the point when jersey-project-1.9.1.pom is downloaded.
>
> Daniel, how did you get this to work? Its an awesome idea if we can work out
> the kinks.
>
>
> [artifact:dependencies] Downloading:
> com/sun/jersey/jersey-project/1.9.1/jersey-project-1.9.1.pom from repository
> glassfish-repository at http://repo1.maven.org/maven2
> [artifact:dependencies] Transferring 17K from glassfish-repository
> [artifact:dependencies] Downloading:
> net/java/jvnet-parent/1/jvnet-parent-1.pom from repository m2.java.net at
> http://download.java.net/maven/2
> [artifact:dependencies] Unable to locate resource in repository
> [artifact:dependencies] [INFO] Unable to find resource
> 'net.java:jvnet-parent:pom:1' in repository m2.java.net
> (http://download.java.net/maven/2)
> [artifact:dependencies] Downloading:
> net/java/jvnet-parent/1/jvnet-parent-1.pom from repository
> repository.jboss.org at
> http://repository.jboss.org/nexus/content/groups/public/
> [artifact:dependencies] Unable to locate resource in repository
> [artifact:dependencies] [INFO] Unable to find resource
> 'net.java:jvnet-parent:pom:1' in repository repository.jboss.org
> (http://repository.jboss.org/nexus/content/groups/public/)
> [artifact:dependencies] Downloading:
> net/java/jvnet-parent/1/jvnet-parent-1.pom from repository
> glassfish-repository at http://maven.glassfish.org/content/groups/glassfish
> [artifact:dependencies] Transferring 0K from glassfish-repository
> [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on
> download: local = '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote =
> '<html>
> [artifact:dependencies] <head><title>301' - RETRYING
> [artifact:dependencies] Downloading:
> net/java/jvnet-parent/1/jvnet-parent-1.pom from repository
> glassfish-repository at http://maven.glassfish.org/content/groups/glassfish
> [artifact:dependencies] Transferring 0K from glassfish-repository
> [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on
> download: local = '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote =
> '<html>
> [artifact:dependencies] <head><title>301' - IGNORING
> [artifact:dependencies] An error has occurred while processing the Maven
> artifact tasks.
> [artifact:dependencies]  Diagnosis:
> [artifact:dependencies]
> [artifact:dependencies] Unable to resolve artifact: Unable to get dependency
> information: Unable to read the metadata file for artifact
> 'com.sun.jersey:jersey-core:jar': Cannot find parent: net.java:jvnet-parent
> for project: com.sun.jersey:jersey-project:pom:1.9.1 for project
> com.sun.jersey:jersey-project:pom:1.9.1
> [artifact:dependencies]   com.sun.jersey:jersey-core:jar:1.9.1
> [artifact:dependencies]
> [artifact:dependencies] from the specified remote repositories:
> [artifact:dependencies]   apache.snapshots
> (http://repository.apache.org/snapshots),
> [artifact:dependencies]   central (http://repo1.maven.org/maven2),
> [artifact:dependencies]   glassfish-repository
> (http://repo1.maven.org/maven2),
> [artifact:dependencies]   datanucleus
> (http://www.datanucleus.org/downloads/maven2)
> [artifact:dependencies]
> [artifact:dependencies] Path to dependency:
> [artifact:dependencies] 1) org.apache.hcatalog:webhcat:jar:0.6.0-SNAPSHOT
> [artifact:dependencies]
> [artifact:dependencies]
> [artifact:dependencies] Not a v4.0.0 POM. for project net.java:jvnet-parent
> at /Users/travis/.m2/repository/net/java/jvnet-parent/1/jvnet-parent-1.pom
>
> --travis
>
>
>
>
>
> On Wed, Jan 23, 2013 at 10:52 AM, Travis Crawford <traviscrawford@gmail.com>
> wrote:
>>
>> Interesting approach - I wasn't aware you could override the URL for a
>> given repo ID. That looks like a great solution if Maven plays along.
>> Instead of download.java.net should we use the central repo?
>>
>> --travis
>>
>> On Wed, Jan 23, 2013 at 10:35 AM, Daniel Dai <daijy@hortonworks.com>
>> wrote:
>> > HCATALOG-601 does not seems fix the build issue for me. Still get
>> > corrupted glassfish jars with empty maven cache. However, I can build
>> > with additional change:
>> >
>> > Index: pom.xml
>> > @@ -143,12 +143,12 @@
>> >         disable the repo as we prefer to use central anyway. -->
>> >      <repository>
>> >        <id>glassfish-repository</id>
>> > -      <url>http://maven.glassfish.org/content/groups/glassfish</url>
>> > +      <url>http://download.java.net/maven/2/</url>
>> >        <releases>
>> > -        <enabled>false</enabled>
>> > +        <enabled>true</enabled>
>> >        </releases>
>> >        <snapshots>
>> > -        <enabled>false</enabled>
>> > +        <enabled>true</enabled>
>> >        </snapshots>
>> >      </repository>
>> >
>> > Daniel
>> >
>> > On Tue, Jan 22, 2013 at 5:19 PM, Travis Crawford
>> > <traviscrawford@gmail.com> wrote:
>> >> Hey Alan -
>> >>
>> >> Thanks for the bug report.
>> >>
>> >> This release candiate has the following error in build.properties:
>> >> -_vtype=-SNAPSHOT
>> >> +_vtype=-incubating
>> >> hcatalog.version=${_version}${_vtype}
>> >>
>> >> Tests pass before posting the release candidate because we pass in
>> >> hcatalog.version when building, instead of updating build.properties
>> >> directly. This is an error and I'll fix momentarily.
>> >>
>> >> The other people may experience when building with an empty local
>> >> maven cache is https://issues.apache.org/jira/browse/HCATALOG-601. The
>> >> proposed fix is in the jira, but its not clear if we want to change
>> >> that dependency so late in the game.
>> >>
>> >> --travis
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Tue, Jan 22, 2013 at 4:48 PM, Alan Gates <gates@hortonworks.com>
>> >> wrote:
>> >>> When I remove my maven cache and then do "ant jar" on this src bundle
>> >>> I get:
>> >>>
>> >>> compile:
>> >>>      [echo] hcatalog-pig-adapter
>> >>>     [mkdir] Created dir:
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/build/classes
>> >>>     [javac] Compiling 5 source files to
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/build/classes
>> >>>     [javac]
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatBaseStorer.java:30:
>> >>> package com.google.common.collect does not exist
>> >>>     [javac] import com.google.common.collect.Lists;
>> >>>     [javac]                                 ^
>> >>>     [javac]
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatBaseStorer.java:65:
>> >>> cannot find symbol
>> >>>     [javac] symbol  : variable Lists
>> >>>     [javac] location: class org.apache.hcatalog.pig.HCatBaseStorer
>> >>>     [javac]         Lists.newArrayList(Type.TINYINT, Type.SMALLINT,
>> >>> Type.INT);
>> >>>     [javac]         ^
>> >>>     [javac]
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatLoader.java:86:
>> >>> cannot access com.google.common.base.Optional
>> >>>     [javac] class file for com.google.common.base.Optional not found
>> >>>     [javac]
>> >>> HCatContext.INSTANCE.setConf(job.getConfiguration()).getConf().get()
>> >>>     [javac]
>> >>> ^
>> >>>     [javac] Note:
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatStorer.java
>> >>> uses or overrides a deprecated API.
>> >>>     [javac] Note: Recompile with -Xlint:deprecation for details.
>> >>>     [javac] Note:
>> >>> /Users/gates/tmp/hcat-050-release/hcatalog-src-0.5.0-incubating/hcatalog-pig-adapter/src/main/java/org/apache/hcatalog/pig/HCatBaseStorer.java
>> >>> uses unchecked or unsafe operations.
>> >>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>> >>>     [javac] 3 errors
>> >>>
>> >>> Looks like we're missing a maven dependency somewhere.
>> >>>
>> >>> Alan.
>> >>>
>> >>> On Jan 22, 2013, at 4:18 PM, Travis Crawford wrote:
>> >>>
>> >>>> Hey hcatalog gurus -
>> >>>>
>> >>>> The source release candidate has been posted to:
>> >>>>
>> >>>>
>> >>>> http://people.apache.org/~travis/hcatalog-0.5.0-incubating-candidate-0/
>> >>>>
>> >>>> Thanks!
>> >>>> Travis
>> >>>>
>> >>>>
>> >>>> On Tue, Jan 22, 2013 at 3:20 PM, Travis Crawford
>> >>>> <traviscrawford@gmail.com> wrote:
>> >>>>> That's what I thought - will update the docs about publishing
src
>> >>>>> artifacts & post source release.
>> >>>>>
>> >>>>> --travis
>> >>>>>
>> >>>>> On Mon, Jan 21, 2013 at 11:11 AM, Alan Gates <gates@hortonworks.com>
>> >>>>> wrote:
>> >>>>>> Travis,
>> >>>>>>
>> >>>>>> We need to vote on the source release (the result of ant
>> >>>>>> src-release) not the convenience artifact with the jars
in it.  Could you
>> >>>>>> run ant src-release and post the resulting tarball, along
with a signature
>> >>>>>> and md5sum?  Thanks.
>> >>>>>>
>> >>>>>> Alan.
>> >>>>>>
>> >>>>>> On Jan 18, 2013, at 2:48 PM, Travis Crawford wrote:
>> >>>>>>
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> I have created a candidate build for HCatalog 0.5.0-incubating.
>> >>>>>>>
>> >>>>>>> Keys used to sign the release are available at
>> >>>>>>>
>> >>>>>>> http://svn.apache.org/viewvc/incubator/hcatalog/trunk/KEYS?view=markup
>> >>>>>>>
>> >>>>>>> Please download, test, and try it out:
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> http://people.apache.org/~travis/hcatalog-0.5.0-incubating-candidate-0/
>> >>>>>>>
>> >>>>>>> The release, md5 signature, gpg signature, and rat report
can all
>> >>>>>>> be
>> >>>>>>> found at the above address.
>> >>>>>>>
>> >>>>>>> Should we release this? Vote closes on Wednesday, January
23
>> >>>>>>> (roughly
>> >>>>>>> 72h of weekdays as its almost the weekend).
>> >>>>>>>
>> >>>>>>> --travis
>> >>>>>>
>> >>>
>
>

Mime
View raw message