Projects
Eulaceura:Mainline
pig
_service:obs_scm:fix-pig-arm64-build.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:fix-pig-arm64-build.patch of Package pig
diff -uprN pig-0.17.0-src/build.xml pig-0.17.0-src-done/build.xml --- pig-0.17.0-src/build.xml 2017-06-02 11:37:39.000000000 +0000 +++ pig-0.17.0-src-done/build.xml 2021-12-06 08:12:29.138987926 +0000 @@ -247,7 +247,7 @@ <property name="asfrepo" value="https://repository.apache.org"/> <property name="asfsnapshotrepo" value="${asfrepo}/content/repositories/snapshots"/> - <property name="mvnrepo" value="http://repo2.maven.org/maven2"/> + <property name="mvnrepo" value="https://mirrors.huaweicloud.com/repository/maven"/> <property name="asfstagingrepo" value="${asfrepo}/service/local/staging/deploy/maven2"/> <property name="staging_repo_id" value="apache.staging.https"/> <property name="snapshots_repo_id" value="apache.snapshots.https"/> @@ -646,7 +646,7 @@ <!-- ================================================================== --> <!-- @deprecated, Documentation --> <!-- ================================================================== --> - <target name="docs" depends="forrest.check, javadoc-all" description="Generate forrest-based documentation. + <target name="docs" depends="javadoc-all" description="Generate forrest-based documentation. To use, specify -Dforrest.home=<base of Apache Forrest installation> on the command line." if="forrest.home"> <exec dir="${docs.dir}" executable="${forrest.home}/bin/forrest" failonerror="true"> </exec> diff -uprN pig-0.17.0-src/ivy/ivysettings.xml pig-0.17.0-src-done/ivy/ivysettings.xml --- pig-0.17.0-src/ivy/ivysettings.xml 2017-06-01 12:13:13.000000000 +0000 +++ pig-0.17.0-src-done/ivy/ivysettings.xml 2021-12-08 03:12:45.114103234 +0000 @@ -30,8 +30,8 @@ http://www.ibiblio.net/pub/packages/maven2 --> <property name="repo.maven.org" value="${mvnrepo}" override="true"/> - <property name="repo.jboss.org" value="http://repository.jboss.com/nexus/content/groups/public/" override="false"/> - <property name="repo.apache.snapshots" value="http://repository.apache.org/content/groups/snapshots-group/" override="false"/> + <property name="repo.jboss.org" value="${mvnrepo}" override="false"/> + <property name="repo.apache.snapshots" value="${mvnrepo}" override="false"/> <property name="repo.dir" value="${user.home}/.m2/repository" override="false"/> <property name="maven2.pattern" value="[organisation]/[module]/[revision]/[module]-[revision](-[classifier])"/> <property name="maven2.pattern.ext" value="${maven2.pattern}.[ext]"/> diff -uprN pig-0.17.0-src/ivy/libraries.properties pig-0.17.0-src-done/ivy/libraries.properties --- pig-0.17.0-src/ivy/libraries.properties 2017-06-01 12:13:13.000000000 +0000 +++ pig-0.17.0-src-done/ivy/libraries.properties 2021-12-06 08:02:44.562265379 +0000 @@ -18,7 +18,7 @@ accumulo15.version=1.5.0 apacheant.version=1.7.1 apacherat.version=0.8 automaton.version=1.11-8 -avro.version=1.7.5 +avro.version=1.8.2 basjes-httpdlog-pigloader.version=2.4 commons-beanutils.version=1.7.0 commons-cli.version=1.2 @@ -89,10 +89,10 @@ jsr311-api.version=1.1.1 mockito.version=1.8.4 jansi.version=1.9 asm.version=3.3.1 -snappy-java.version=1.1.1.3 +snappy-java.version=1.1.8.4 tez.version=0.7.0 parquet-pig-bundle.version=1.2.3 -snappy.version=0.2 +snappy.version=0.4 leveldbjni.version=1.8 curator.version=2.6.0 htrace.version=3.1.0-incubating diff -uprN pig-0.17.0-src/ivy.xml pig-0.17.0-src-done/ivy.xml --- pig-0.17.0-src/ivy.xml 2017-06-01 12:13:13.000000000 +0000 +++ pig-0.17.0-src-done/ivy.xml 2021-12-06 08:01:57.205558761 +0000 @@ -194,12 +194,10 @@ <dependency org="org.apache.avro" name="trevni-core" rev="${avro.version}" conf="compile->default;checkstyle->master"> <artifact name="trevni-core" ext="jar" /> - <artifact name="trevni-core" type="test-jar" ext="jar" m:classifier="tests"/> </dependency> <dependency org="org.apache.avro" name="trevni-avro" rev="${avro.version}" conf="compile->default;checkstyle->master"> <artifact name="trevni-avro" ext="jar" /> - <artifact name="trevni-avro" type="test-jar" ext="jar" m:classifier="tests"/> <exclude org="org.apache.hadoop" module="hadoop-core"/> </dependency> <dependency org="org.apache.avro" name="avro-tools" rev="${avro.version}" diff -uprN pig-0.17.0-src/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java pig-0.17.0-src-done/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java --- pig-0.17.0-src/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java 2017-06-01 12:12:54.000000000 +0000 +++ pig-0.17.0-src-done/src/org/apache/pig/impl/util/avro/AvroRecordWriter.java 2021-12-06 08:03:19.238782794 +0000 @@ -20,7 +20,6 @@ package org.apache.pig.impl.util.avro; import static org.apache.avro.file.DataFileConstants.DEFAULT_SYNC_INTERVAL; import static org.apache.avro.file.DataFileConstants.DEFLATE_CODEC; -import static org.apache.avro.mapred.AvroOutputFormat.DEFAULT_DEFLATE_LEVEL; import static org.apache.avro.mapred.AvroOutputFormat.DEFLATE_LEVEL_KEY; import static org.apache.avro.mapred.AvroOutputFormat.SYNC_INTERVAL_KEY; @@ -73,7 +72,7 @@ public class AvroRecordWriter extends Re JobConf job) throws UnsupportedEncodingException { if (FileOutputFormat.getCompressOutput(job)) { int level = job.getInt(DEFLATE_LEVEL_KEY, - DEFAULT_DEFLATE_LEVEL); + CodecFactory.DEFAULT_DEFLATE_LEVEL); String codecName = job.get(AvroJob.OUTPUT_CODEC, DEFLATE_CODEC); CodecFactory factory = codecName.equals(DEFLATE_CODEC) ? CodecFactory.deflateCodec(level)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2