Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-225

Create Hudi Timeline Server Fat Jar

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      We need to add maven module under packaging named hudi-timeline-server-bundle to bundle timeline service 

       In the pom, add the following shading configurations

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-shade-plugin</artifactId>
      <version>2.4</version>
      <configuration>
      <createDependencyReducedPom>true</createDependencyReducedPom>
      <filters>
      <filter>
      <artifact>:</artifact>
      <excludes>
      <exclude>META-INF/*.SF</exclude>
      <exclude>META-INF/*.DSA</exclude>
      <exclude>META-INF/*.RSA</exclude>
      </excludes>
      </filter>
      </filters>
      </configuration>
      <executions>
      <execution>
      <phase>package</phase>
      <goals>
      <goal>shade</goal>
      </goals>
      <configuration>
      <transformers>
      <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
      <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
      <mainClass>org.apache.hudi.timeline.service.TimelineService</mainClass>
      </transformer>
      </transformers>
      </configuration>
      </execution>
      </executions>
      </plugin>
      </plugins>

      Attachments

        Issue Links

          Activity

            People

              xleesf leesf
              vbalaji Balaji Varadarajan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m