Skip to content

Commit

Permalink
Update avro dependency version to 1.10.2, parquet to 1.12.0, spark to…
Browse files Browse the repository at this point in the history
… 3.2.0 RC1
  • Loading branch information
heuermh committed Aug 22, 2021
1 parent 7514a1f commit f9830cf
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 1,227 deletions.
14 changes: 0 additions & 14 deletions adam-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.bdgenomics.adam</groupId>
<artifactId>adam-shade-spark3_${scala.version.prefix}</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
Expand All @@ -58,12 +51,6 @@
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache.parquet.avro</pattern>
<shadedPattern>org.bdgenomics.adam.shaded.org.apache.parquet.avro</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
<execution>
Expand All @@ -72,7 +59,6 @@
<goal>shade</goal>
</goals>
<configuration>
<shaderHint>workaround</shaderHint>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ class PrintADAM(protected val args: PrintADAMArgs) extends BDGSparkCommand[Print
val schema = hd.getSchema
val writer = new GenericDatumWriter[Object](schema)
val encoder = EncoderFactory.get().jsonEncoder(schema, out)
val jg = new org.codehaus.jackson.JsonFactory().createJsonGenerator(out)
jg.useDefaultPrettyPrinter()
encoder.configure(jg)
it.foreach(pileup => {
writer.write(pileup, encoder)
})
Expand Down
Loading

0 comments on commit f9830cf

Please sign in to comment.