Hive no longer uses svn. The official code is now in git. So the below should be:

git clone https://git-wip-us.apache.org/repos/asf/hive.git
cd hive
mvn clean install -Phadoop-2 # you don't need dist unless your building the package

Alan.
baishaoqi <mailto:baisha...@kuaidigroup.com>
July 2, 2015 at 2:56
Dear developers:
I am new to hive, I have a work which have to compile hive and make some modifications for my use(very few)。
but when I type the following command:

$ svn co http://svn.apache.org/repos/asf/hive/trunk hive
$ cd hive
$ mvn clean install -Phadoop-2,dist

but couldn't success
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26:58 min
[INFO] Finished at: 2015-07-02T16:21:52+08:00
[INFO] Final Memory: 203M/3304M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project hive-hcatalog-pig-adapter: Could not resolve dependencies for project org.apache.hive.hcatalog:hive-hcatalog-pig-adapter:jar:1.2.0-SNAPSHOT: Could not transfer artifact joda-time:joda-time:jar:2.2 from/to central (https://repo.maven.apache.org/maven2): GET request of: joda-time/joda-time/2.2/joda-time-2.2.jar from central failed: SSL peer shut down incorrectly -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hive-hcatalog-pig-adapter



2015-07-02


baishaoqi

Reply via email to